summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-05-15 16:20:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-20 15:02:00 +0100
commit82f418d2d90b65ddb474f9d7637d76a6779d60cf (patch)
tree4695470123d35321fe60e54d8b2fe542b2c09f01 /svx
parent3cc0f7b992245b4bcc166fb15b0b8f76dda4f528 (diff)
Resolves: i122145 Multiselection with mix of DrawObjects and OLE...
will allow LineStyle and FillStyle panel, single selection of OLE offers these, too, but in default closed state (cherry picked from commit 8a2531d3d98ad3afb2b233be2d5dd7b67febeba6) Change-Id: Iba8f99afb4324d33be0469e3b0835f08fe142b0a (cherry picked from commit 3c33a28233dfbb0db44553f13511107976f18363)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/SelectionAnalyzer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/sidebar/SelectionAnalyzer.cxx b/svx/source/sidebar/SelectionAnalyzer.cxx
index 384f5f6bf033..5924c6f94060 100644
--- a/svx/source/sidebar/SelectionAnalyzer.cxx
+++ b/svx/source/sidebar/SelectionAnalyzer.cxx
@@ -449,6 +449,10 @@ bool SelectionAnalyzer::IsShapeType (const sal_uInt16 nType)
case OBJ_POLY:
case OBJ_FREELINE:
case OBJ_FREEFILL:
+
+ // #122145# adding OBJ_OLE2 since these also allow line/fill style and may
+ // be multiselected/grouped with normal draw objects, e.g. math OLE objects
+ case OBJ_OLE2:
return true;
default: