vcl/qt5/Qt5Frame.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6da612a82488e242d876feba94716ec35275f816
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Sep 5 09:01:02 2018 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Sep 5 09:01:02 2018 +0200

    loplugin:staticaccess
    
    Change-Id: I4336b9cf8600acb42812ed8bbf14bb72828338e1

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);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to