diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 4 |
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; } |