diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-20 12:03:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-20 14:06:33 +0100 |
commit | df4bd415c0ceb8e69f8bbeeca554a1c55eb978b7 (patch) | |
tree | 161a658a1d810bda5e539a0edcc7016d8bc1a606 /sw/source/filter/html/htmlcss1.cxx | |
parent | a93ef22ada8762dbcaf90751b69244f93afaad03 (diff) |
fix crashing on exit in static SvxBrushItem dtor
site of first ctor
Change-Id: I3316e91bc54439b74df30fdf02ff264a39489c29
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index 0ea2a03155c6..7a1c0fe9bac1 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -561,10 +561,10 @@ void SwCSS1Parser::SetPageDescAttrs( const SwPageDesc *pPageDesc, } // /Feature: PrintExt -const SvxBrushItem& SwCSS1Parser::GetPageDescBackground() const +SvxBrushItem SwCSS1Parser::makePageDescBackground() const { return pDoc->getIDocumentStylePoolAccess().GetPageDescFromPool( RES_POOLPAGE_HTML, false ) - ->GetMaster().GetBackground(); + ->GetMaster().makeBackgroundBrushItem(); } sal_uInt16 SwCSS1Parser::GetScriptFromClass( OUString& rClass, |