summaryrefslogtreecommitdiffstats
path: root/sfx2/source/bastyp/mieclip.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp/mieclip.cxx')
-rw-r--r--sfx2/source/bastyp/mieclip.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index 7301949775ab..4d6d74e1fca0 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -20,6 +20,7 @@
#include <sal/config.h>
#include <o3tl/safeint.hxx>
+#include <o3tl/string_view.hxx>
#include <tools/stream.hxx>
#include <comphelper/string.hxx>
@@ -49,13 +50,13 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
nIndex = 0;
OString sTmp(sLine.getToken(0, ':', nIndex));
if (sTmp == "StartHTML")
- nStt = comphelper::string::toInt32(sLine.subView(nIndex));
+ nStt = o3tl::toInt32(sLine.subView(nIndex));
else if (sTmp == "EndHTML")
- nEnd = comphelper::string::toInt32(sLine.subView(nIndex));
+ nEnd = o3tl::toInt32(sLine.subView(nIndex));
else if (sTmp == "StartFragment")
- nFragStart = comphelper::string::toInt32(sLine.subView(nIndex));
+ nFragStart = o3tl::toInt32(sLine.subView(nIndex));
else if (sTmp == "EndFragment")
- nFragEnd = comphelper::string::toInt32(sLine.subView(nIndex));
+ nFragEnd = o3tl::toInt32(sLine.subView(nIndex));
else if (sTmp == "SourceURL")
sBaseURL = OStringToOUString( sLine.subView(nIndex), RTL_TEXTENCODING_UTF8 );