diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-02-04 15:13:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-05 20:54:34 +0000 |
commit | d232561a7472bead8add4bdb98bf2d90d2b7c820 (patch) | |
tree | 594cb24587b3dadd0ac590952c14f2638eeea9d9 | |
parent | 103229d032a0fe21df5debda38de91d39595f38f (diff) |
Remove a now unneeded cast (xub_StrLen and tools/string.hxx removal).
Change-Id: Ic45b3c572483aa0292c227274565a1750dd51f17
Reviewed-on: https://gerrit.libreoffice.org/7854
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 1aaeb248b123..ae027cd7963b 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -537,7 +537,7 @@ bool Outliner::ImpConvertEdtToOut( sal_Int32 nPara,EditView* pView) sal_Int32 nPos = nHeadingNumberStart ? nHeadingNumberStart : nNumberingNumberStart; OUString aLevel = comphelper::string::stripStart(aName.copy(nPos), ' '); - nTabs = sal::static_int_cast< sal_uInt16 >(aLevel.toInt32()); + nTabs = aLevel.toInt32(); if( nTabs ) nTabs--; // Level 0 = "heading 1" bConverted = true; |