summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-30 14:23:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-30 16:25:15 +0100
commitd0265c128c5c2c7d12e2f955ccb02aa255a2bf3c (patch)
tree0560183165036f1c0f53959deadd51c85d6ab19b /canvas
parent9e8f11a722ee9cba37c4692a6ab7d74536261429 (diff)
loplugin:redundantinline (clang-cl)
Change-Id: Ib6320ddc049e93cca4c5931ad28d1873d34bd8b4 Reviewed-on: https://gerrit.libreoffice.org/67137 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_9rm.cxx8
-rw-r--r--canvas/source/directx/dx_impltools.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 52462dd49699..86894825c16f 100644
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -146,8 +146,8 @@ namespace dxcanvas
ImplRenderModuleGuard(const ImplRenderModuleGuard&) = delete;
const ImplRenderModuleGuard& operator=(const ImplRenderModuleGuard&) = delete;
- explicit inline ImplRenderModuleGuard( DXRenderModule& rRenderModule );
- inline ~ImplRenderModuleGuard();
+ explicit ImplRenderModuleGuard( DXRenderModule& rRenderModule );
+ ~ImplRenderModuleGuard();
private:
DXRenderModule& mrRenderModule;
@@ -246,14 +246,14 @@ namespace dxcanvas
// DXSurface::ImplRenderModuleGuard
- inline DXSurface::ImplRenderModuleGuard::ImplRenderModuleGuard(
+ DXSurface::ImplRenderModuleGuard::ImplRenderModuleGuard(
DXRenderModule& rRenderModule ) :
mrRenderModule( rRenderModule )
{
mrRenderModule.lock();
}
- inline DXSurface::ImplRenderModuleGuard::~ImplRenderModuleGuard()
+ DXSurface::ImplRenderModuleGuard::~ImplRenderModuleGuard()
{
mrRenderModule.unlock();
}
diff --git a/canvas/source/directx/dx_impltools.cxx b/canvas/source/directx/dx_impltools.cxx
index 27fc270f94c7..392d0ddf7adb 100644
--- a/canvas/source/directx/dx_impltools.cxx
+++ b/canvas/source/directx/dx_impltools.cxx
@@ -166,7 +166,7 @@ namespace dxcanvas
{
// TODO(P2): Check whether this gets inlined. If not, make functor
// out of it
- inline Gdiplus::PointF implGdiPlusPointFromRealPoint2D( const css::geometry::RealPoint2D& rPoint )
+ Gdiplus::PointF implGdiPlusPointFromRealPoint2D( const css::geometry::RealPoint2D& rPoint )
{
return Gdiplus::PointF( static_cast<Gdiplus::REAL>(rPoint.X),
static_cast<Gdiplus::REAL>(rPoint.Y) );