summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/uitool.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 14:24:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 06:45:05 +0000
commitafa675469cd9894f41a6b9eeb2e7acc8245d256c (patch)
treece8bcab207aef1534298b2369accc4ada5597b08 /sw/source/uibase/utlui/uitool.cxx
parentf091259ad2ec1590714645839668580cd7b8c7c4 (diff)
use SvxExtNumType in SvxNumberType
and follow the rabbit trail, fixing various other types in the process Change-Id: I8fc7df3b585df21578ffb28fdd7e5e427b3bfd9d Reviewed-on: https://gerrit.libreoffice.org/34814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/utlui/uitool.cxx')
-rw-r--r--sw/source/uibase/utlui/uitool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/uitool.cxx b/sw/source/uibase/utlui/uitool.cxx
index 3098777deb13..7907b88d5341 100644
--- a/sw/source/uibase/utlui/uitool.cxx
+++ b/sw/source/uibase/utlui/uitool.cxx
@@ -281,7 +281,7 @@ void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc )
rPageDesc.SetUseOn( lcl_convertUseFromSvx(nUse) );
rPageDesc.SetLandscape(rPageItem.IsLandscape());
SvxNumberType aNumType;
- aNumType.SetNumberingType( static_cast< sal_Int16 >(rPageItem.GetNumType()) );
+ aNumType.SetNumberingType( (SvxExtNumType)rPageItem.GetNumType() );
rPageDesc.SetNumType(aNumType);
}
// Size