summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevwsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-28 14:09:59 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:40 +0200
commit5d96ccd0ab9d315aea85b4630f85feb29d2aa14a (patch)
tree34e124d8ba35b503e4091d646e672223b44a773a /sc/source/ui/view/prevwsh.cxx
parent468446b7fd4c547ee3f090366e886c212657bcd1 (diff)
convert ZOOMBTN constants to scoped enum
Change-Id: Ia7641f736fa4f84dce0b5ea8bf68339c1309e74b
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r--sc/source/ui/view/prevwsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index ef3ef07d8078..dc8bd2d21cbb 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -652,7 +652,7 @@ void ScPreviewShell::Execute( SfxRequest& rReq )
boost::scoped_ptr<AbstractSvxZoomDialog> pDlg(pFact->CreateSvxZoomDialog(NULL, aSet));
OSL_ENSURE(pDlg, "Dialog creation failed!");
pDlg->SetLimits( 20, 400 );
- pDlg->HideButton( ZOOMBTN_OPTIMAL );
+ pDlg->HideButton( ZoomButtonId::OPTIMAL );
bCancel = ( RET_CANCEL == pDlg->Execute() );
if ( !bCancel )