[Libreoffice-commits] .: vcl/inc vcl/source

Tor Lillqvist tml at kemper.freedesktop.org
Tue May 22 11:42:55 PDT 2012


 vcl/inc/vcl/virdev.hxx    |    1 -
 vcl/source/gdi/virdev.cxx |    3 ---
 2 files changed, 4 deletions(-)

New commits:
commit d3e7913eb981e728360f18f0ebe79e3057fc3315
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Tue May 22 18:03:57 2012 +0300

    Bin unused REFDEV_MODE48
    
    Change-Id: I96997da0eb038cab4bdba32e0d797747623f4853

diff --git a/vcl/inc/vcl/virdev.hxx b/vcl/inc/vcl/virdev.hxx
index 79b8233..49c1be7 100644
--- a/vcl/inc/vcl/virdev.hxx
+++ b/vcl/inc/vcl/virdev.hxx
@@ -110,7 +110,6 @@ public:
     // reference device modes for different compatibility levels
     enum RefDevMode {   REFDEV_NONE = 0,
                         REFDEV_MODE06 = 1,      // 600 dpi
-                        REFDEV_MODE48 = 2,      // 4800 dpi
                         REFDEV_MODE_MSO1 = 3,
                         REFDEV_MODE_PDF1 = 4,
                         REFDEV_CUSTOM = 5
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index 3165d35..cda84e4 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -372,9 +372,6 @@ void VirtualDevice::SetReferenceDevice( RefDevMode i_eRefDevMode )
     case REFDEV_MODE06:
         nDPIX = nDPIY = 600;
         break;
-    case REFDEV_MODE48:
-        nDPIX = nDPIY = 4800;
-        break;
     case REFDEV_MODE_MSO1:
         nDPIX = nDPIY = 6*1440;
         break;


More information about the Libreoffice-commits mailing list