From a2e3705d8b3b05ae664d54b762d6ff72927d5e48 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Mar 2019 13:44:17 +0200 Subject: loplugin:unnecessaryparen improve member expression Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741 Reviewed-on: https://gerrit.libreoffice.org/68757 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/ui/querydesign/querycontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 48e02ec47111..9ed4334768e8 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -870,7 +870,7 @@ void OQueryController::impl_initialize() ClearUndoManager(); - if ( ( m_bGraphicalDesign ) + if ( m_bGraphicalDesign && ( ( m_sName.isEmpty() && !editingCommand() ) || ( m_sStatement.isEmpty() && editingCommand() ) ) -- cgit