diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:18 +0100 |
commit | 9d1c14ce4c47030f8315f1f6b04d9314d3f62f48 (patch) | |
tree | e9df0eab541cf0de54a54e4a63ae1d237844b881 /sfx2/source/control/dispatch.cxx | |
parent | b20ccaf2bc25997563f00aca4b47ae5353140030 (diff) |
More loplugin:cstylecast: sfx2
Change-Id: Ifdb964558f070e7c9ee87eabeaafa5c3c079c0c9
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index e7dd16a45bd7..5834d8923d11 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1760,7 +1760,7 @@ bool SfxDispatcher::FindServer_(sal_uInt16 nSlot, SfxSlotServer& rServer, bool b const SfxSlot *pSlot = pIFace->GetSlot(nSlot); if ( pSlot && pSlot->nDisableFlags != SfxDisableFlags::NONE && - ( (int)pSlot->nDisableFlags & (int)pObjShell->GetDisableFlags() ) != 0 ) + ( static_cast<int>(pSlot->nDisableFlags) & static_cast<int>(pObjShell->GetDisableFlags()) ) != 0 ) return false; if ( pSlot && !( pSlot->nFlags & SfxSlotMode::READONLYDOC ) && bReadOnly ) |