diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 15:52:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-13 09:34:54 +0200 |
commit | b5f5a386504e320b022f8609c9c36652ae2d3d18 (patch) | |
tree | 73ab95edb05a7f3cd0bf305c5846fdf7c0ad66c0 /sc | |
parent | f2109254942074d07ad52bf9fe6571405fd79618 (diff) |
convert SHOWEXTRAS constants to scoped enum
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 2 |
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) { |