summaryrefslogtreecommitdiffstats
path: root/include/sfx2/dispatch.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-11 16:01:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-11 15:14:52 +0000
commit8044acf2db9d125d5ed58ed25df5df4a90f37ac6 (patch)
tree67af1fff3f9bc0d144b80d5ecbe5a078cd08dbd3 /include/sfx2/dispatch.hxx
parentconvert vcl StateChangedType to enum class (diff)
downloadcore-8044acf2db9d125d5ed58ed25df5df4a90f37ac6.tar.gz
core-8044acf2db9d125d5ed58ed25df5df4a90f37ac6.zip
convert SFX_CALLMODE constants to SfxCallMode enum class
and fix a couple of bugs in SC and SW where the call mode was being passed to the hints parameter by accident Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58 Reviewed-on: https://gerrit.libreoffice.org/11916 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/dispatch.hxx')
-rw-r--r--include/sfx2/dispatch.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index eac691e0ad05..3b1476c3a0e2 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -101,7 +101,7 @@ friend class SfxHelp;
SfxItemSet &rState, const SfxSlot *pRealSlot );
void _Execute( SfxShell &rShell, const SfxSlot &rSlot,
SfxRequest &rReq,
- SfxCallMode eCall = SFX_CALLMODE_STANDARD);
+ SfxCallMode eCall = SfxCallMode::RECORD);
protected:
void FlushImpl();
@@ -115,7 +115,7 @@ public:
virtual ~SfxDispatcher();
const SfxPoolItem* Execute( sal_uInt16 nSlot,
- SfxCallMode nCall = SFX_CALLMODE_SLOT,
+ SfxCallMode nCall = SfxCallMode::SLOT,
const SfxPoolItem **pArgs = 0,
sal_uInt16 nModi = 0,
const SfxPoolItem **pInternalArgs = 0);