summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx4
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; }