diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-07-06 11:03:04 +0300 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-02-06 17:00:16 -0500 |
commit | 4c7cb38eb9de1a77427031d400e14c6d74758fc3 (patch) | |
tree | 13fdcc8f5b141e072615506e312f3b55f55fad1f /include | |
parent | bd1d61324244d26d8581f784d7b8c6cce529a6be (diff) |
ImplRestore() can be private
It is only called from other member functions.
Also, all the calls are inside conditionals that check mpData &&
mpData->mbCurVisible already, so no need to check anew in the function. Use an
assert() instead.
Change-Id: Ibcde0aa43877b64b9b0ae5117cbda1fb44ee023d
(cherry picked from commit 166ee1186c46bdedae14c87bd122d56301f30d48)
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/cursor.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx index 3a1127e7893b..baf04d26b7c6 100644 --- a/include/vcl/cursor.hxx +++ b/include/vcl/cursor.hxx @@ -55,7 +55,6 @@ private: public: SAL_DLLPRIVATE void ImplDraw(); - SAL_DLLPRIVATE void ImplRestore(); DECL_DLLPRIVATE_LINK_TYPED( ImplTimerHdl, Timer*, void ); SAL_DLLPRIVATE void ImplShow( bool bDrawDirect = true ); SAL_DLLPRIVATE void ImplHide( bool bStopTimer ); @@ -101,6 +100,7 @@ public: { return !(Cursor::operator==( rCursor )); } private: + void ImplRestore(); void ImplDoShow( bool bDrawDirect, bool bRestore ); bool ImplDoHide( bool bStop ); }; |