summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 15:06:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 08:53:47 +0200
commit93a9b70c7fe4d68f8d41edb25bc00bcac4439667 (patch)
tree4ed9020aecb400df3b6805e163a360b5c8bee888 /dbaccess
parentac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (diff)
loplugin:checkunusedparams in svtools
Change-Id: Iea68d7c0683740acaf4f85c14efe2a33e0cf13e7 Reviewed-on: https://gerrit.libreoffice.org/37201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx4
-rw-r--r--dbaccess/source/ui/control/TableGrantCtrl.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 0686504c8099..6983e70fbe14 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1250,7 +1250,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
break;
long nRow = GetRowAtYPosPixel(rEvt.maPosPixel.Y(), false);
- sal_uInt16 nCol = GetColumnAtXPosPixel(rEvt.maPosPixel.X(), false);
+ sal_uInt16 nCol = GetColumnAtXPosPixel(rEvt.maPosPixel.X());
long nCorrectRowCount = GetRowCount();
if (GetOptions() & DbGridControlOptions::Insert)
@@ -1344,7 +1344,7 @@ sal_Int8 SbaGridControl::ExecuteDrop( const BrowserExecuteDropEvent& rEvt )
if ( IsDropFormatSupported( SotClipboardFormatId::STRING ) )
{
long nRow = GetRowAtYPosPixel(rEvt.maPosPixel.Y(), false);
- sal_uInt16 nCol = GetColumnAtXPosPixel(rEvt.maPosPixel.X(), false);
+ sal_uInt16 nCol = GetColumnAtXPosPixel(rEvt.maPosPixel.X());
long nCorrectRowCount = GetRowCount();
if (GetOptions() & DbGridControlOptions::Insert)
diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx
index 1e07be29d9ea..42d50aa5b153 100644
--- a/dbaccess/source/ui/control/TableGrantCtrl.cxx
+++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx
@@ -393,9 +393,9 @@ void OTableGrantControl::PaintCell( OutputDevice& rDev, const tools::Rectangle&
{
TTablePrivilegeMap::const_iterator aFind = findPrivilege(m_nDataPos);
if(aFind != m_aPrivMap.end())
- PaintTristate(rDev, rRect, isAllowed(nColumnId,aFind->second.nRights) ? TRISTATE_TRUE : TRISTATE_FALSE,isAllowed(nColumnId,aFind->second.nWithGrant));
+ PaintTristate(rRect, isAllowed(nColumnId,aFind->second.nRights) ? TRISTATE_TRUE : TRISTATE_FALSE,isAllowed(nColumnId,aFind->second.nWithGrant));
else
- PaintTristate(rDev, rRect, TRISTATE_FALSE, false);
+ PaintTristate(rRect, TRISTATE_FALSE, false);
}
else
{
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 8c37af77531f..7058f2d7caf2 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1220,7 +1220,7 @@ void OSelectionBrowseBox::PaintCell(OutputDevice& rDev, const tools::Rectangle&
long nRow = GetRealRow(m_nSeekRow);
if (nRow == BROW_VIS_ROW)
- PaintTristate(rDev, rRect, pEntry->IsVisible() ? TRISTATE_TRUE : TRISTATE_FALSE);
+ PaintTristate(rRect, pEntry->IsVisible() ? TRISTATE_TRUE : TRISTATE_FALSE);
else
rDev.DrawText(rRect, GetCellText(nRow, nColumnId),DrawTextFlags::VCenter);