summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-03-04 00:51:15 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2017-03-04 02:47:50 +0200
commitbaf3940bcafbb1acbaf75e1149e4895986f4c50f (patch)
tree6d0cb9208a87447ad59ee97bbc75efcb00bb9897 /vcl/inc
parent6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (diff)
Avoid needless dynamic_cast’s
It is all CommonSalLayout() for sometime now. Change-Id: I3d4ad56df195f51242c3d007bc5257c071a03a50
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/win/winlayout.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/win/winlayout.hxx b/vcl/inc/win/winlayout.hxx
index b057819d17c4..29122fca42d3 100644
--- a/vcl/inc/win/winlayout.hxx
+++ b/vcl/inc/win/winlayout.hxx
@@ -177,7 +177,7 @@ public:
virtual ~TextOutRenderer() = default;
- virtual bool operator ()(SalLayout const &rLayout, HDC hDC,
+ virtual bool operator ()(CommonSalLayout const &rLayout, HDC hDC,
const Rectangle* pRectToErase,
Point* pPos, int* pGetNextGlypInfo) = 0;
};
@@ -190,7 +190,7 @@ class ExTextOutRenderer : public TextOutRenderer
public:
explicit ExTextOutRenderer() = default;
- bool operator ()(SalLayout const &rLayout, HDC hDC,
+ bool operator ()(CommonSalLayout const &rLayout, HDC hDC,
const Rectangle* pRectToErase,
Point* pPos, int* pGetNextGlypInfo) override;
};
@@ -217,7 +217,7 @@ public:
explicit D2DWriteTextOutRenderer();
virtual ~D2DWriteTextOutRenderer() override;
- bool operator ()(SalLayout const &rLayout, HDC hDC,
+ bool operator ()(CommonSalLayout const &rLayout, HDC hDC,
const Rectangle* pRectToErase,
Point* pPos, int* pGetNextGlypInfo) override;
@@ -249,7 +249,7 @@ private:
D2DWriteTextOutRenderer & operator = (const D2DWriteTextOutRenderer &) = delete;
bool GetDWriteFaceFromHDC(HDC hDC, IDWriteFontFace ** ppFontFace, float * lfSize) const;
- bool GetDWriteInkBox(SalLayout const &rLayout, Rectangle &) const;
+ bool GetDWriteInkBox(CommonSalLayout const &rLayout, Rectangle &) const;
ID2D1Factory * mpD2DFactory;
IDWriteFactory * mpDWriteFactory;