summaryrefslogtreecommitdiff
path: root/sw/inc/format.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-20 12:03:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-20 14:06:33 +0100
commitdf4bd415c0ceb8e69f8bbeeca554a1c55eb978b7 (patch)
tree161a658a1d810bda5e539a0edcc7016d8bc1a606 /sw/inc/format.hxx
parenta93ef22ada8762dbcaf90751b69244f93afaad03 (diff)
fix crashing on exit in static SvxBrushItem dtor
site of first ctor Change-Id: I3316e91bc54439b74df30fdf02ff264a39489c29
Diffstat (limited to 'sw/inc/format.hxx')
-rw-r--r--sw/inc/format.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index 191a755dc740..8c3e69e9c5fc 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -244,8 +244,8 @@ public:
inline const SvxBoxItem &GetBox( bool = true ) const;
inline const SvxFmtKeepItem &GetKeep( bool = true ) const;
- //UUUU Get SvxBrushItem for Background fill (partially for backwards compatibility)
- const SvxBrushItem& GetBackground( bool = true ) const;
+ //UUUU Create SvxBrushItem for Background fill (partially for backwards compatibility)
+ SvxBrushItem makeBackgroundBrushItem( bool = true ) const;
inline const SvxShadowItem &GetShadow( bool = true ) const;
inline const SwFmtPageDesc &GetPageDesc( bool = true ) const;