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 /include/svx | |
parent | 69e233b75a024de60b677f2226d810cb11fe8f94 (diff) |
refactor TreeListBox to use RenderContext
Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/ctredlin.hxx | 4 | ||||
-rw-r--r-- | include/svx/fontlb.hxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 43e71813cb50..a5831d473de8 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -77,8 +77,8 @@ public: The relevant text with the selected color is drawn in the output device. */ - virtual void Paint( - const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; + virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext, + const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; SvLBoxItem* Create() const SAL_OVERRIDE; }; diff --git a/include/svx/fontlb.hxx b/include/svx/fontlb.hxx index dcd6cee74a2e..c609d9f61bb3 100644 --- a/include/svx/fontlb.hxx +++ b/include/svx/fontlb.hxx @@ -51,8 +51,8 @@ public: void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* ) SAL_OVERRIDE; /** Paints this entry to the specified position, using the own font settings. */ - virtual void Paint( - const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; + virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext, + const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; }; @@ -82,7 +82,7 @@ public: /** Removes a selection. */ void SetNoSelection(); - /** Returns the position of the entry currently selected or TREELIST_APPEND. + /** Returns the position of the entry currently selected or TREELIST_APPEND. */ sal_uLong GetSelectEntryPos() const; |