summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 15:33:16 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:09 +0200
commitabb774722230ce2b55f2e1f1528fcd0514ba83e1 (patch)
treef2dff7347c134decb78a5770a251619b57df77e6 /dbaccess
parent66dd3427652e4297b12c76bb1a28bc81d4a70c87 (diff)
simplify
Change-Id: I74288b1a29a928d14a022f39b63bbdab1517c68a
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 4cddc7d595a9..c474a19a6bbe 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -270,7 +270,7 @@ namespace
{
m_pBrowseBox->DeactivateCell();
// we are in the right mode if a row hase been selected row
- if ( BrowserMode::HIDESELECT == ( nMode & BrowserMode::HIDESELECT ) )
+ if ( nMode & BrowserMode::HIDESELECT )
{
nMode &= ~BrowserMode::HIDESELECT;
nMode |= BrowserMode::MULTISELECTION;