From 88657bf4bed6754c182b08a442d8582a7ad30ece Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Fri, 2 Nov 2018 00:44:01 +0100 Subject: Qt5 constify some functions to fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic0e85b2077c89a63301cf1d5b1cede7f6a0d7dce Reviewed-on: https://gerrit.libreoffice.org/62767 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/inc/qt5/Qt5Frame.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vcl/inc') diff --git a/vcl/inc/qt5/Qt5Frame.hxx b/vcl/inc/qt5/Qt5Frame.hxx index f3fd1f19b0ec..766044a7b6d5 100644 --- a/vcl/inc/qt5/Qt5Frame.hxx +++ b/vcl/inc/qt5/Qt5Frame.hxx @@ -84,7 +84,7 @@ class VCLPLUG_QT5_PUBLIC Qt5Frame : public QObject, public SalFrame Size CalcDefaultSize(); void SetDefaultSize(); - bool isChild(bool bPlug = true, bool bSysChild = true) + bool isChild(bool bPlug = true, bool bSysChild = true) const { SalFrameStyleFlags nMask = SalFrameStyleFlags::NONE; if (bPlug) @@ -94,11 +94,11 @@ class VCLPLUG_QT5_PUBLIC Qt5Frame : public QObject, public SalFrame return bool(m_nStyle & nMask); } - bool isWindow(); - QWindow* windowHandle(); - QScreen* screen(); - bool isMinimized(); - bool isMaximized(); + bool isWindow() const; + QWindow* windowHandle() const; + QScreen* screen() const; + bool isMinimized() const; + bool isMaximized() const; void TriggerPaintEvent(); void TriggerPaintEvent(QRect aRect); -- cgit