diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/rangeutl.hxx | 7 | ||||
-rw-r--r-- | sc/source/core/tool/rangeutl.cxx | 25 |
2 files changed, 0 insertions, 32 deletions
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx index 0da652cba29a..fdde8f6517d6 100644 --- a/sc/inc/rangeutl.hxx +++ b/sc/inc/rangeutl.hxx @@ -180,13 +180,6 @@ public: sal_Int32& nOffset, sal_Unicode cSeparator = ' ', sal_Unicode cQuote = '\''); - static bool GetRangeListFromString( - ::com::sun::star::uno::Sequence< ::com::sun::star::table::CellRangeAddress >& rRangeSeq, - const OUString& rRangeListStr, - const ScDocument* pDocument, - formula::FormulaGrammar::AddressConvention eConv, - sal_Unicode cSeparator = ' ', - sal_Unicode cQuote = '\''); /// Range to String core static void GetStringFromAddress( diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx index c0c20e0809fe..14dc78e45e3b 100644 --- a/sc/source/core/tool/rangeutl.cxx +++ b/sc/source/core/tool/rangeutl.cxx @@ -614,31 +614,6 @@ bool ScRangeStringConverter::GetRangeFromString( return bResult; } -bool ScRangeStringConverter::GetRangeListFromString( - uno::Sequence< table::CellRangeAddress >& rRangeSeq, - const OUString& rRangeListStr, - const ScDocument* pDocument, - FormulaGrammar::AddressConvention eConv, - sal_Unicode cSeparator, - sal_Unicode cQuote ) -{ - bool bRet = true; - OSL_ENSURE( !rRangeListStr.isEmpty(), "ScXMLConverter::GetRangeListFromString - empty string!" ); - table::CellRangeAddress aRange; - sal_Int32 nOffset = 0; - while( nOffset >= 0 ) - { - if( GetRangeFromString( aRange, rRangeListStr, pDocument, eConv, nOffset, cSeparator, cQuote ) && (nOffset >= 0) ) - { - rRangeSeq.realloc( rRangeSeq.getLength() + 1 ); - rRangeSeq[ rRangeSeq.getLength() - 1 ] = aRange; - } - else - bRet = false; - } - return bRet; -} - void ScRangeStringConverter::GetStringFromAddress( OUString& rString, const ScAddress& rAddress, |