summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/pagedesc.cxx
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/source/core/layout/pagedesc.cxx
parenta93ef22ada8762dbcaf90751b69244f93afaad03 (diff)
fix crashing on exit in static SvxBrushItem dtor
site of first ctor Change-Id: I3316e91bc54439b74df30fdf02ff264a39489c29
Diffstat (limited to 'sw/source/core/layout/pagedesc.cxx')
-rw-r--r--sw/source/core/layout/pagedesc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx
index 9f0a359dd885..d04184074cb0 100644
--- a/sw/source/core/layout/pagedesc.cxx
+++ b/sw/source/core/layout/pagedesc.cxx
@@ -117,7 +117,7 @@ void SwPageDesc::Mirror()
aSet.Put( aMaster.GetPaperBin() );
aSet.Put( aMaster.GetULSpace() );
aSet.Put( aMaster.GetBox() );
- aSet.Put( aMaster.GetBackground() );
+ aSet.Put( aMaster.makeBackgroundBrushItem() );
aSet.Put( aMaster.GetShadow() );
aSet.Put( aMaster.GetCol() );
aSet.Put( aMaster.GetFrmDir() ); // #112217#