summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsc.cxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-09-14 15:48:45 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2014-09-14 16:41:40 +0300
commitf5129ca7610ec4ec20ed1c00e5c94bf51d5de2cc (patch)
tree1a1f1327f1ca245a195f246863e418e62ee8dacb /sd/source/ui/view/drviewsc.cxx
parent03626d7940d5e2fc2abf65ef1b49a7a89623f08f (diff)
fdo#55903 Immediate effect for zoom in button
That's what apparently people expect from this button to do, similar to the nearby zoom out button. This is also consistent with a similar button in math, and in print preview (both are using the same icon and same tooltip). The zoom mode that was assigned to this button until now, moved to a dedicated button (thus could be further improved to host other functionality as well - see the next commit). Change-Id: Ie640c72cf1aab1e3fc8a14211702a33a86bb3672
Diffstat (limited to 'sd/source/ui/view/drviewsc.cxx')
-rw-r--r--sd/source/ui/view/drviewsc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index b5a4e3147a81..84a1a2e86ffe 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -106,6 +106,7 @@ sal_uInt16 DrawViewShell::GetIdBySubId( sal_uInt16 nSId )
case SID_SIZE_OPTIMAL:
case SID_ZOOM_NEXT:
case SID_ZOOM_PREV:
+ case SID_ZOOM_MODE:
{
nMappedSId = SID_ZOOM_TOOLBOX;
}