summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-08 20:53:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-08 20:53:28 +0200
commit385e6e508af0f2a5c2bd72209ba94f58e8c92f70 (patch)
tree76fa63af36bde3dd45e5867fe876c7837592d515 /vcl
parentfdo#71729: Fill the range edit boxes after the table is fully initialized. (diff)
downloadcore-385e6e508af0f2a5c2bd72209ba94f58e8c92f70.tar.gz
core-385e6e508af0f2a5c2bd72209ba94f58e8c92f70.zip
-Werror,-Wunused-parameter
Change-Id: I85fbbb3aa9e8f124fddfdc46655e59e12d761f71
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 7d6c3cdb976a..0f9833255867 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;