summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-25 00:53:01 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-25 01:53:06 +1000
commit35dd2809c1e08bfe0e5d9b19a330a11609085155 (patch)
tree906295bbe1d1850112fe706d7a822b9103cf0ec8 /include/vcl/outdev.hxx
parentea3bbfca488a85cb127cd8882ad171e04b71e54a (diff)
OutputDevice::AcquireGraphics should be protected, not public
Change-Id: I1aacc4a908798fda24de6b6f09b58dcf5d392e70
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 71f8022175c4..07590f373360 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -22,22 +22,27 @@
#include <tools/gen.hxx>
#include <tools/solar.h>
-#include <vcl/dllapi.h>
#include <tools/rc.hxx>
#include <tools/color.hxx>
+#include <tools/poly.hxx>
+
+#include <vcl/dllapi.h>
#include <vcl/font.hxx>
#include <vcl/region.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/wall.hxx>
#include <vcl/metaact.hxx>
#include <vcl/salnativewidgets.hxx>
-#include <tools/poly.hxx>
+
#include <basegfx/vector/b2enums.hxx>
-#include <com/sun/star/uno/Reference.h>
-#include <unotools/fontdefs.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+
+#include <unotools/fontdefs.hxx>
+
#include <boost/scoped_ptr.hpp>
+
#include <com/sun/star/drawing/LineCap.hpp>
+#include <com/sun/star/uno/Reference.h>
#include <vector>
@@ -388,6 +393,7 @@ public:
SAL_DLLPRIVATE SalGraphics const *GetGraphics() const;
SAL_DLLPRIVATE SalGraphics* GetGraphics();
+protected:
/** Acquire a graphics device that the output device uses to draw on.
There is an LRU of OutputDevices that is used to get the graphics. The
@@ -417,6 +423,7 @@ public:
*/
virtual void ImplReleaseGraphics( bool bRelease = true ) = 0;
+public:
/** Initialize the graphics device's data structures.
*/
SAL_DLLPRIVATE void ImplInitOutDevData();