summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-26 10:34:54 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 10:27:30 +0200
commit99e5749e80998e674b0f5cf8e5958632f49bbe50 (patch)
tree6e9f6e5e4d3a1cb45a7df3358d06da49a0421873 /sc
parent44af42016eebc85c8b2f6e21efc2da7e732432fb (diff)
remove unused code ScRangeStringConverter::GetRangeListFromString
full signature: ScRangeStringConverter::GetRangeListFromString( css::uno::Sequence<css::table::CellRangeAddress>&, rtl::OUString const&, ScDocument const*, formula::FormulaGrammar::AddressConvention, unsigned short, unsigned short) Change-Id: I61784cb55fb82caaeed22ddae94017c3ea630990
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/rangeutl.hxx7
-rw-r--r--sc/source/core/tool/rangeutl.cxx25
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,