diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-05 08:58:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-09-05 08:58:27 +0200 |
commit | d66f0c88a95adb54e54ca3d5fb291c7b6661738f (patch) | |
tree | df3952d7f7b4462adaf65b269e7d73f424c9ad3c /vcl | |
parent | 2020bd758cc51d1eb47fdc1d6711770e064db8b6 (diff) |
-Werror,-Wunused-result
(And <https://doc.qt.io/archives/qt-4.8/qregion.html#united> indeed says:
"Returns a region which is the union of this region and r.")
Change-Id: Icc18376e89167029823f64a01236a4fccaf7ea3a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index e90ab1119a93..018698f3b781 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -807,7 +807,7 @@ void Qt5Frame::BeginSetClipRegion(sal_uLong) void Qt5Frame::UnionClipRegion(long nX, long nY, long nWidth, long nHeight) { - m_aRegion.united(QRegion(nX, nY, nWidth, nHeight)); + m_aRegion = m_aRegion.united(QRegion(nX, nY, nWidth, nHeight)); } void Qt5Frame::EndSetClipRegion() { m_bNullRegion = false; } |