summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/namebuff.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-01 13:39:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-01 14:19:25 +0100
commitd05a9ae25e4a397834330d868b68d92ca919e33b (patch)
tree3a9702d4c56ef0bd995f97dc3cfb382953d1f6d3 /sc/source/filter/excel/namebuff.cxx
parent2655ef2d03b786b683723e92f3c76838fa012ab6 (diff)
Related: fdo#38838 remove UniString::AssignAscii
Change-Id: I263ef2594080ff7d47d5499c2b62e60e1689d2d6
Diffstat (limited to 'sc/source/filter/excel/namebuff.cxx')
-rw-r--r--sc/source/filter/excel/namebuff.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/excel/namebuff.cxx b/sc/source/filter/excel/namebuff.cxx
index 4c75d64216d9..b3592972704a 100644
--- a/sc/source/filter/excel/namebuff.cxx
+++ b/sc/source/filter/excel/namebuff.cxx
@@ -31,10 +31,10 @@
#include <string.h>
-sal_uInt32 StringHashEntry::MakeHashCode( const String& r )
+sal_uInt32 StringHashEntry::MakeHashCode( const OUString& r )
{
- sal_uInt32 n = 0;
- const sal_Unicode* pAkt = r.GetBuffer();
+ sal_uInt32 n = 0;
+ const sal_Unicode* pAkt = r.getStr();
sal_Unicode cAkt = *pAkt;
while( cAkt )
@@ -60,7 +60,7 @@ NameBuffer::~NameBuffer()
//void NameBuffer::operator <<( const SpString &rNewString )
-void NameBuffer::operator <<( const String &rNewString )
+void NameBuffer::operator <<( const OUString &rNewString )
{
OSL_ENSURE( maHashes.size() + nBase < 0xFFFF,
"*NameBuffer::GetLastIndex(): Ich hab' die Nase voll!" );