diff options
Diffstat (limited to 'sc/source/ui/dbgui/asciiopt.cxx')
-rw-r--r-- | sc/source/ui/dbgui/asciiopt.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx index fe3bfb40a098..3447b98e35c0 100644 --- a/sc/source/ui/dbgui/asciiopt.cxx +++ b/sc/source/ui/dbgui/asciiopt.cxx @@ -139,30 +139,6 @@ ScAsciiOptions& ScAsciiOptions::operator=( const ScAsciiOptions& rCpy ) return *this; } -bool ScAsciiOptions::operator==( const ScAsciiOptions& rCmp ) const -{ - if ( bFixedLen == rCmp.bFixedLen && - aFieldSeps == rCmp.aFieldSeps && - bMergeFieldSeps == rCmp.bMergeFieldSeps && - bQuotedFieldAsText == rCmp.bQuotedFieldAsText && - cTextSep == rCmp.cTextSep && - eCharSet == rCmp.eCharSet && - bCharSetSystem == rCmp.bCharSetSystem && - nStartRow == rCmp.nStartRow && - nInfoCount == rCmp.nInfoCount ) - { - OSL_ENSURE( !nInfoCount || (pColStart && pColFormat && rCmp.pColStart && rCmp.pColFormat), - "NULL pointer in ScAsciiOptions::operator==() column info" ); - for (sal_uInt16 i=0; i<nInfoCount; i++) - if ( pColStart[i] != rCmp.pColStart[i] || - pColFormat[i] != rCmp.pColFormat[i] ) - return false; - - return true; - } - return false; -} - static OUString lcl_decodeSepString( const OUString & rSepNums, bool & o_bMergeFieldSeps ) { OUString aFieldSeps; |