sw/source/uibase/uiview/pview.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a9cf7e8b23a0223eb2f5e0ed28bd012551836867 Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Thu Mar 30 18:27:46 2023 +0000 Commit: Rafael Lima <rafael.palma.l...@gmail.com> CommitDate: Tue Apr 4 15:37:23 2023 +0200 tdf#154476 Fix accelerators in Print preview As reported in the bug ticket, the +/- accelerators are inverted. Change-Id: Iafd648968ce8c3c2f461f31b65b1bd4bf85f1dab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149701 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx index 67bac3042d69..0ca186c74c3e 100644 --- a/sw/source/uibase/uiview/pview.cxx +++ b/sw/source/uibase/uiview/pview.cxx @@ -418,9 +418,9 @@ void SwPagePreviewWin::KeyInput( const KeyEvent &rKEvt ) sal_uInt16 nSlot = 0; switch(rKeyCode.GetCode()) { - case KEY_ADD : nSlot = SID_ZOOM_OUT; break; + case KEY_ADD : nSlot = SID_ZOOM_IN; break; case KEY_ESCAPE: nSlot = FN_CLOSE_PAGEPREVIEW; break; - case KEY_SUBTRACT : nSlot = SID_ZOOM_IN; break; + case KEY_SUBTRACT : nSlot = SID_ZOOM_OUT; break; } if(nSlot) {