summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-10 18:00:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-10 18:00:41 +0200
commitbb86fd9e3c75464ac27fa1534e85a5ae236ec484 (patch)
tree742bc7c2ae3c77fd6228526f1196978eca82a640 /svx
parent5ffd2c1595d1f67f5e4b14e48188a1f37f1956b5 (diff)
Presumably missing break in switch
In fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import" the case SDRDRAG_CROOK fell through to the default branch, but which was irrelevant, as the default branch's if-branch would only hit if bCroner || bVertex, in which case the SDRDRAG_CROOK's if-branch would already have hit and returned. Then dc1fddc142ab438775e2c1bae4a0e148d263ce0d "INTEGRATION: CWS cropmaster2000_DEV300: #i83933# added interactive graphic cropping" moved the case SDRDRAG_CROP in between. Change-Id: I66939fc62416e0a442b02e674d90812ce76f3b2b
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 064b2d01ecd9..bc0475cc07a9 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -1135,6 +1135,7 @@ Pointer SdrView::GetPreferredPointer(const Point& rMousePos, const OutputDevice*
if (!IsCrookAllowed(true) && !IsCrookAllowed()) return Pointer(PointerStyle::NotAllowed);
return Pointer(PointerStyle::Crook);
}
+ break;
}
case SDRDRAG_CROP: