summaryrefslogtreecommitdiff
path: root/sw/inc/docufld.hxx
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/inc/docufld.hxx
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/inc/docufld.hxx')
-rw-r--r--sw/inc/docufld.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index a8855bb570ed..1d451f2d00df 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -125,16 +125,16 @@ enum SwJumpEditFormat
class SwPageNumberFieldType : public SwFieldType
{
- sal_Int16 nNumberingType;
+ SvxExtNumType nNumberingType;
bool bVirtuell;
public:
SwPageNumberFieldType();
- OUString Expand( sal_uInt32 nFormat, short nOff, sal_uInt16 const nPageNumber,
+ OUString Expand( SvxExtNumType nFormat, short nOff, sal_uInt16 const nPageNumber,
sal_uInt16 const nMaxPage, const OUString& ) const;
void ChangeExpansion( SwDoc* pDoc,
- bool bVirtPageNum, const sal_Int16* pNumFormat );
+ bool bVirtPageNum, const SvxExtNumType* pNumFormat );
virtual SwFieldType* Copy() const override;
};
@@ -247,14 +247,14 @@ public:
class SwDocStatFieldType : public SwFieldType
{
SwDoc* pDoc;
- sal_Int16 nNumberingType; ///< css::style::NumberingType
+ SvxExtNumType nNumberingType;
public:
SwDocStatFieldType(SwDoc*);
- OUString Expand(sal_uInt16 nSubType, sal_uInt32 nFormat) const;
+ OUString Expand(sal_uInt16 nSubType, SvxExtNumType nFormat) const;
virtual SwFieldType* Copy() const override;
- inline void SetNumFormat( sal_Int16 eFormat ) { nNumberingType = eFormat; }
+ inline void SetNumFormat( SvxExtNumType eFormat ) { nNumberingType = eFormat; }
};
class SW_DLLPUBLIC SwDocStatField : public SwField