Kaydet (Commit) 6a3413a2 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:countusersofdefaultparams in include/oox..vcl

Change-Id: If831bce4cd1fe2c5233159b31c239b813629e0de
Reviewed-on: https://gerrit.libreoffice.org/45420Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 4e0dd43f
...@@ -248,8 +248,8 @@ class StringHelper ...@@ -248,8 +248,8 @@ class StringHelper
public: public:
// append string to string ------------------------------------------------ // append string to string ------------------------------------------------
static void appendChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount = 1 ); static void appendChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount );
static void appendString( OUStringBuffer& rStr, const OUString& rData, sal_Int32 nWidth = 0, sal_Unicode cFill = ' ' ); static void appendString( OUStringBuffer& rStr, const OUString& rData, sal_Int32 nWidth, sal_Unicode cFill = ' ' );
// append decimal --------------------------------------------------------- // append decimal ---------------------------------------------------------
...@@ -313,7 +313,7 @@ public: ...@@ -313,7 +313,7 @@ public:
// encoded text output ---------------------------------------------------- // encoded text output ----------------------------------------------------
static void appendCChar( OUStringBuffer& rStr, sal_Unicode cChar, bool bPrefix = true ); 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 ); static void appendEncString( OUStringBuffer& rStr, const OUString& rData, bool bPrefix = true );
// token list ------------------------------------------------------------- // token list -------------------------------------------------------------
...@@ -967,7 +967,7 @@ public: ...@@ -967,7 +967,7 @@ public:
void writeBin( Type nData, bool bDots = true ) void writeBin( Type nData, bool bDots = true )
{ StringHelper::appendBin( maLine, nData, bDots ); } { StringHelper::appendBin( maLine, nData, bDots ); }
template< typename Type > template< typename Type >
void writeFix( Type nData, sal_Int32 nWidth = 0 ) void writeFix( Type nData, sal_Int32 nWidth )
{ StringHelper::appendFix( maLine, nData, nWidth ); } { StringHelper::appendFix( maLine, nData, nWidth ); }
template< typename Type > template< typename Type >
void writeValue( Type nData, FormatType eFmtType ) void writeValue( Type nData, FormatType eFmtType )
...@@ -1367,7 +1367,7 @@ protected: ...@@ -1367,7 +1367,7 @@ protected:
virtual bool implIsValid() const override; virtual bool implIsValid() const override;
void skipBlock( sal_Int64 nBytes, bool bShowSize = true ); 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 dumpBinary( const String& rName, sal_Int64 nBytes, bool bShowOffset = true );
void dumpRemaining( sal_Int64 nBytes ); void dumpRemaining( sal_Int64 nBytes );
......
...@@ -150,7 +150,7 @@ protected: ...@@ -150,7 +150,7 @@ protected:
static bool EqualGradients( css::awt::Gradient aGradient1, css::awt::Gradient aGradient2 ); static bool EqualGradients( css::awt::Gradient aGradient1, css::awt::Gradient aGradient2 );
public: 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 ) {} : meDocumentType( eDocumentType ), mpTextExport(pTextExport), mpFS( pFS ), mpFB( pFB ), mbIsBackgroundDark( false ) {}
void SetFS( ::sax_fastparser::FSHelperPtr pFS ) { mpFS = pFS; } void SetFS( ::sax_fastparser::FSHelperPtr pFS ) { mpFS = pFS; }
const ::sax_fastparser::FSHelperPtr& GetFS() { return mpFS; } const ::sax_fastparser::FSHelperPtr& GetFS() { return mpFS; }
...@@ -193,7 +193,7 @@ public: ...@@ -193,7 +193,7 @@ public:
void WriteLinespacing( const css::style::LineSpacing& rLineSpacing ); void WriteLinespacing( const css::style::LineSpacing& rLineSpacing );
OUString WriteBlip( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet, 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 WriteBlipMode( const css::uno::Reference< css::beans::XPropertySet >& rXPropSet, const OUString& rURL );
void WriteShapeTransformation(const css::uno::Reference< css::drawing::XShape >& rXShape, void WriteShapeTransformation(const css::uno::Reference< css::drawing::XShape >& rXShape,
...@@ -201,7 +201,7 @@ public: ...@@ -201,7 +201,7 @@ public:
void WriteTransformation(const tools::Rectangle& rRectangle, void WriteTransformation(const tools::Rectangle& rRectangle,
sal_Int32 nXmlNamespace, bool bFlipH = false, bool bFlipV = false, sal_Int32 nRotation = 0, bool bIsGroupShape = false); 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, void WriteParagraph( const css::uno::Reference< css::text::XTextContent >& rParagraph,
bool& rbOverridingCharHeight, sal_Int32& rnCharHeight ); bool& rbOverridingCharHeight, sal_Int32& rnCharHeight );
void WriteParagraphProperties( const css::uno::Reference< css::text::XTextContent >& rParagraph ); void WriteParagraphProperties( const css::uno::Reference< css::text::XTextContent >& rParagraph );
...@@ -244,7 +244,7 @@ public: ...@@ -244,7 +244,7 @@ public:
const css::uno::Reference< css::io::XOutputStream >& xParentRelation, const css::uno::Reference< css::io::XOutputStream >& xParentRelation,
const char* sContentType, const char* sContentType,
const char* sRelationshipType, const char* sRelationshipType,
OUString* pRelationshipId = nullptr ); OUString* pRelationshipId );
}; };
......
...@@ -137,7 +137,7 @@ public: ...@@ -137,7 +137,7 @@ public:
OString AddSdrObject( const SdrObject& rObj, sal_Int16 eHOri = -1, OString AddSdrObject( const SdrObject& rObj, sal_Int16 eHOri = -1,
sal_Int16 eVOri = -1, sal_Int16 eHRel = -1, sal_Int16 eVOri = -1, sal_Int16 eHRel = -1,
sal_Int16 eVRel = -1, const bool bOOxmlExport = false ); 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; virtual void AddSdrObjectVMLObject( const SdrObject& rObj) override;
static bool IsWaterMarkShape(const OUString& rStr); static bool IsWaterMarkShape(const OUString& rStr);
......
...@@ -45,7 +45,7 @@ namespace toolkit ...@@ -45,7 +45,7 @@ namespace toolkit
DECL_LINK( ScrollBarHdl, ScrollBar*, void ); DECL_LINK( ScrollBarHdl, ScrollBar*, void );
public: public:
ScrollableDialog( vcl::Window* pParent, WinBits nStyle = WB_STDDIALOG, Dialog::InitFlag eFlag = Dialog::InitFlag::Default ); ScrollableDialog( vcl::Window* pParent, WinBits nStyle, Dialog::InitFlag eFlag = Dialog::InitFlag::Default );
virtual ~ScrollableDialog() override; virtual ~ScrollableDialog() override;
virtual void dispose() override; virtual void dispose() override;
// Window // Window
......
...@@ -20,7 +20,7 @@ namespace bitmap { ...@@ -20,7 +20,7 @@ namespace bitmap {
BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE); BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE);
void loadFromSvg(SvStream& rStream, const OUString& sPath, BitmapEx& rBitmapEx, double fScaleFactor = 1.0); void loadFromSvg(SvStream& rStream, const OUString& sPath, BitmapEx& rBitmapEx, double fScaleFactor);
}} // end vcl::bitmap }} // end vcl::bitmap
......
...@@ -574,7 +574,7 @@ public: ...@@ -574,7 +574,7 @@ public:
const Color* pSearchColors, const Color* pSearchColors,
const Color* rReplaceColors, const Color* rReplaceColors,
sal_uLong nColorCount, sal_uLong nColorCount,
sal_uLong* pTols = nullptr ); sal_uLong* pTols );
/** Convert the bitmap to a meta file /** Convert the bitmap to a meta file
......
...@@ -38,7 +38,7 @@ protected: ...@@ -38,7 +38,7 @@ protected:
virtual sal_uInt64 UpdateMinPeriod( virtual sal_uInt64 UpdateMinPeriod(
sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override; sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override;
Idle( bool bAuto, const sal_Char *pDebugName = nullptr ); Idle( bool bAuto, const sal_Char *pDebugName );
public: public:
Idle( const sal_Char *pDebugName = nullptr ); Idle( const sal_Char *pDebugName = nullptr );
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
class VCL_DLLPUBLIC AutoIdle : public Idle class VCL_DLLPUBLIC AutoIdle : public Idle
{ {
public: public:
AutoIdle( const sal_Char *pDebugName = nullptr ); AutoIdle( const sal_Char *pDebugName );
}; };
......
...@@ -75,7 +75,7 @@ public: ...@@ -75,7 +75,7 @@ public:
void requestLegacyContext(); void requestLegacyContext();
bool init(vcl::Window* pParent = nullptr); bool init(vcl::Window* pParent);
bool init(SystemChildWindow* pChildWindow); bool init(SystemChildWindow* pChildWindow);
void reset(); void reset();
......
...@@ -34,7 +34,7 @@ protected: ...@@ -34,7 +34,7 @@ protected:
virtual sal_uInt64 UpdateMinPeriod( virtual sal_uInt64 UpdateMinPeriod(
sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override; sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override;
Timer( bool bAuto, const sal_Char *pDebugName = nullptr ); Timer( bool bAuto, const sal_Char *pDebugName );
public: public:
Timer( const sal_Char *pDebugName = nullptr ); Timer( const sal_Char *pDebugName = nullptr );
......
...@@ -327,7 +327,7 @@ public: ...@@ -327,7 +327,7 @@ public:
void CopyItem( const ToolBox& rToolBox, sal_uInt16 nItemId ); void CopyItem( const ToolBox& rToolBox, sal_uInt16 nItemId );
void Clear(); void Clear();
void SetButtonType( ButtonType eNewType = ButtonType::SYMBOLONLY ); void SetButtonType( ButtonType eNewType );
ButtonType GetButtonType() const { return meButtonType; } ButtonType GetButtonType() const { return meButtonType; }
// sets a fixed button size (small, large or dontcare (==autosize)) // sets a fixed button size (small, large or dontcare (==autosize))
......
...@@ -79,7 +79,7 @@ public: ...@@ -79,7 +79,7 @@ public:
/** /**
@overload void ShowFullScreenMode(bool bFullScreenMode, sal_Int32 nDisplayScreen) @overload void ShowFullScreenMode(bool bFullScreenMode, sal_Int32 nDisplayScreen)
*/ */
void ShowFullScreenMode( bool bFullScreenMode = true ); void ShowFullScreenMode( bool bFullScreenMode );
bool IsFullScreenMode() const { return mbFullScreenMode; } bool IsFullScreenMode() const { return mbFullScreenMode; }
void StartPresentationMode( bool bPresentation, void StartPresentationMode( bool bPresentation,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment