diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-25 00:53:01 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-25 01:53:06 +1000 |
commit | 35dd2809c1e08bfe0e5d9b19a330a11609085155 (patch) | |
tree | 906295bbe1d1850112fe706d7a822b9103cf0ec8 /include/vcl/virdev.hxx | |
parent | ea3bbfca488a85cb127cd8882ad171e04b71e54a (diff) |
OutputDevice::AcquireGraphics should be protected, not public
Change-Id: I1aacc4a908798fda24de6b6f09b58dcf5d392e70
Diffstat (limited to 'include/vcl/virdev.hxx')
-rw-r--r-- | include/vcl/virdev.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx index 6b1af90a0b45..16272703a592 100644 --- a/include/vcl/virdev.hxx +++ b/include/vcl/virdev.hxx @@ -60,9 +60,10 @@ private: #define REFDEV_FORCE_ZERO_EXTLEAD 0x80 SAL_DLLPRIVATE bool ForceZeroExtleadBug() const { return ((meRefDevMode & REFDEV_FORCE_ZERO_EXTLEAD) != 0); } -public: - bool AcquireGraphics() const SAL_OVERRIDE; - void ImplReleaseGraphics( bool bRelease = true ) SAL_OVERRIDE; + +protected: + virtual bool AcquireGraphics() const SAL_OVERRIDE; + virtual void ImplReleaseGraphics( bool bRelease = true ) SAL_OVERRIDE; public: /** Create a virtual device of size 1x1 |