Kaydet (Commit) 4084d5dd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unoany (clang-cl)

Change-Id: I14351561764811562a2c2904b6f7db6148e55c9b
üst d3003be7
...@@ -84,7 +84,7 @@ namespace dxcanvas ...@@ -84,7 +84,7 @@ namespace dxcanvas
{ {
// sorry, no BitmapEx here... // sorry, no BitmapEx here...
case 0: case 0:
aRes = css::uno::Any( reinterpret_cast<sal_Int64>( nullptr ) ); aRes <<= reinterpret_cast<sal_Int64>( nullptr );
break; break;
case 1: case 1:
...@@ -95,7 +95,7 @@ namespace dxcanvas ...@@ -95,7 +95,7 @@ namespace dxcanvas
mpBitmap->getBitmap()->GetHBITMAP(Gdiplus::Color(), &aHBmp ); mpBitmap->getBitmap()->GetHBITMAP(Gdiplus::Color(), &aHBmp );
uno::Sequence< uno::Any > args(1); uno::Sequence< uno::Any > args(1);
args[0] = uno::Any( sal_Int64(aHBmp) ); args[0] <<= sal_Int64(aHBmp);
aRes <<= args; aRes <<= args;
} }
...@@ -151,7 +151,7 @@ namespace dxcanvas ...@@ -151,7 +151,7 @@ namespace dxcanvas
pGDIPlusBitmap->UnlockBits( &aBmpData ); pGDIPlusBitmap->UnlockBits( &aBmpData );
uno::Sequence< uno::Any > args(1); uno::Sequence< uno::Any > args(1);
args[0] = uno::Any( sal_Int64(hBmpBitmap) ); args[0] <<= sal_Int64(hBmpBitmap);
aRes <<= args; aRes <<= args;
} }
...@@ -228,7 +228,7 @@ namespace dxcanvas ...@@ -228,7 +228,7 @@ namespace dxcanvas
reinterpret_cast<PBITMAPINFO>(&aDIB), DIB_RGB_COLORS ); reinterpret_cast<PBITMAPINFO>(&aDIB), DIB_RGB_COLORS );
uno::Sequence< uno::Any > args(1); uno::Sequence< uno::Any > args(1);
args[0] = uno::Any( sal_Int64(hBmpBitmap) ); args[0] <<= sal_Int64(hBmpBitmap);
aRes <<= args; aRes <<= args;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment