sw/source/core/bastyp/tabcol.cxx | 14 -------------- 1 file changed, 14 deletions(-)
New commits: commit bc756111e8562e85517a36412d0c7846af77e880 Author: Michael Stahl <mst...@redhat.com> Date: Tue Nov 11 15:34:08 2014 +0100 sw: remove silly assertion that copy constructor "succeeds" Change-Id: Ida31220457959d2ccc21ee2a723dd1ad16b2a502 diff --git a/sw/source/core/bastyp/tabcol.cxx b/sw/source/core/bastyp/tabcol.cxx index 2b2b9ea..0f5c789 100644 --- a/sw/source/core/bastyp/tabcol.cxx +++ b/sw/source/core/bastyp/tabcol.cxx @@ -39,20 +39,6 @@ SwTabCols::SwTabCols( const SwTabCols& rCpy ) : bLastRowAllowedToChange( rCpy.IsLastRowAllowedToChange() ), aData( rCpy.GetData() ) { -#if OSL_DEBUG_LEVEL > 0 - for ( size_t i = 0; i < Count(); ++i ) - { - SwTabColsEntry aEntry1 = aData[i]; - SwTabColsEntry aEntry2 = rCpy.GetData()[i]; - (void) aEntry1; - (void) aEntry2; - OSL_ENSURE( aEntry1.nPos == aEntry2.nPos && - aEntry1.nMin == aEntry2.nMin && - aEntry1.nMax == aEntry2.nMax && - aEntry1.bHidden == aEntry2.bHidden, - "CopyContructor of SwTabColsEntries did not succeed!" ); - } -#endif } SwTabCols &SwTabCols::operator=( const SwTabCols& rCpy ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits