diff options
Diffstat (limited to 'vcl/source/graphic/UnoGraphic.cxx')
-rw-r--r-- | vcl/source/graphic/UnoGraphic.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/graphic/UnoGraphic.cxx b/vcl/source/graphic/UnoGraphic.cxx index b91d6ad9de09..e6d2b6b8f905 100644 --- a/vcl/source/graphic/UnoGraphic.cxx +++ b/vcl/source/graphic/UnoGraphic.cxx @@ -232,7 +232,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL Graphic::applyDuotone( ::Graphic aReturnGraphic; BitmapEx aBitmapEx( aGraphic.GetBitmapEx() ); - AlphaMask aMask( aBitmapEx.GetAlphaMask() ); + const AlphaMask& aMask( aBitmapEx.GetAlphaMask() ); BitmapEx aTmpBmpEx(aBitmapEx.GetBitmap()); BitmapFilter::Filter(aTmpBmpEx, |