summaryrefslogtreecommitdiff
path: root/sw/inc/swabstdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r--sw/inc/swabstdlg.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 5de822c98b10..a46e2acec5b0 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -36,6 +36,7 @@
#include "itabenum.hxx"
#include <boost/optional.hpp>
#include "dbmgr.hxx"
+#include <cnttab.hxx>
class SfxViewFrame;
class SfxBindings;
@@ -74,7 +75,7 @@ class SwTOXMark;
struct SwDocStat;
enum class SwBorderModes;
enum class SwCharDlgMode;
-#include <cnttab.hxx>
+enum class SfxStyleFamily;
namespace com{namespace sun{namespace star{
namespace frame{
@@ -394,10 +395,10 @@ public:
const OUString* pFormatStr = nullptr) = 0;
/// @param nSlot
/// Identifies optional Slot by which the creation of the Template (Style) dialog is triggered.
- /// Currently used, if nRegion == SFX_STYLE_FAMILY_PAGE in order to activate certain dialog pane
+ /// Currently used, if nRegion == SfxStyleFamily::Page in order to activate certain dialog pane
virtual SfxAbstractApplyTabDialog* CreateTemplateDialog(
SfxStyleSheetBase& rBase,
- sal_uInt16 nRegion,
+ SfxStyleFamily nRegion,
const OString& sPage = OString(),
SwWrtShell* pActShell = nullptr,
bool bNew = false) = 0;