diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-23 14:40:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 09:36:57 +0200 |
commit | 5d37fa2a710e3bd76d3f1e18d1d66b8a4ab15030 (patch) | |
tree | b472de3b77857a725b3a469e648151b12a7bb9d9 /sfx2/source/appl | |
parent | 23e0b0ba4b67a402a89b3752ae5aede1c5249cc8 (diff) |
convert SvxZoomType to enum class
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 9256ea270966..40e8a9533ac0 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -595,7 +595,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) // make sure aZoom is initialized with a proper value if SetType // doesn't work - SvxZoomItem aZoom( SVX_ZOOM_PERCENT, 100 ); + SvxZoomItem aZoom( SvxZoomType::PERCENT, 100 ); switch (rReq.GetSlot()) { @@ -615,13 +615,13 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) aZoom.SetValue(200); break; case SID_ZOOM_OPTIMAL: - aZoom.SetType( SVX_ZOOM_OPTIMAL ); + aZoom.SetType( SvxZoomType::OPTIMAL ); break; case SID_ZOOM_ENTIRE_PAGE: - aZoom.SetType( SVX_ZOOM_WHOLEPAGE ); + aZoom.SetType( SvxZoomType::WHOLEPAGE ); break; case SID_ZOOM_PAGE_WIDTH: - aZoom.SetType( SVX_ZOOM_PAGEWIDTH ); + aZoom.SetType( SvxZoomType::PAGEWIDTH ); break; } |