summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-03-27 09:02:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-03-27 11:30:37 +0100
commitb07a990e51f9bef637cfdcb31b904c223d7ce738 (patch)
tree8d326b1ad8ae85349e3b55fed5daa00a14abaaf1 /canvas
parent89a95f5fa5a2e10d2c67d33270fa31404df33fd5 (diff)
loplugin:typedefparam (clang-cl)
Change-Id: I07604028845c49cc084927e21db7f21c5d053bab Reviewed-on: https://gerrit.libreoffice.org/69796 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_gdiplususer.cxx2
-rw-r--r--canvas/source/directx/dx_impltools.cxx4
-rw-r--r--canvas/source/directx/dx_textlayout_drawhelper.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_gdiplususer.cxx b/canvas/source/directx/dx_gdiplususer.cxx
index a7b0703915f2..85c143cff468 100644
--- a/canvas/source/directx/dx_gdiplususer.cxx
+++ b/canvas/source/directx/dx_gdiplususer.cxx
@@ -35,7 +35,7 @@ namespace dxcanvas
ULONG_PTR a_GdiPlusToken; // GDI+ handle. Owned by this object
}
- GDIPlusUserSharedPtr GDIPlusUser::createInstance()
+ GDIPlusUser::GDIPlusUserSharedPtr GDIPlusUser::createInstance()
{
return GDIPlusUserSharedPtr( new GDIPlusUser() );
}
diff --git a/canvas/source/directx/dx_impltools.cxx b/canvas/source/directx/dx_impltools.cxx
index 392d0ddf7adb..55bf94919cb3 100644
--- a/canvas/source/directx/dx_impltools.cxx
+++ b/canvas/source/directx/dx_impltools.cxx
@@ -480,7 +480,7 @@ namespace dxcanvas
aPoint ) );
}
- bool drawDIBits( const GraphicsSharedPtr& rGraphics,
+ bool drawDIBits( const std::shared_ptr<Gdiplus::Graphics>& rGraphics,
const BITMAPINFO& rBI,
const void* pBits )
{
@@ -492,7 +492,7 @@ namespace dxcanvas
pBitmap );
}
- bool drawRGBABits( const GraphicsSharedPtr& rGraphics,
+ bool drawRGBABits( const std::shared_ptr<Gdiplus::Graphics>& rGraphics,
const RawRGBABitmap& rRawRGBAData )
{
BitmapSharedPtr pBitmap( new Gdiplus::Bitmap( rRawRGBAData.mnWidth,
diff --git a/canvas/source/directx/dx_textlayout_drawhelper.cxx b/canvas/source/directx/dx_textlayout_drawhelper.cxx
index a1ee370b0d85..a0bef084a639 100644
--- a/canvas/source/directx/dx_textlayout_drawhelper.cxx
+++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx
@@ -59,7 +59,7 @@ namespace dxcanvas
}
void TextLayoutDrawHelper::drawText(
- const GraphicsSharedPtr& rGraphics,
+ const std::shared_ptr<Gdiplus::Graphics>& rGraphics,
const css::rendering::ViewState& rViewState,
const css::rendering::RenderState& rRenderState,
const ::basegfx::B2ISize& rOutputOffset,