summaryrefslogtreecommitdiff
path: root/vcl/qt5/QtSystem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qt5/QtSystem.cxx')
-rw-r--r--vcl/qt5/QtSystem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qt5/QtSystem.cxx b/vcl/qt5/QtSystem.cxx
index 5f5f4ad284e5..d43e47832faa 100644
--- a/vcl/qt5/QtSystem.cxx
+++ b/vcl/qt5/QtSystem.cxx
@@ -16,10 +16,10 @@
unsigned int QtSystem::GetDisplayScreenCount() { return QGuiApplication::screens().size(); }
-tools::Rectangle QtSystem::GetDisplayScreenPosSizePixel(unsigned int nScreen)
+AbsoluteScreenPixelRectangle QtSystem::GetDisplayScreenPosSizePixel(unsigned int nScreen)
{
QRect qRect = QGuiApplication::screens().at(nScreen)->geometry();
- return toRectangle(scaledQRect(qRect, qApp->devicePixelRatio()));
+ return AbsoluteScreenPixelRectangle(toRectangle(scaledQRect(qRect, qApp->devicePixelRatio())));
}
int QtSystem::ShowNativeDialog(const OUString&, const OUString&, const std::vector<OUString>&)