summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index d63b8d34bd82..c315c35f0fd1 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1375,7 +1375,7 @@ tools::Rectangle Application::GetScreenPosSizePixel( unsigned int nScreen )
return tools::Rectangle();
}
tools::Rectangle aRect = pSys->GetDisplayScreenPosSizePixel(nScreen);
- if (aRect.getHeight() == 0)
+ if (aRect.getOpenHeight() == 0)
SAL_WARN("vcl", "Requesting screen size/pos for screen #" << nScreen << " returned 0 height.");
return aRect;
}