summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-28 03:11:18 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-28 13:47:28 +0100
commit8877e4aeda044c2d74468b4a37bad9e96d7d6f3a (patch)
tree35ccb8e3533d0419d09c434857f83cbc233c12ff /sc
parentc842966fa466d5f0be2bf66746da5e663eceb205 (diff)
no need for the String version of this function anymore
Change-Id: Ic661a5cb492c25a049dfaf1da0a501ceeae83c2c
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/compiler.hxx1
-rw-r--r--sc/source/core/tool/compiler.cxx10
2 files changed, 1 insertions, 10 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 10af9016ee4f..c70d184141c2 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -426,7 +426,6 @@ public:
maExternalLinks = rLinks;
}
- void CreateStringFromXMLTokenArray( String& rFormula, String& rFormulaNmsp );
void CreateStringFromXMLTokenArray( rtl::OUString& rFormula, rtl::OUString& rFormulaNmsp );
void SetExtendedErrorDetection( ExtendedErrorDetection eVal ) { meExtendedErrorDetection = eVal; }
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index ac0d10b4ccdc..e19eb19860df 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -3718,7 +3718,7 @@ bool ScCompiler::NextNewToken( bool bInArray )
return true;
}
-void ScCompiler::CreateStringFromXMLTokenArray( String& rFormula, String& rFormulaNmsp )
+void ScCompiler::CreateStringFromXMLTokenArray( rtl::OUString& rFormula, rtl::OUString& rFormulaNmsp )
{
bool bExternal = GetGrammar() == FormulaGrammar::GRAM_EXTERNAL;
sal_uInt16 nExpectedCount = bExternal ? 2 : 1;
@@ -3733,14 +3733,6 @@ void ScCompiler::CreateStringFromXMLTokenArray( String& rFormula, String& rFormu
}
}
-void ScCompiler::CreateStringFromXMLTokenArray( rtl::OUString& rFormula, rtl::OUString& rFormulaNmsp )
-{
- String sFormula, aFormulaNmsp;
- CreateStringFromXMLTokenArray(sFormula, aFormulaNmsp);
- rFormula = sFormula;
- rFormulaNmsp = aFormulaNmsp;
-}
-
namespace {
class ExternalFileInserter : std::unary_function<sal_uInt16, void>