summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedtv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdedtv.cxx')
-rw-r--r--svx/source/svdraw/svdedtv.cxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx
index 980399c0d6c6..6db2aeb45d9c 100644
--- a/svx/source/svdraw/svdedtv.cxx
+++ b/svx/source/svdraw/svdedtv.cxx
@@ -456,9 +456,10 @@ bool SdrEditView::IsDismantlePossible(bool bMakeLines) const
void SdrEditView::CheckPossibilities()
{
- if (mbSomeObjChgdFlag) bPossibilitiesDirty=true;
+ if (mbSomeObjChgdFlag)
+ bPossibilitiesDirty=true;
- if(mbSomeObjChgdFlag)
+ if (mbSomeObjChgdFlag)
{
// This call IS necessary to correct the MarkList, in which
// no longer to the model belonging objects still can reside.
@@ -466,17 +467,20 @@ void SdrEditView::CheckPossibilities()
CheckMarked();
}
- if (bPossibilitiesDirty) {
+ if (bPossibilitiesDirty)
+ {
ImpResetPossibilityFlags();
SortMarkedObjects();
- const size_t nMarkCount=GetMarkedObjectCount();
- if (nMarkCount!=0) {
- bReverseOrderPossible=nMarkCount>=2;
+ const size_t nMarkCount = GetMarkedObjectCount();
+ if (nMarkCount != 0)
+ {
+ bReverseOrderPossible = (nMarkCount >= 2);
size_t nMovableCount=0;
bGroupPossible=nMarkCount>=2;
bCombinePossible=nMarkCount>=2;
- if (nMarkCount==1) {
+ if (nMarkCount==1)
+ {
// check bCombinePossible more thoroughly
// still missing ...
const SdrObject* pObj=GetMarkedObjectByIndex(0);