summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-26 10:19:25 +0200
committerNoel Grandin <noel@peralex.com>2015-10-26 10:19:43 +0200
commiteaa34b4e29478770c4707d56aa102491bc8e058a (patch)
tree40a47c34cc90068c1b8648f99667dec44a301716 /sc/source/ui/inc
parent2f83ed1407302a83130cf6e3984743342eec708d (diff)
convert InsertDeleteFlags to use o3tl::typed_flags
Change-Id: I3f6a97195d3364b2a0964f62f11e9c0de9493d64
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/delcodlg.hxx2
-rw-r--r--sc/source/ui/inc/docfuncutil.hxx2
-rw-r--r--sc/source/ui/inc/inscodlg.hxx2
-rw-r--r--sc/source/ui/inc/viewfunc.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index 2af0af3ba64d..dd6f93d77828 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -47,7 +47,7 @@ private:
public:
ScDeleteContentsDlg( vcl::Window* pParent,
- InsertDeleteFlags nCheckDefaults = IDF_NONE );
+ InsertDeleteFlags nCheckDefaults = InsertDeleteFlags::NONE );
virtual ~ScDeleteContentsDlg();
virtual void dispose() override;
void DisableObjects();
diff --git a/sc/source/ui/inc/docfuncutil.hxx b/sc/source/ui/inc/docfuncutil.hxx
index bd99ab6ff0a0..dba17c80464a 100644
--- a/sc/source/ui/inc/docfuncutil.hxx
+++ b/sc/source/ui/inc/docfuncutil.hxx
@@ -15,7 +15,7 @@
class ScDocument;
class ScMarkData;
class ScRange;
-struct InsertDeleteFlags;
+enum class InsertDeleteFlags : sal_uInt16;
namespace sc {
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 8ff69c9778a3..d321c8b87bac 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -31,7 +31,7 @@ class ScInsertContentsDlg : public ModalDialog
{
public:
ScInsertContentsDlg( vcl::Window* pParent,
- InsertDeleteFlags nCheckDefaults = IDF_NONE,
+ InsertDeleteFlags nCheckDefaults = InsertDeleteFlags::NONE,
const OUString* pStrTitle = NULL );
virtual ~ScInsertContentsDlg();
virtual void dispose() override;
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index cbd8a391f4a1..836d5ac5058f 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -108,7 +108,7 @@ public:
ScPasteFunc nFunction = ScPasteFunc::NONE, bool bSkipEmpty = false,
bool bTranspose = false, bool bAsLink = false,
InsCellCmd eMoveMode = INS_NONE,
- InsertDeleteFlags nUndoExtraFlags = IDF_NONE,
+ InsertDeleteFlags nUndoExtraFlags = InsertDeleteFlags::NONE,
bool bAllowDialogs = false );
void FillTab( InsertDeleteFlags nFlags, ScPasteFunc nFunction, bool bSkipEmpty, bool bAsLink );