summaryrefslogtreecommitdiff
path: root/include/vcl/virdev.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-23 00:57:50 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-23 07:23:42 +1000
commit665bc42d7504c3896a485c8bab17b8eff7d119df (patch)
tree736a10aaf3a5a2cc2bf51d02763309222b2ec190 /include/vcl/virdev.hxx
parent704e5abbe99b41859bb02d816ea1dc439180a5f6 (diff)
Rename VCL's ImplInitGraphics to AcquireGraphics
Turns out, we don't try to initialize a graphics context, much less *acquire* one. e.g. Window instances can have many frames (subwindows), of which one some are really being used at any time so we try to "steal" one of the graphics contexts from the frame to use ourself, later on that frame will steal it from someone else, etc. Change-Id: I66d5dbb7015301bc2d2be51627061c91e1f2ee5d
Diffstat (limited to 'include/vcl/virdev.hxx')
-rw-r--r--include/vcl/virdev.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx
index 072b94d55352..6b1af90a0b45 100644
--- a/include/vcl/virdev.hxx
+++ b/include/vcl/virdev.hxx
@@ -61,7 +61,7 @@ private:
SAL_DLLPRIVATE bool ForceZeroExtleadBug() const
{ return ((meRefDevMode & REFDEV_FORCE_ZERO_EXTLEAD) != 0); }
public:
- bool ImplInitGraphics() const SAL_OVERRIDE;
+ bool AcquireGraphics() const SAL_OVERRIDE;
void ImplReleaseGraphics( bool bRelease = true ) SAL_OVERRIDE;
public: