[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Tue Apr 8 11:54:01 PDT 2014


 vcl/source/window/window.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 385e6e508af0f2a5c2bd72209ba94f58e8c92f70
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 8 20:53:08 2014 +0200

    -Werror,-Wunused-parameter
    
    Change-Id: I85fbbb3aa9e8f124fddfdc46655e59e12d761f71

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 7d6c3cd..0f98332 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -866,6 +866,8 @@ static sal_Int32 CountDPIScaleFactor(sal_Int32 nDPI)
     // screen hi-dpi to greater than 168
     if (nDPI > 168)
         nResult = std::max(sal_Int32(1), (nDPI + 48) / 96);
+#else
+    (void)nDPI;
 #endif
 
     return nResult;


More information about the Libreoffice-commits mailing list