diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-06-03 17:49:41 +0900 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-06 12:21:49 +0200 |
commit | abd2cfaa6481ff8b94d849dbc4f533833d809468 (patch) | |
tree | 8bcfa50661214b7d3aa3fb449978e2576c846212 /include | |
parent | 7e21110963c232fa3164d2f00163916799b68454 (diff) |
tdf#91677 fix flickering ruler
Change-Id: Ia14be98fbfd46871b2ac9bd42a07951d86722a8a
(cherry picked from commit f64588a9238cf0cb122c43d927d73822eca3b6ae)
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/ruler.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 4724334c6119..27b1380af08f 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -663,9 +663,10 @@ private: SvtRulerAccessible* pAccContext; - SVT_DLLPRIVATE void ImplVDrawLine( long nX1, long nY1, long nX2, long nY2 ); - SVT_DLLPRIVATE void ImplVDrawRect( long nX1, long nY1, long nX2, long nY2 ); - SVT_DLLPRIVATE void ImplVDrawText( long nX, long nY, const OUString& rText, long nMin = LONG_MIN, long nMax = LONG_MAX ); + SVT_DLLPRIVATE void ImplVDrawLine(vcl::RenderContext& rRenderContext, long nX1, long nY1, long nX2, long nY2 ); + SVT_DLLPRIVATE void ImplVDrawRect(vcl::RenderContext& rRenderContext, long nX1, long nY1, long nX2, long nY2 ); + SVT_DLLPRIVATE void ImplVDrawText(vcl::RenderContext& rRenderContext, long nX, long nY, const OUString& rText, + long nMin = LONG_MIN, long nMax = LONG_MAX ); SVT_DLLPRIVATE void ImplDrawTicks(vcl::RenderContext& rRenderContext, long nMin, long nMax, long nStart, long nVirTop, long nVirBottom); @@ -702,8 +703,6 @@ private: SVT_DLLPRIVATE void ImplDrag( const Point& rPos ); SVT_DLLPRIVATE void ImplEndDrag(); - DECL_DLLPRIVATE_LINK( ImplUpdateHdl, void* ); - Ruler (const Ruler &) SAL_DELETED_FUNCTION; Ruler& operator= (const Ruler &) SAL_DELETED_FUNCTION; |