summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 15:52:37 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:34:54 +0200
commitb5f5a386504e320b022f8609c9c36652ae2d3d18 (patch)
tree73ab95edb05a7f3cd0bf305c5846fdf7c0ad66c0 /sc
parentf2109254942074d07ad52bf9fe6571405fd79618 (diff)
convert SHOWEXTRAS constants to scoped enum
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index d9b73555cf3e..a9dd15cf948b 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1137,7 +1137,7 @@ bool ScDocShell::ExecuteChangeProtectionDialog( vcl::Window* _pParent, bool bJus
pDlg->SetHelpId( GetStaticInterface()->GetSlot(SID_CHG_PROTECT)->GetCommand() );
pDlg->SetEditHelpId( HID_CHG_PROTECT );
if ( !bProtected )
- pDlg->ShowExtras( SHOWEXTRAS_CONFIRM );
+ pDlg->ShowExtras( SfxShowExtras::CONFIRM );
if ( pDlg->Execute() == RET_OK )
aPassword = pDlg->GetPassword();
pDlg.reset();
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index f69cabf24b60..2cfa8262190d 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -1002,7 +1002,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
pDlg->SetMinLen( 0 );
pDlg->SetHelpId( GetStaticInterface()->GetSlot(FID_PROTECT_DOC)->GetCommand() );
pDlg->SetEditHelpId( HID_PASSWD_DOC );
- pDlg->ShowExtras( SHOWEXTRAS_CONFIRM );
+ pDlg->ShowExtras( SfxShowExtras::CONFIRM );
if (pDlg->Execute() == RET_OK)
{