diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-11 15:51:34 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-12 11:20:58 +0000 |
commit | c82f0680283d3a6daaed5717cb791a5ee9692aea (patch) | |
tree | a779962be4b161b14fb49f8b0de6f5c22dd9fbdf /sc | |
parent | b0b85e3154183f18fa9d2b82fe5edb5f70094b0b (diff) |
Missing break in switch
The case SID_CURRENTDOC used to harmlessly fall through to
case SID_ATTR_SIZE://XXX ???
break;
which was removed with ebabf6d1fa648d62dd63529e9fe64dcb631caee8 "fdo#86018 Don't
do anything when clicked on placeholder in statusbar", making it erroneously
fall through to the case SID_PRINTPREVIEW instead.
Change-Id: Ib7792ed4198ea3e25696a63f0d7ab4df78848e6a
(cherry picked from commit 3c8f49d7f8d70282236bf4f3d6b5a700e169f8e8)
Reviewed-on: https://gerrit.libreoffice.org/24919
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwsh3.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx index 957fa3fdfc94..4fd9a5c303c7 100644 --- a/sc/source/ui/view/tabvwsh3.cxx +++ b/sc/source/ui/view/tabvwsh3.cxx @@ -494,6 +494,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq ) rReq.Ignore();//XXX is handled by SFX } + break; case SID_PRINTPREVIEW: { |