summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-05 09:01:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-05 09:01:02 +0200
commit6da612a82488e242d876feba94716ec35275f816 (patch)
tree0548b302d55ae8cfab50e972cb52638b47484dda /vcl
parentd66f0c88a95adb54e54ca3d5fb291c7b6661738f (diff)
loplugin:staticaccess
Change-Id: I4336b9cf8600acb42812ed8bbf14bb72828338e1
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5Frame.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 018698f3b781..a60f16c82048 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -596,7 +596,7 @@ void Qt5Frame::CaptureMouse(bool bMouse)
void Qt5Frame::SetPointerPos(long nX, long nY)
{
QCursor aCursor = m_pQWidget->cursor();
- aCursor.setPos(m_pQWidget->mapToGlobal(QPoint(nX, nY)));
+ QCursor::setPos(m_pQWidget->mapToGlobal(QPoint(nX, nY)));
m_pQWidget->setCursor(aCursor);
}