diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-11 09:41:13 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-11 10:03:29 +0900 |
commit | 25a0bd7b909fb8c87387d1413060f6c4ba5a51bd (patch) | |
tree | 69d3cdabb9c74ef29dd6e031156e09121e0eba39 /sfx2/source/dialog | |
parent | 69e233b75a024de60b677f2226d810cb11fe8f94 (diff) |
refactor TreeListBox to use RenderContext
Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index c75b6fa9aa08..373c2935dd27 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -91,6 +91,7 @@ public: virtual void Paint(const Point& aPos, SvTreeListBox& rDevice, + vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; @@ -143,7 +144,7 @@ void StyleLBoxString::InitViewData(SvTreeListBox* pView, SvTreeListEntry* pEntry } void StyleLBoxString::Paint( - const Point& aPos, SvTreeListBox& rDevice, + const Point& aPos, SvTreeListBox& /*rDevice*/, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) { if (!pEntry) @@ -159,7 +160,7 @@ void StyleLBoxString::Paint( if (!bResult) { - rDevice.DrawText(aPos, GetText()); + rRenderContext.DrawText(aPos, GetText()); } } |