editeng/source/outliner/outliner.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d232561a7472bead8add4bdb98bf2d90d2b7c820 Author: Andrzej Hunt <andrzej.h...@collabora.com> Date: Tue Feb 4 15:13:03 2014 +0000 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 <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 1aaeb24..ae027cd 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;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits