summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-26 09:16:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 08:44:42 +0100
commit675fbe9e2d4e3d94d575cdc087c17b0860354fb3 (patch)
tree33a8f368b1fe5bea90e76203aa58e531eae0a690 /canvas
parent85453425a8d95e9fa70cb9a084c830077e385ef0 (diff)
-Werror,-Wunused-function
Change-Id: Ic238339b521dbff2d7fbe899127ac7954036300f
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_textlayout.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/canvas/source/directx/dx_textlayout.cxx b/canvas/source/directx/dx_textlayout.cxx
index fc3111ab0db6..cca32010b5bd 100644
--- a/canvas/source/directx/dx_textlayout.cxx
+++ b/canvas/source/directx/dx_textlayout.cxx
@@ -209,17 +209,6 @@ namespace dxcanvas
return maText;
}
- namespace
- {
- // TODO(P2): Check whether this gets inlined. If not, make functor
- // out of it
- inline Gdiplus::PointF gdiPlusPointFromDx( const double& dx )
- {
- return Gdiplus::PointF( static_cast<Gdiplus::REAL>(dx),
- 0.0f );
- }
- }
-
bool TextLayout::draw( const GraphicsSharedPtr& rGraphics,
const rendering::ViewState& rViewState,
const rendering::RenderState& rRenderState,