summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-01 15:08:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-02 10:30:49 +0200
commit7c610a2a74ca2bde7673b3ceee11c1b3f6b9d498 (patch)
treeef333efac79c7e2eea2de1542488ee2565a506bf /svx/source/tbxctrls
parent7de66670069219c3507734aefc2d600a3bef2071 (diff)
loplugin:constantparam
Change-Id: I9fbfa6163c1d4650c52b00dc911972f07fe7c0e5 Reviewed-on: https://gerrit.libreoffice.org/56778 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 3817aa6741f8..8548ea55946d 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1364,8 +1364,7 @@ SvxColorWindow::SvxColorWindow(const OUString& rCommand,
}
}
-ColorWindow::ColorWindow(const OUString& rCommand,
- std::shared_ptr<PaletteManager> const & rPaletteManager,
+ColorWindow::ColorWindow(std::shared_ptr<PaletteManager> const & rPaletteManager,
BorderColorStatus& rBorderColorStatus,
sal_uInt16 nSlotId,
const Reference< XFrame >& rFrame,
@@ -1375,7 +1374,6 @@ ColorWindow::ColorWindow(const OUString& rCommand,
: ToolbarPopupBase(rFrame)
, m_xBuilder(Application::CreateBuilder(pMenuButton, "svx/ui/colorwindow.ui"))
, theSlotId(nSlotId)
- , maCommand(rCommand)
, mpParentWindow(pParentWindow)
, mpMenuButton(pMenuButton)
, mxPaletteManager(rPaletteManager)
@@ -3788,7 +3786,6 @@ void ColorListBox::createColorWindow()
EnsurePaletteManager();
m_xColorWindow.reset(new ColorWindow(
- OUString() /*m_aCommandURL*/,
m_xPaletteManager,
m_aBorderColorStatus,
0, // slotID