summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-06 13:33:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-07 08:42:04 +0000
commit08f5355dee375503167989e21271a4601449a257 (patch)
tree051ae7e50b005417f77ee0fd909fc3c27cbb3bbf /sw/source/uibase/inc
parent14f982775cdff2e3779f9a9bcbc0341247ed90aa (diff)
convert RES_FIELDS to scoped enum
and rename to SwFieldIds Change-Id: I50d2b7550f68b4b020ffc1603f931c671c8e1de6 Reviewed-on: https://gerrit.libreoffice.org/34924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/fldmgr.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/fldmgr.hxx b/sw/source/uibase/inc/fldmgr.hxx
index f8ca5c3d3eb3..25193aafa835 100644
--- a/sw/source/uibase/inc/fldmgr.hxx
+++ b/sw/source/uibase/inc/fldmgr.hxx
@@ -43,6 +43,7 @@ class SbModule;
class SvxMacroItem;
class SvNumberFormatter;
namespace vcl { class Window; }
+enum class SwFieldIds : sal_uInt16;
// the groups of fields
enum SwFieldGroups
@@ -154,10 +155,10 @@ public:
// access to field types via ResId
size_t GetFieldTypeCount() const;
- SwFieldType* GetFieldType(sal_uInt16 nResId, size_t nField = 0) const;
- SwFieldType* GetFieldType(sal_uInt16 nResId, const OUString& rName) const;
+ SwFieldType* GetFieldType(SwFieldIds nResId, size_t nField = 0) const;
+ SwFieldType* GetFieldType(SwFieldIds nResId, const OUString& rName) const;
- void RemoveFieldType(sal_uInt16 nResId, const OUString& rName);
+ void RemoveFieldType(SwFieldIds nResId, const OUString& rName);
// access via TypeId from the dialog
// Ids for a range of fields