summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/background.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/outdev/background.cxx')
-rw-r--r--vcl/source/outdev/background.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/background.cxx b/vcl/source/outdev/background.cxx
index 7c07367a82b4..d73cb786682d 100644
--- a/vcl/source/outdev/background.cxx
+++ b/vcl/source/outdev/background.cxx
@@ -55,7 +55,7 @@ void OutputDevice::SetBackground( const Wallpaper& rBackground )
}
else if( rBackground.IsBitmap())
{
- BitmapEx bitmap = rBackground.GetBitmap();
+ const BitmapEx& bitmap = rBackground.GetBitmap();
if( bitmap.IsAlpha())
mpAlphaVDev->SetBackground( Wallpaper( BitmapEx( bitmap.GetAlphaMask().GetBitmap() ) ) );
else