diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 9a83f2697ea8..79624155282e 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -5294,7 +5294,7 @@ void EscherEx::AddShape( sal_uInt32 nShpInstance, ShapeFlag nFlags, sal_uInt32 n if ( !nShapeID ) nShapeID = GenerateShapeId(); - if (!(nFlags & ShapeFlag::Group)) + if (nFlags ^ ShapeFlag::Group) // no pure group shape { if ( mnGroupLevel > 1 ) nFlags |= ShapeFlag::Child; // this not a topmost shape |