summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/virdev.cxx
diff options
context:
space:
mode:
authorAdrien Ollier <adr.ollier@hotmail.fr>2019-05-06 18:59:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-10 10:56:52 +0200
commit01813e6e86709c929f5e545ba206224f0bb25e5f (patch)
tree033526157e3fed194e3803c94bfe238a96acc541 /vcl/source/gdi/virdev.cxx
parent1eb8859813ff43b3753dcbab9e3e0bdfe7d72edb (diff)
tdf#74702 partial cleanup of OutDevType
VirtualDevice and children are virtual, others not. Change-Id: I9ef7f4d13b26e554b000b2b51216fbdbc6892b08 Signed-off-by: Adrien Ollier <adr.ollier@hotmail.fr> Reviewed-on: https://gerrit.libreoffice.org/71875 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi/virdev.cxx')
-rw-r--r--vcl/source/gdi/virdev.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index 4463ad1ac8b9..ed6123ce2055 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -443,6 +443,11 @@ void VirtualDevice::SetReferenceDevice( sal_Int32 i_nDPIX, sal_Int32 i_nDPIY )
ImplSetReferenceDevice( RefDevMode::Custom, i_nDPIX, i_nDPIY );
}
+bool VirtualDevice::IsVirtual() const
+{
+ return true;
+}
+
void VirtualDevice::ImplSetReferenceDevice( RefDevMode i_eRefDevMode, sal_Int32 i_nDPIX, sal_Int32 i_nDPIY )
{
mnDPIX = i_nDPIX;