loplugin:unoany (clang-cl)

Change-Id: I14351561764811562a2c2904b6f7db6148e55c9b
This commit is contained in:
Stephan Bergmann
2017-03-14 14:40:50 +01:00
parent d3003be764
commit 4084d5dd5b

View File

@@ -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;
}