[Libreoffice-commits] .: sc/inc
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Nov 7 07:40:03 PST 2011
sc/inc/rangenam.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit eed2ac74cc9e0d986e17eae53f6a50178f5bc5da
Author: Laurent Godard <lgodard.libre at laposte.net>
Date: Mon Nov 7 14:17:42 2011 +0100
change String to OUString for aUpperName in ScRangeData
improves MatchByUpperName tests avoiding type conversions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index a82b978..ab2ed6a 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; }
More information about the Libreoffice-commits
mailing list