From 6c9917c7a74e1c14f1c60ad40b96470b6ef08936 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Sep 2019 16:08:36 +0200 Subject: loplugin:constmethod in dbaccess Change-Id: I3bb4784e1a2d828eca30f255a9c9bb4248309b81 Reviewed-on: https://gerrit.libreoffice.org/78603 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/ui/inc/querycontainerwindow.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/inc/querycontainerwindow.hxx') diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx index eb9d9071a9e1..607a38c82920 100644 --- a/dbaccess/source/ui/inc/querycontainerwindow.hxx +++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx @@ -66,9 +66,9 @@ namespace dbaui OQueryDesignView* getDesignView() { return m_pViewSwitch->getDesignView(); } - bool isCutAllowed() { return m_pViewSwitch->isCutAllowed(); } - bool isPasteAllowed() { return m_pViewSwitch->isPasteAllowed(); } - bool isCopyAllowed() { return m_pViewSwitch->isCopyAllowed(); } + bool isCutAllowed() const { return m_pViewSwitch->isCutAllowed(); } + bool isPasteAllowed() const { return m_pViewSwitch->isPasteAllowed(); } + bool isCopyAllowed() const { return m_pViewSwitch->isCopyAllowed(); } void copy() { m_pViewSwitch->copy(); } void cut() { m_pViewSwitch->cut(); } void paste() { m_pViewSwitch->paste(); } -- cgit