diff options
author | Laurent Godard <lgodard.libre@laposte.net> | 2011-11-07 14:17:42 +0100 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-07 10:28:52 -0500 |
commit | eed2ac74cc9e0d986e17eae53f6a50178f5bc5da (patch) | |
tree | 0c45e54531554b17c2ffcb6dce6724bc142a8773 /sc/inc/rangenam.hxx | |
parent | bb8f997864cb382591269d07e624360e66c192c8 (diff) |
change String to OUString for aUpperName in ScRangeData
improves MatchByUpperName tests avoiding type conversions
Diffstat (limited to 'sc/inc/rangenam.hxx')
-rw-r--r-- | sc/inc/rangenam.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index a82b97887ebd..ab2ed6a4523f 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -73,7 +73,7 @@ class ScRangeData { private: String aName; - String aUpperName; // #i62977# for faster searching (aName is never modified after ctor) + rtl::OUString aUpperName; // #i62977# for faster searching (aName is never modified after ctor) ScTokenArray* pCode; ScAddress aPos; RangeType eType; @@ -117,7 +117,7 @@ public: void GetName( String& rName ) const { rName = aName; } const String& GetName( void ) const { return aName; } - const String& GetUpperName( void ) const { return aUpperName; } + const rtl::OUString& GetUpperName( void ) const { return aUpperName; } ScAddress GetPos() const { return aPos; } // The index has to be unique. If index=0 a new index value is assigned. void SetIndex( sal_uInt16 nInd ) { nIndex = nInd; } |