summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2018-09-09 12:26:59 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2018-09-09 21:08:01 +0200
commit1b49ad9550ce69e29ad0fcdf32d2f345b58ff76d (patch)
treede41fa894c5e65522905f1726554f9a5b8104930 /dbaccess/source
parent7ce0fbe7e71cfde8a73f359fac5dd9ed02587be7 (diff)
Remove return variable
Change-Id: I322386e103e21e2660716419dd0747765ee087de
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 97848337ffa4..65fd640ba363 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -2145,7 +2145,6 @@ OUString OSelectionBrowseBox::GetCellText(long nRow, sal_uInt16 nColId) const
bool OSelectionBrowseBox::GetFunctionName(sal_uInt32 _nFunctionTokenId, OUString& rFkt)
{
- bool bErg=true;
switch(_nFunctionTokenId)
{
case SQL_TOKEN_COUNT:
@@ -2205,11 +2204,11 @@ bool OSelectionBrowseBox::GetFunctionName(sal_uInt32 _nFunctionTokenId, OUString
return true;
}
}
- bErg = false;
+ return false;
}
}
- return bErg;
+ return true;
}
OUString OSelectionBrowseBox::GetCellContents(sal_Int32 nCellIndex, sal_uInt16 nColId)