summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-11 15:51:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-11 15:51:34 +0200
commit3c8f49d7f8d70282236bf4f3d6b5a700e169f8e8 (patch)
tree68dcbd8b1ecb28f0942790200ee5eac0ca10195e
parenteca8497238ac331db5ce9cdc35fb2e2f5f5354b3 (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
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index a91e807e7f45..3a1d101fbc68 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:
{