diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-07 20:54:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-08 13:18:41 +0200 |
commit | 36e0e88b28e818faf25b8e32cc8c4dc444b8a0be (patch) | |
tree | b7b5c8e13b6e05f871b01a3d0bf68c1d1329ef12 /vbahelper | |
parent | cf5bbe3fce4a250ab25998053965bdc604c6114e (diff) |
use more subView when converting to Int32
Change-Id: I54e3ddf79ba793fd4328bf8bda7f949b65349651
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbalineformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbalineformat.cxx b/vbahelper/source/vbahelper/vbalineformat.cxx index 0045bd0f7f2c..1adaf286e817 100644 --- a/vbahelper/source/vbahelper/vbalineformat.cxx +++ b/vbahelper/source/vbahelper/vbalineformat.cxx @@ -104,7 +104,7 @@ ScVbaLineFormat::getBeginArrowheadStyle() { sal_Int32 nIndex = sLineName.indexOf( ' ' ); OUString sName = sLineName.copy( 0, nIndex ); - //sal_Int32 nSize = sLineName.copy( nIndex + 1 ).toInt32(); + //sal_Int32 nSize = comphelper::string::toInt32(sLineName.subView( nIndex + 1 )); nLineType = convertLineStartEndNameToArrowheadStyle( sName ); } else |