summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxexport.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-20 13:56:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-20 14:06:33 +0100
commit9acd707d738b99072cb3d7323e94ef96c1d64be5 (patch)
treef7e818d64f7a8fad78650a440cb383b45c1c8703 /sw/source/filter/ww8/docxexport.hxx
parentdf4bd415c0ceb8e69f8bbeeca554a1c55eb978b7 (diff)
fix crashing on exit in static SvxBrushItem dtor
site of second ctor Change-Id: Ic319bd36f207a0f1939482a7b4c729b519bb5ce1
Diffstat (limited to 'sw/source/filter/ww8/docxexport.hxx')
-rw-r--r--sw/source/filter/ww8/docxexport.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxexport.hxx b/sw/source/filter/ww8/docxexport.hxx
index 3cda882cad62..3c4e708478c5 100644
--- a/sw/source/filter/ww8/docxexport.hxx
+++ b/sw/source/filter/ww8/docxexport.hxx
@@ -252,7 +252,7 @@ private:
void WriteEmbeddings();
/// Get background color of the document, if there is one.
- boost::optional<const SvxBrushItem*> getBackground();
+ boost::optional<SvxBrushItem> getBackground();
/// return true if Page Layout is set as Mirrored
bool isMirroredMargin();