diff options
Diffstat (limited to 'vcl/source/gdi/outdev.cxx')
-rw-r--r-- | vcl/source/gdi/outdev.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx index b2c73b0ac324..b372c9d8c585 100644 --- a/vcl/source/gdi/outdev.cxx +++ b/vcl/source/gdi/outdev.cxx @@ -30,6 +30,7 @@ #include <vcl/print.hxx> #include <vcl/outdev.hxx> #include <vcl/unowrap.hxx> +#include <vcl/settings.hxx> #include <svsys.h> #include <vcl/sysdata.hxx> @@ -305,7 +306,7 @@ OutputDevice::OutputDevice() : maRegion(true), maFillColor( COL_WHITE ), maTextLineColor( COL_TRANSPARENT ), - maSettings( Application::GetSettings() ) + mxSettings( new AllSettings(Application::GetSettings()) ) { mpGraphics = NULL; @@ -2468,7 +2469,7 @@ void OutputDevice::EnableOutput( sal_Bool bEnable ) void OutputDevice::SetSettings( const AllSettings& rSettings ) { - maSettings = rSettings; + *mxSettings = rSettings; if( mpAlphaVDev ) mpAlphaVDev->SetSettings( rSettings ); |