summaryrefslogtreecommitdiff
path: root/sw/inc/drawdoc.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-31 09:15:14 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-31 09:19:03 +0200
commit6c3ca675509101732d3d878d6ceb6226026cd9ac (patch)
tree1ee6143dc46dbb4acc9c4e2b64fcfffa638ef49e /sw/inc/drawdoc.hxx
parentb697b1b68e7f335f9ab25d081764c75e515ae733 (diff)
tdf#88986 sw: add missing XPropertyList pool items on TextFrame insertion
Regression from commit 6e61ecd09679a66060f932835622821d39e92f01 (Merge back branch alg_writerframes to trunk, 2014-03-19), the problem was while SwFrameShell::Execute() was modified to put the various pool items related to fill types (colors, gradients, etc) to the item set of the dialog, the same was missing in SwTextShell::ExecInsert(), so colors were missing on inserting a new frame, but not when editing an existing one. Change-Id: Id009f914c1c3b6509e31a4887e32a00624678cf4
Diffstat (limited to 'sw/inc/drawdoc.hxx')
-rw-r--r--sw/inc/drawdoc.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx
index 43c816d7c57e..386eb81499f1 100644
--- a/sw/inc/drawdoc.hxx
+++ b/sw/inc/drawdoc.hxx
@@ -35,6 +35,8 @@ public:
const SwDoc& GetDoc() const { return *m_pDoc; }
SwDoc& GetDoc() { return *m_pDoc; }
+ /// Put needed items for XPropertyList entries from the DrawModel.
+ void PutAreaListItems(SfxItemSet& rSet) const;
virtual SdrPage* AllocPage(bool bMasterPage) SAL_OVERRIDE;