diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-05 13:44:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-06 06:47:06 +0100 |
commit | a2e3705d8b3b05ae664d54b762d6ff72927d5e48 (patch) | |
tree | 6ac31f9c9b419b12dbf065845a6941c143f57e2c /dbaccess/source | |
parent | f423ac2d3bdba4263f1f41e31e7e2b7715afdd6e (diff) |
loplugin:unnecessaryparen improve member expression
Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741
Reviewed-on: https://gerrit.libreoffice.org/68757
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/querydesign/querycontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) ) |