diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-01 09:51:02 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-02 05:34:49 +0000 |
commit | 6c87b028406070332ab1c37dde323b1678cdf8e6 (patch) | |
tree | 51cd2bffdc152c02f7d72f3e98b450f84eb1c6c0 /sdext/source | |
parent | 389b08190092f9a9103b3ac098994ec83b2d0bfa (diff) |
loplugin:countusersofdefaultparams in sd
Change-Id: I848d9b555a26e9d343efdfaaaec44a2c7d8be5b5
Reviewed-on: https://gerrit.libreoffice.org/27765
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/minimizer/optimizerdialogcontrols.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/inc/pdfparse.hxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/inc/wrapper.hxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfiadaptor.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfiadaptor.hxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/test/tests.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.hxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 4 |
9 files changed, 11 insertions, 11 deletions
diff --git a/sdext/source/minimizer/optimizerdialogcontrols.cxx b/sdext/source/minimizer/optimizerdialogcontrols.cxx index 486cad585ffb..45c54a90773d 100644 --- a/sdext/source/minimizer/optimizerdialogcontrols.cxx +++ b/sdext/source/minimizer/optimizerdialogcontrols.cxx @@ -567,7 +567,7 @@ void OptimizerDialog::InitPage3() } -static OUString ImpValueOfInMB( sal_Int64 rVal, sal_Unicode nSeparator = '.' ) +static OUString ImpValueOfInMB( sal_Int64 rVal, sal_Unicode nSeparator ) { double fVal( static_cast<double>( rVal ) ); fVal /= ( 1 << 20 ); diff --git a/sdext/source/pdfimport/inc/pdfparse.hxx b/sdext/source/pdfimport/inc/pdfparse.hxx index 615ee5d2c84d..09a4e171dc2c 100644 --- a/sdext/source/pdfimport/inc/pdfparse.hxx +++ b/sdext/source/pdfimport/inc/pdfparse.hxx @@ -210,7 +210,7 @@ struct PDFStream : public PDFEntry virtual bool emit( EmitContext& rWriteContext ) const override; virtual PDFEntry* clone() const override; - unsigned int getDictLength( const PDFContainer* pObjectContainer = nullptr ) const; // get contents of the "Length" entry of the dict + unsigned int getDictLength( const PDFContainer* pObjectContainer ) const; // get contents of the "Length" entry of the dict }; struct PDFTrailer : public PDFContainer diff --git a/sdext/source/pdfimport/inc/wrapper.hxx b/sdext/source/pdfimport/inc/wrapper.hxx index 6bafce4939d7..0feaaa306eef 100644 --- a/sdext/source/pdfimport/inc/wrapper.hxx +++ b/sdext/source/pdfimport/inc/wrapper.hxx @@ -41,7 +41,7 @@ namespace pdfi const OUString& rPwd, const css::uno::Reference< css::uno::XComponentContext >& xContext, - const OUString& rFilterOptions = OUString()); + const OUString& rFilterOptions); bool xpdf_ImportFromStream( const css::uno::Reference< css::io::XInputStream >& xInput, const ContentSinkSharedPtr& rSink, @@ -50,7 +50,7 @@ namespace pdfi const OUString& rPwd, const css::uno::Reference< css::uno::XComponentContext >& xContext, - const OUString& rFilterOptions = OUString() ); + const OUString& rFilterOptions ); } #endif // INCLUDED_SDEXT_SOURCE_PDFIMPORT_INC_WRAPPER_HXX diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx index 0ac7b9b58f42..f554f8148b8c 100644 --- a/sdext/source/pdfimport/pdfiadaptor.cxx +++ b/sdext/source/pdfimport/pdfiadaptor.cxx @@ -272,7 +272,7 @@ bool PDFIRawAdaptor::odfConvert( const OUString& rURL, const bool bSuccess = parse(uno::Reference<io::XInputStream>(), uno::Reference<task::XInteractionHandler>(), OUString(), - xStatus,pEmitter,rURL); + xStatus,pEmitter,rURL, ""); // tell input stream that it is no longer needed xOutput->closeOutput(); diff --git a/sdext/source/pdfimport/pdfiadaptor.hxx b/sdext/source/pdfimport/pdfiadaptor.hxx index 180a6e86bcb2..db26526787c2 100644 --- a/sdext/source/pdfimport/pdfiadaptor.hxx +++ b/sdext/source/pdfimport/pdfiadaptor.hxx @@ -101,7 +101,7 @@ namespace pdfi const css::uno::Reference<css::task::XStatusIndicator>& xStatus, const XmlEmitterSharedPtr& rEmitter, const OUString& rURL, - const OUString& rFilterOptions = OUString()); + const OUString& rFilterOptions); public: explicit PDFIRawAdaptor( OUString const & implementationName, diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx index 38f09563ae20..d544eb51c9be 100644 --- a/sdext/source/pdfimport/test/tests.cxx +++ b/sdext/source/pdfimport/test/tests.cxx @@ -462,7 +462,7 @@ namespace pSink, uno::Reference< task::XInteractionHandler >(), OUString(), - getComponentContext() ) ); + getComponentContext(), "" ) ); pSink->check(); } diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 7e74f740b8da..5eae94af8c95 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -249,7 +249,7 @@ void DrawXmlEmitter::visit( FrameElement& elem, const std::list< Element* >::con bool bTextBox = (dynamic_cast<ParagraphElement*>(elem.Children.front()) != nullptr); PropertyMap aFrameProps; - fillFrameProps( elem, aFrameProps, m_rEmitContext ); + fillFrameProps( elem, aFrameProps, m_rEmitContext, false ); m_rEmitContext.rEmitter.beginTag( "draw:frame", aFrameProps ); if( bTextBox ) m_rEmitContext.rEmitter.beginTag( "draw:text-box", PropertyMap() ); diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.hxx b/sdext/source/pdfimport/tree/drawtreevisiting.hxx index 02235c4e0711..744c8286cf3f 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.hxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.hxx @@ -89,7 +89,7 @@ namespace pdfi static void fillFrameProps( DrawElement& rElem, PropertyMap& rProps, const EmitContext& rEmitContext, - bool bWasTransformed = false + bool bWasTransformed ); public: diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 0fe71c460d1e..b6dcff7163fd 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -154,7 +154,7 @@ namespace { const Reference<rendering::XCanvas>& rxCanvas); awt::Rectangle GetBoundingBox() const; virtual bool SetState (const bool bIsOver, const bool bIsPressed); - void Invalidate (const bool bSynchronous = true); + void Invalidate (const bool bSynchronous); bool IsOutside (const awt::Rectangle& rBox); virtual bool IsFilling() const; void UpdateState(); @@ -1316,7 +1316,7 @@ bool Element::SetState ( } else if (bModified) { - Invalidate(); + Invalidate(true); } return bModified; |