diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-23 10:33:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-23 11:22:33 +0200 |
commit | 121912a5022b07fc04db4ed017c6b9606cec469c (patch) | |
tree | 7992f7081d352816e096d990d224295ae66d2ed4 /extensions | |
parent | dbf54937c46051b65605822407158b073132b927 (diff) |
loplugin:constantparam in extensins
Change-Id: Iab77bb089e77460f75466259d7b63ed49453b8f4
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/loadlisteneradapter.cxx | 4 | ||||
-rw-r--r-- | extensions/source/bibliography/loadlisteneradapter.hxx | 3 | ||||
-rw-r--r-- | extensions/source/scanner/grid.cxx | 4 | ||||
-rw-r--r-- | extensions/source/scanner/grid.hxx | 2 |
4 files changed, 6 insertions, 7 deletions
diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx index 505155ccdfba..bb452bfcb52a 100644 --- a/extensions/source/bibliography/loadlisteneradapter.cxx +++ b/extensions/source/bibliography/loadlisteneradapter.cxx @@ -126,8 +126,8 @@ namespace bib m_xComponent = nullptr; } - OLoadListenerAdapter::OLoadListenerAdapter( const Reference< XLoadable >& _rxLoadable, bool _bAutoRelease ) - :OComponentAdapterBase( Reference< XComponent >( _rxLoadable, UNO_QUERY ), _bAutoRelease ) + OLoadListenerAdapter::OLoadListenerAdapter( const Reference< XLoadable >& _rxLoadable ) + :OComponentAdapterBase( Reference< XComponent >( _rxLoadable, UNO_QUERY ), true/*_bAutoRelease*/ ) { } diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx index 90880fc12e13..5e7f4e4c4c76 100644 --- a/extensions/source/bibliography/loadlisteneradapter.hxx +++ b/extensions/source/bibliography/loadlisteneradapter.hxx @@ -133,8 +133,7 @@ namespace bib public: OLoadListenerAdapter( - const css::uno::Reference< css::form::XLoadable >& _rxLoadable, - bool _bAutoRelease = true + const css::uno::Reference< css::form::XLoadable >& _rxLoadable ); diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index a4e6ab76580f..08dffad52f39 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -200,14 +200,14 @@ Size GridWindow::GetOptimalSize() const return LogicToPixel(Size(240, 200), MAP_APPFONT); } -GridDialog::GridDialog(double* pXValues, double* pYValues, int nValues, vcl::Window* pParent, bool bCutValues ) +GridDialog::GridDialog(double* pXValues, double* pYValues, int nValues, vcl::Window* pParent ) : ModalDialog(pParent, "GridDialog", "modules/scanner/ui/griddialog.ui") { get(m_pOKButton, "ok"); get(m_pResetTypeBox, "resetTypeCombobox"); get(m_pResetButton, "resetButton"); get(m_pGridWindow, "gridwindow"); - m_pGridWindow->Init(pXValues, pYValues, nValues, bCutValues, get<FixedImage>("handle")->GetImage().GetBitmapEx()); + m_pGridWindow->Init(pXValues, pYValues, nValues, true/*bCutValues*/, get<FixedImage>("handle")->GetImage().GetBitmapEx()); m_pResetTypeBox->SelectEntryPos( 0 ); diff --git a/extensions/source/scanner/grid.hxx b/extensions/source/scanner/grid.hxx index 5d100b9b3e67..1167a84c27db 100644 --- a/extensions/source/scanner/grid.hxx +++ b/extensions/source/scanner/grid.hxx @@ -48,7 +48,7 @@ class GridDialog : public ModalDialog public: GridDialog(double* pXValues, double* pYValues, int nValues, - vcl::Window* pParent, bool bCutValues = true); + vcl::Window* pParent); virtual ~GridDialog(); virtual void dispose() override; void setBoundings(double fMinX, double fMinY, double fMaxX, double fMaxY); |