diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-11 12:45:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-11 14:32:40 +0200 |
commit | 4caacff9f25498c07d9b99fe0b5db82baa58a22c (patch) | |
tree | f828aba3333c82e5becb56706cdfeb7ce7d0461a /sd/source/ui/func/fupage.cxx | |
parent | d58c604eb35a84b849079d3a690d0a4f428d3121 (diff) |
convert EditMode to scoped enum
Change-Id: I7c48978f3e2c173a2ec53eb6559745deeee9b93b
Diffstat (limited to 'sd/source/ui/func/fupage.cxx')
-rw-r--r-- | sd/source/ui/func/fupage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx index fd80f93c3b9e..2ed902540658 100644 --- a/sd/source/ui/func/fupage.cxx +++ b/sd/source/ui/func/fupage.cxx @@ -133,7 +133,7 @@ void FuPage::DoExecute( SfxRequest& ) if( mpDrawViewShell ) { - mbMasterPage = mpDrawViewShell->GetEditMode() == EM_MASTERPAGE; + mbMasterPage = mpDrawViewShell->GetEditMode() == EditMode::MasterPage; // we don't really want to format page background with SID_ATTR_PAGE[_SIZE] slots mbDisplayBackgroundTabPage = ( mpDrawViewShell->GetPageKind() == PK_STANDARD) && ( nSlotId != SID_ATTR_PAGE_SIZE) && ( nSlotId != SID_ATTR_PAGE ); |