diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-28 16:29:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-29 10:01:45 +0100 |
commit | 6a3413a2336433b1359db95cdf52eec0c93b632e (patch) | |
tree | 11cb8fa3329b6ad8fa5e77a349c706133f510e9c /include/oox | |
parent | 4e0dd43f9a90917676a46e451abaaaa2e52d7f2e (diff) |
loplugin:countusersofdefaultparams in include/oox..vcl
Change-Id: If831bce4cd1fe2c5233159b31c239b813629e0de
Reviewed-on: https://gerrit.libreoffice.org/45420
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/dump/dumperbase.hxx | 10 | ||||
-rw-r--r-- | include/oox/export/drawingml.hxx | 8 | ||||
-rw-r--r-- | include/oox/export/vmlexport.hxx | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx index dcde6ff1808f..97a36f3699ba 100644 --- a/include/oox/dump/dumperbase.hxx +++ b/include/oox/dump/dumperbase.hxx @@ -248,8 +248,8 @@ class StringHelper public: // append string to string ------------------------------------------------ - static void appendChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount = 1 ); - static void appendString( OUStringBuffer& rStr, const OUString& rData, sal_Int32 nWidth = 0, sal_Unicode cFill = ' ' ); + static void appendChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount ); + static void appendString( OUStringBuffer& rStr, const OUString& rData, sal_Int32 nWidth, sal_Unicode cFill = ' ' ); // append decimal --------------------------------------------------------- @@ -313,7 +313,7 @@ public: // encoded text output ---------------------------------------------------- static void appendCChar( OUStringBuffer& rStr, sal_Unicode cChar, bool bPrefix = true ); - static void appendEncChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount = 1, bool bPrefix = true ); + static void appendEncChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount, bool bPrefix = true ); static void appendEncString( OUStringBuffer& rStr, const OUString& rData, bool bPrefix = true ); // token list ------------------------------------------------------------- @@ -967,7 +967,7 @@ public: void writeBin( Type nData, bool bDots = true ) { StringHelper::appendBin( maLine, nData, bDots ); } template< typename Type > - void writeFix( Type nData, sal_Int32 nWidth = 0 ) + void writeFix( Type nData, sal_Int32 nWidth ) { StringHelper::appendFix( maLine, nData, nWidth ); } template< typename Type > void writeValue( Type nData, FormatType eFmtType ) @@ -1367,7 +1367,7 @@ protected: virtual bool implIsValid() const override; void skipBlock( sal_Int64 nBytes, bool bShowSize = true ); - void dumpRawBinary( sal_Int64 nBytes, bool bShowOffset = true, bool bStream = false ); + void dumpRawBinary( sal_Int64 nBytes, bool bShowOffset, bool bStream = false ); void dumpBinary( const String& rName, sal_Int64 nBytes, bool bShowOffset = true ); void dumpRemaining( sal_Int64 nBytes ); diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx index 627bcc983706..2e0625c43ed9 100644 --- a/include/oox/export/drawingml.hxx +++ b/include/oox/export/drawingml.hxx @@ -150,7 +150,7 @@ protected: static bool EqualGradients( css::awt::Gradient aGradient1, css::awt::Gradient aGradient2 ); public: - DrawingML( ::sax_fastparser::FSHelperPtr pFS, ::oox::core::XmlFilterBase* pFB = nullptr, DocumentType eDocumentType = DOCUMENT_PPTX, DMLTextExport* pTextExport = nullptr ) + DrawingML( ::sax_fastparser::FSHelperPtr pFS, ::oox::core::XmlFilterBase* pFB, DocumentType eDocumentType = DOCUMENT_PPTX, DMLTextExport* pTextExport = nullptr ) : meDocumentType( eDocumentType ), mpTextExport(pTextExport), mpFS( pFS ), mpFB( pFB ), mbIsBackgroundDark( false ) {} void SetFS( ::sax_fastparser::FSHelperPtr pFS ) { mpFS = pFS; } const ::sax_fastparser::FSHelperPtr& GetFS() { return mpFS; } @@ -193,7 +193,7 @@ public: void WriteLinespacing( const css::style::LineSpacing& rLineSpacing ); OUString WriteBlip( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet, - const OUString& rURL, bool bRelPathToMedia = false , const Graphic *pGraphic=nullptr ); + const OUString& rURL, bool bRelPathToMedia, const Graphic *pGraphic=nullptr ); void WriteBlipMode( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet, const OUString& rURL ); void WriteShapeTransformation(const css::uno::Reference< css::drawing::XShape >& rXShape, @@ -201,7 +201,7 @@ public: void WriteTransformation(const tools::Rectangle& rRectangle, sal_Int32 nXmlNamespace, bool bFlipH = false, bool bFlipV = false, sal_Int32 nRotation = 0, bool bIsGroupShape = false); - void WriteText( const css::uno::Reference< css::uno::XInterface >& rXIface, const OUString& presetWarp, bool bBodyPr = true, bool bText = true, sal_Int32 nXmlNamespace = 0); + void WriteText( const css::uno::Reference< css::uno::XInterface >& rXIface, const OUString& presetWarp, bool bBodyPr, bool bText = true, sal_Int32 nXmlNamespace = 0); void WriteParagraph( const css::uno::Reference< css::text::XTextContent >& rParagraph, bool& rbOverridingCharHeight, sal_Int32& rnCharHeight ); void WriteParagraphProperties( const css::uno::Reference< css::text::XTextContent >& rParagraph ); @@ -244,7 +244,7 @@ public: const css::uno::Reference< css::io::XOutputStream >& xParentRelation, const char* sContentType, const char* sRelationshipType, - OUString* pRelationshipId = nullptr ); + OUString* pRelationshipId ); }; diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx index c50c6a77a53e..0564eff65832 100644 --- a/include/oox/export/vmlexport.hxx +++ b/include/oox/export/vmlexport.hxx @@ -137,7 +137,7 @@ public: OString AddSdrObject( const SdrObject& rObj, sal_Int16 eHOri = -1, sal_Int16 eVOri = -1, sal_Int16 eHRel = -1, sal_Int16 eVRel = -1, const bool bOOxmlExport = false ); - OString AddInlineSdrObject( const SdrObject& rObj, const bool bOOxmlExport = false ); + OString AddInlineSdrObject( const SdrObject& rObj, const bool bOOxmlExport ); virtual void AddSdrObjectVMLObject( const SdrObject& rObj) override; static bool IsWaterMarkShape(const OUString& rStr); |