diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-11-21 01:34:07 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-11-20 20:36:06 +0000 |
commit | a91d3c0751f75b08561bf7d047043471956af747 (patch) | |
tree | 8aa59cdbd793d0198e60bb167d6f9746fe29d0b8 /include | |
parent | be5ef396a54da1a8aa4b9c23b43496f1f407e447 (diff) |
vcl: remove Application as friend of OutputDevice
Change-Id: Id8296445c72334164db149440c60c89823c94e40
Reviewed-on: https://gerrit.libreoffice.org/12989
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index dfe88aab9347..e1a9ca4d5f0c 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -255,7 +255,6 @@ extern const sal_uLong nVCLLut[ 256 ]; class VCL_DLLPUBLIC OutputDevice: private boost::noncopyable { - friend class Application; friend class ::Bitmap; friend class ImplImageBmp; friend class Printer; @@ -463,6 +462,9 @@ public: */ SAL_DLLPRIVATE sal_Int32 GetDPIY() const { return mnDPIY; } + SAL_DLLPRIVATE void SetDPIX( sal_Int32 nDPIX ) { mnDPIX = nDPIX; } + SAL_DLLPRIVATE void SetDPIY( sal_Int32 nDPIY ) { mnDPIY = nDPIY; } + sal_Int32 GetDPIScaleFactor() const { return mnDPIScaleFactor; } OutDevType GetOutDevType() const { return meOutDevType; } |