summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-14 14:40:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-14 14:40:50 +0100
commit4084d5dd5bb47e39f79d46a62ba5098ffcc4663e (patch)
tree60a4053cfd8996e391d4045f8489d6dda5fe5e0b /canvas
parentd3003be764b02c5d2fdfe8bf1046aeded8a40fe9 (diff)
loplugin:unoany (clang-cl)
Change-Id: I14351561764811562a2c2904b6f7db6148e55c9b
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_canvasbitmap.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_canvasbitmap.cxx b/canvas/source/directx/dx_canvasbitmap.cxx
index edc1c0ace2cc..ce20e6a0766f 100644
--- a/canvas/source/directx/dx_canvasbitmap.cxx
+++ b/canvas/source/directx/dx_canvasbitmap.cxx
@@ -84,7 +84,7 @@ namespace dxcanvas
{
// sorry, no BitmapEx here...
case 0:
- aRes = css::uno::Any( reinterpret_cast<sal_Int64>( nullptr ) );
+ aRes <<= reinterpret_cast<sal_Int64>( nullptr );
break;
case 1:
@@ -95,7 +95,7 @@ namespace dxcanvas
mpBitmap->getBitmap()->GetHBITMAP(Gdiplus::Color(), &aHBmp );
uno::Sequence< uno::Any > args(1);
- args[0] = uno::Any( sal_Int64(aHBmp) );
+ args[0] <<= sal_Int64(aHBmp);
aRes <<= args;
}
@@ -151,7 +151,7 @@ namespace dxcanvas
pGDIPlusBitmap->UnlockBits( &aBmpData );
uno::Sequence< uno::Any > args(1);
- args[0] = uno::Any( sal_Int64(hBmpBitmap) );
+ args[0] <<= sal_Int64(hBmpBitmap);
aRes <<= args;
}
@@ -228,7 +228,7 @@ namespace dxcanvas
reinterpret_cast<PBITMAPINFO>(&aDIB), DIB_RGB_COLORS );
uno::Sequence< uno::Any > args(1);
- args[0] = uno::Any( sal_Int64(hBmpBitmap) );
+ args[0] <<= sal_Int64(hBmpBitmap);
aRes <<= args;
}