summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/viewutil.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-15 09:36:39 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-04-17 07:21:08 +0000
commita7b7c64afc523cfd9ff4e724b3efbec6567fc1c8 (patch)
tree52fd05ef3292f3dab172864cbc3be96a8d44a9d0 /sc/source/ui/inc/viewutil.hxx
parentadd7eeb7dbd0eefa0c5ae5430490864079add801 (diff)
convert SCRIPTTYPE_ constants to scoped enum
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/inc/viewutil.hxx')
-rw-r--r--sc/source/ui/inc/viewutil.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/viewutil.hxx b/sc/source/ui/inc/viewutil.hxx
index 63e2ef03e5bc..bbccd75827d2 100644
--- a/sc/source/ui/inc/viewutil.hxx
+++ b/sc/source/ui/inc/viewutil.hxx
@@ -34,7 +34,7 @@ class ScDocument;
class ScAddress;
class ScRange;
class ScMarkData;
-
+enum class SvtScriptType;
enum ScUpdateMode { SC_UPDATE_ALL, SC_UPDATE_CHANGED, SC_UPDATE_MARKS };
class SC_DLLPUBLIC ScViewUtil
@@ -50,7 +50,7 @@ public:
ScDocument& rDocument );
static void PutItemScript( SfxItemSet& rShellSet, const SfxItemSet& rCoreSet,
- sal_uInt16 nWhichId, sal_uInt16 nScript );
+ sal_uInt16 nWhichId, SvtScriptType nScript );
static sal_uInt16 GetEffLanguage( ScDocument* pDoc, const ScAddress& rPos );