diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-08 14:05:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-08 20:44:43 +0200 |
commit | 3e7679738413054c7e6ce973380eac501bf41cf2 (patch) | |
tree | ad80f5bd2f11020fa864488792b6cc0e98a00207 /sw/source/ui | |
parent | 3bfac2a7fad9737f31443292699bd6fee6ac3a6f (diff) |
move comphelper::string::toInt32 to o3tl
so we can use it in places where we cannot include comphelper
Change-Id: Iba0ba3e4c0dcf0f9d1f09092a77c3b2010ec4f6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132732
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/vba/vbaparagraphformat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaparagraphformat.cxx b/sw/source/ui/vba/vbaparagraphformat.cxx index 68f3a16219c3..3286e331e49f 100644 --- a/sw/source/ui/vba/vbaparagraphformat.cxx +++ b/sw/source/ui/vba/vbaparagraphformat.cxx @@ -27,7 +27,7 @@ #include <com/sun/star/style/BreakType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include "vbatabstops.hxx" -#include <comphelper/string.hxx> +#include <o3tl/string_view.hxx> using namespace ::ooo::vba; using namespace ::com::sun::star; @@ -188,7 +188,7 @@ sal_Int32 SAL_CALL SwVbaParagraphFormat::getOutlineLevel() if( aHeading.startsWith( HEADING ) ) { // get the sub string after "Heading" - nLevel = comphelper::string::toInt32(aHeading.subView( HEADING.getLength() )); + nLevel = o3tl::toInt32(aHeading.subView( HEADING.getLength() )); } return nLevel; } |