summaryrefslogtreecommitdiff
path: root/sc/inc/tokenarray.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-06-14 13:28:47 +0200
committerEike Rathke <erack@redhat.com>2016-06-14 13:33:35 +0200
commit478613c550236d19b8254c49e5886dca1f0b8aac (patch)
tree04995256bc40fb31a03682818acdc280e5d3e230 /sc/inc/tokenarray.hxx
parentc44d5589dfc4312ab98408dec68c8577240dd7d3 (diff)
explicit svl::SharedString(const OUString&) ctor
... to prevent accidental surprises. Not interned shared strings constructed from OUString have mpDataIgnoreCase=nullptr so can't be used for case insensitive comparison. Change-Id: I03323354298a73e93b18d2796ec447c072fdefa5
Diffstat (limited to 'sc/inc/tokenarray.hxx')
-rw-r--r--sc/inc/tokenarray.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 760643178011..061d044f093a 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -98,9 +98,9 @@ public:
formula::FormulaToken* AddDoubleReference( const ScComplexRefData& rRef );
void AddRangeName( sal_uInt16 n, sal_Int16 nSheet );
formula::FormulaToken* AddDBRange( sal_uInt16 n );
- formula::FormulaToken* AddExternalName( sal_uInt16 nFileId, const OUString& rName );
- void AddExternalSingleReference( sal_uInt16 nFileId, const OUString& rTabName, const ScSingleRefData& rRef );
- formula::FormulaToken* AddExternalDoubleReference( sal_uInt16 nFileId, const OUString& rTabName, const ScComplexRefData& rRef );
+ formula::FormulaToken* AddExternalName( sal_uInt16 nFileId, const svl::SharedString& rName );
+ void AddExternalSingleReference( sal_uInt16 nFileId, const svl::SharedString& rTabName, const ScSingleRefData& rRef );
+ formula::FormulaToken* AddExternalDoubleReference( sal_uInt16 nFileId, const svl::SharedString& rTabName, const ScComplexRefData& rRef );
formula::FormulaToken* AddMatrix( const ScMatrixRef& p );
/** ScSingleRefOpToken with ocColRowName. */
formula::FormulaToken* AddColRowName( const ScSingleRefData& rRef );