summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-20 09:58:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-20 12:06:40 +0100
commit81099135677ac6997473ca01a297c32025c58662 (patch)
treee30d5e1d30e588af37a373da935faa8225ed209d /sc
parent8c023fd645c8b83637ffcde4055886b2e4f94393 (diff)
ditch last (?) uses of UniString::UniString(sal_Unicode, ...)
Change-Id: Ie04a3465100d2f013f34168aaf136a20cd2f7e0d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/impex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index a0bb6cdf2050..392d855e0f35 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -1881,8 +1881,8 @@ bool ScImportExport::Sylk2Doc( SvStream& rStrm )
const sal_Unicode* p0 = p;
while( *p && *p != ';' )
p++;
- String aNumber( p0, sal::static_int_cast<xub_StrLen>( p - p0 ) );
- nFormat = aNumber.ToInt32();
+ rtl::OUString aNumber(p0, p - p0);
+ nFormat = aNumber.toInt32();
}
break;
}