From b4e12269e813338afc895986fbc4f2703cedd016 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Aug 2016 11:11:03 +0200 Subject: loplugin:countusersofdefaultparams in editeng..fpicker Change-Id: I6356c95296d81736fc6d66e510cd70606ee55f68 Reviewed-on: https://gerrit.libreoffice.org/27897 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/editeng/editdoc.hxx | 4 ++-- editeng/source/editeng/editobj2.hxx | 4 ++-- editeng/source/editeng/impedit.hxx | 12 ++++++------ editeng/source/rtf/rtfitem.cxx | 4 ++-- extensions/source/bibliography/datman.hxx | 2 +- extensions/source/bibliography/toolbar.cxx | 2 +- extensions/source/bibliography/toolbar.hxx | 6 +++--- extensions/source/dbpilots/controlwizard.hxx | 2 +- extensions/source/propctrlr/browserlistbox.hxx | 2 +- extensions/source/propctrlr/cellbindinghelper.hxx | 4 ++-- extensions/source/propctrlr/propertyhandler.hxx | 8 ++++---- filter/source/graphicfilter/eps/eps.cxx | 14 +++++++------- filter/source/graphicfilter/ipict/ipict.cxx | 2 +- filter/source/msfilter/eschesdo.hxx | 4 ++-- forms/source/component/DatabaseForm.hxx | 6 +++--- forms/source/richtext/richtextcontrol.cxx | 2 +- forms/source/richtext/richtextimplcontrol.hxx | 2 +- forms/source/richtext/richtextvclcontrol.hxx | 2 +- forms/source/xforms/submission.hxx | 2 +- formula/source/ui/dlg/structpg.hxx | 8 ++++---- fpicker/source/office/OfficeControlAccess.hxx | 2 +- fpicker/source/office/asyncfilepicker.hxx | 2 +- 22 files changed, 48 insertions(+), 48 deletions(-) diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index 93b9495a49be..0c8f09b8aeb7 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -791,8 +791,8 @@ public: void InsertAttrib( const SfxPoolItem& rItem, ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd ); void InsertAttrib( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, const SfxPoolItem& rPoolItem ); void InsertAttribInSelection( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, const SfxPoolItem& rPoolItem ); - bool RemoveAttribs( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, sal_uInt16 nWhich = 0 ); - bool RemoveAttribs( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, EditCharAttrib*& rpStarting, EditCharAttrib*& rpEnding, sal_uInt16 nWhich = 0 ); + bool RemoveAttribs( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, sal_uInt16 nWhich ); + bool RemoveAttribs( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd, EditCharAttrib*& rpStarting, EditCharAttrib*& rpEnding, sal_uInt16 nWhich ); static void FindAttribs( ContentNode* pNode, sal_Int32 nStartPos, sal_Int32 nEndPos, SfxItemSet& rCurSet ); sal_Int32 GetPos(const ContentNode* pNode) const; diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx index 289427ffceac..cd5d53a68ce1 100644 --- a/editeng/source/editeng/editobj2.hxx +++ b/editeng/source/editeng/editobj2.hxx @@ -225,7 +225,7 @@ public: void GetCharAttribs( sal_Int32 nPara, std::vector& rLst ) const; - bool RemoveCharAttribs( sal_uInt16 nWhich = 0 ); + bool RemoveCharAttribs( sal_uInt16 nWhich ); void GetAllSections( std::vector& rAttrs ) const; @@ -233,7 +233,7 @@ public: const SvxFieldItem* GetField() const; const SvxFieldData* GetFieldData(sal_Int32 nPara, size_t nPos, sal_Int32 nType) const; - bool HasField( sal_Int32 nType = css::text::textfield::Type::UNSPECIFIED ) const; + bool HasField( sal_Int32 nType ) const; const SfxItemSet& GetParaAttribs(sal_Int32 nPara) const; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index f74d05ab76b0..69bac8d1d099 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -293,7 +293,7 @@ public: bool IsVertical() const; - bool PostKeyEvent( const KeyEvent& rKeyEvent, vcl::Window* pFrameWin = nullptr ); + bool PostKeyEvent( const KeyEvent& rKeyEvent, vcl::Window* pFrameWin ); bool MouseButtonUp( const MouseEvent& rMouseEvent ); bool MouseButtonDown( const MouseEvent& rMouseEvent ); @@ -530,7 +530,7 @@ private: EditTextObject* GetEmptyTextObject(); EditPaM GetPaM( Point aDocPos, bool bSmart = true ); - EditPaM GetPaM( ParaPortion* pPortion, Point aPos, bool bSmart = true ); + EditPaM GetPaM( ParaPortion* pPortion, Point aPos, bool bSmart ); long GetXPos(const ParaPortion* pParaPortion, const EditLine* pLine, sal_Int32 nIndex, bool bPreferPortionStart = false) const; long GetPortionXOffset(const ParaPortion* pParaPortion, const EditLine* pLine, sal_Int32 nTextPortion) const; sal_Int32 GetChar(const ParaPortion* pParaPortion, const EditLine* pLine, long nX, bool bSmart = true); @@ -745,7 +745,7 @@ public: void FormatDoc(); void FormatFullDoc(); void UpdateViews( EditView* pCurView = nullptr ); - void Paint( ImpEditView* pView, const Rectangle& rRect, OutputDevice* pTargetDevice = nullptr ); + void Paint( ImpEditView* pView, const Rectangle& rRect, OutputDevice* pTargetDevice ); void Paint( OutputDevice* pOutDev, Rectangle aClipRect, Point aStartPos, bool bStripOnly = false, short nOrientation = 0 ); bool MouseButtonUp( const MouseEvent& rMouseEvent, EditView* pView ); @@ -784,7 +784,7 @@ public: EditPaM InsertTextUserInput( const EditSelection& rCurEditSelection, sal_Unicode c, bool bOverwrite ); EditPaM InsertText(const EditSelection& aCurEditSelection, const OUString& rStr); EditPaM AutoCorrect( const EditSelection& rCurEditSelection, sal_Unicode c, bool bOverwrite, vcl::Window* pFrameWin = nullptr ); - EditPaM DeleteLeftOrRight( const EditSelection& rEditSelection, sal_uInt8 nMode, sal_uInt8 nDelMode = DELMODE_SIMPLE ); + EditPaM DeleteLeftOrRight( const EditSelection& rEditSelection, sal_uInt8 nMode, sal_uInt8 nDelMode ); EditPaM InsertParaBreak(const EditSelection& rEditSelection); EditPaM InsertLineBreak(const EditSelection& aEditSelection); EditPaM InsertTab(const EditSelection& rEditSelection); @@ -818,7 +818,7 @@ public: SfxItemSet GetAttribs( sal_Int32 nPara, sal_Int32 nStart, sal_Int32 nEnd, GetAttribsFlags nFlags = GetAttribsFlags::ALL ) const; SfxItemSet GetAttribs( EditSelection aSel, EditEngineAttribs nOnlyHardAttrib = EditEngineAttribs_All ); void SetAttribs( EditSelection aSel, const SfxItemSet& rSet, sal_uInt8 nSpecial = 0 ); - void RemoveCharAttribs( EditSelection aSel, bool bRemoveParaAttribs, sal_uInt16 nWhich = 0 ); + void RemoveCharAttribs( EditSelection aSel, bool bRemoveParaAttribs, sal_uInt16 nWhich ); void RemoveCharAttribs( sal_Int32 nPara, sal_uInt16 nWhich = 0, bool bRemoveFeatures = false ); void SetFlatMode( bool bFlat ); @@ -856,7 +856,7 @@ public: const Link& GetNotifyHdl() const { return aNotifyHdl; } void FormatAndUpdate( EditView* pCurView = nullptr ); - inline void IdleFormatAndUpdate( EditView* pCurView = nullptr ); + inline void IdleFormatAndUpdate( EditView* pCurView ); svtools::ColorConfig& GetColorConfig(); bool IsVisualCursorTravelingEnabled(); diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index 1e73f910fe4b..a7e428d2bdce 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -89,9 +89,9 @@ using namespace editeng; // Some helper functions // char -inline const SvxEscapementItem& GetEscapement(const SfxItemSet& rSet,sal_uInt16 nId,bool bInP=true) +inline const SvxEscapementItem& GetEscapement(const SfxItemSet& rSet,sal_uInt16 nId,bool bInP) { return static_cast(rSet.Get( nId,bInP)); } -inline const SvxLineSpacingItem& GetLineSpacing(const SfxItemSet& rSet,sal_uInt16 nId,bool bInP=true) +inline const SvxLineSpacingItem& GetLineSpacing(const SfxItemSet& rSet,sal_uInt16 nId,bool bInP) { return static_cast(rSet.Get( nId,bInP)); } // frm inline const SvxLRSpaceItem& GetLRSpace(const SfxItemSet& rSet,sal_uInt16 nId) diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index 19fd5506bec9..3ba10aac8047 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -158,7 +158,7 @@ public: static OUString getControlName(sal_Int32 nFormatKey ); css::uno::Reference< css::awt::XControlModel > loadControlModel(const OUString& rName, - bool bForceListBox = false); + bool bForceListBox); void CreateMappingDialog(vcl::Window* pParent); OUString CreateDBChangeDialog(vcl::Window* pParent); diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 65e4010aab6a..a0d251bc580c 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -106,7 +106,7 @@ void BibTBListBoxListener::statusChanged(const css::frame::FeatureStateEvent& rE aEntry = pStringArray[i]; pToolBar->InsertSourceEntry(aEntry); } - pToolBar->UpdateSourceList(); + pToolBar->UpdateSourceList(true); } pToolBar->SelectSourceEntry(rEvt.FeatureDescriptor); diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 97f189cc0618..136f8382ee64 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -164,12 +164,12 @@ class BibToolBar: public ToolBox void SetXController(const css::uno::Reference< css::frame::XController > &); void ClearSourceList(); - void UpdateSourceList(bool bFlag=true); - void EnableSourceList(bool bFlag=true); + void UpdateSourceList(bool bFlag); + void EnableSourceList(bool bFlag); void InsertSourceEntry(const OUString& ); void SelectSourceEntry(const OUString& ); - void EnableQuery(bool bFlag=true); + void EnableQuery(bool bFlag); void SetQueryString(const OUString& ); void AdjustToolBox(); diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index ba2be4cffcaf..59b66560ec39 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -112,7 +112,7 @@ namespace dbp const OControlWizardContext& getContext() const { return m_aContext; } bool updateContext(const OAccessRegulator&); - void setFormConnection(const OAccessRegulator&, const css::uno::Reference< css::sdbc::XConnection >& _rxConn, bool _bAutoDispose = true ); + void setFormConnection(const OAccessRegulator&, const css::uno::Reference< css::sdbc::XConnection >& _rxConn, bool _bAutoDispose ); css::uno::Reference< css::sdbc::XConnection > getFormConnection(const OAccessRegulator&) const; diff --git a/extensions/source/propctrlr/browserlistbox.hxx b/extensions/source/propctrlr/browserlistbox.hxx index 73724e10bb36..284119c97c3f 100644 --- a/extensions/source/propctrlr/browserlistbox.hxx +++ b/extensions/source/propctrlr/browserlistbox.hxx @@ -127,7 +127,7 @@ namespace pcr void Clear(); - void InsertEntry( const OLineDescriptor&, sal_uInt16 nPos = EDITOR_LIST_APPEND ); + void InsertEntry( const OLineDescriptor&, sal_uInt16 nPos ); bool RemoveEntry( const OUString& _rName ); void ChangeEntry( const OLineDescriptor&, sal_uInt16 nPos ); diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx index c044a2ef72f7..2fe8de94be89 100644 --- a/extensions/source/propctrlr/cellbindinghelper.hxx +++ b/extensions/source/propctrlr/cellbindinghelper.hxx @@ -71,7 +71,7 @@ namespace pcr css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromStringAddress( const OUString& _rAddress, - bool _bSupportIntegerExchange = false + bool _bSupportIntegerExchange ) const; /** creates a cell binding (supporting integer exchange, if requested) for @@ -80,7 +80,7 @@ namespace pcr css::uno::Reference< css::form::binding::XValueBinding > createCellBindingFromAddress( const css::table::CellAddress& _rAddress, - bool _bSupportIntegerExchange = false + bool _bSupportIntegerExchange ) const; /** gets a cell range list source binding for the given address diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx index 8af12129fe2f..93c47830a81e 100644 --- a/extensions/source/propctrlr/propertyhandler.hxx +++ b/extensions/source/propctrlr/propertyhandler.hxx @@ -189,7 +189,7 @@ namespace pcr inline void addDoublePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /** adds a description for the given date property to the given property vector @@ -197,7 +197,7 @@ namespace pcr inline void addDatePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /** adds a description for the given time property to the given property vector @@ -205,7 +205,7 @@ namespace pcr inline void addTimePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /** adds a description for the given DateTime property to the given property vector @@ -213,7 +213,7 @@ namespace pcr inline void addDateTimePropertyDescription( ::std::vector< css::beans::Property >& _rProperties, const OUString& _rPropertyName, - sal_Int16 _nAttribs = 0 + sal_Int16 _nAttribs ) const; /// adds a Property, given by name only, to a given vector of Properties diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 4ab22f20828b..7036da7690fc 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -148,7 +148,7 @@ private: css::uno::Reference< css::task::XStatusIndicator > xStatusIndicator; - void ImplWriteProlog( const Graphic* pPreviewEPSI = nullptr ); + void ImplWriteProlog( const Graphic* pPreviewEPSI ); void ImplWriteEpilog(); void ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev ); @@ -180,7 +180,7 @@ private: inline void ImplWritePoint( const Point& ); void ImplMoveTo( const Point& ); void ImplLineTo( const Point&, sal_uInt32 nMode = PS_SPACE ); - void ImplCurveTo( const Point& rP1, const Point& rP2, const Point& rP3, sal_uInt32 nMode = PS_SPACE ); + void ImplCurveTo( const Point& rP1, const Point& rP2, const Point& rP3, sal_uInt32 nMode ); void ImplTranslate( const double& fX, const double& fY ); void ImplScale( const double& fX, const double& fY ); @@ -200,15 +200,15 @@ private: void ImplText( const OUString& rUniString, const Point& rPos, const long* pDXArry, sal_Int32 nWidth, VirtualDevice& rVDev ); void ImplSetAttrForText( const Point & rPoint ); void ImplWriteCharacter( sal_Char ); - void ImplWriteString( const OString&, VirtualDevice& rVDev, const long* pDXArry = nullptr, bool bStretch = false ); + void ImplWriteString( const OString&, VirtualDevice& rVDev, const long* pDXArry, bool bStretch ); void ImplDefineFont( const char*, const char* ); void ImplClosePathDraw(); void ImplPathDraw(); - inline void ImplWriteLineColor( sal_uLong nMode = PS_RET ); - inline void ImplWriteFillColor( sal_uLong nMode = PS_RET ); - inline void ImplWriteTextColor( sal_uLong nMode = PS_RET ); + inline void ImplWriteLineColor( sal_uLong nMode ); + inline void ImplWriteFillColor( sal_uLong nMode ); + inline void ImplWriteTextColor( sal_uLong nMode ); void ImplWriteColor( sal_uLong nMode ); void ImplGetMapMode( const MapMode& ); @@ -2067,7 +2067,7 @@ void PSWriter::ImplSetAttrForText( const Point& rPoint ) Point aPoint( rPoint ); long nRotation = maFont.GetOrientation(); - ImplWriteTextColor(); + ImplWriteTextColor(PS_RET); Size aSize = maFont.GetFontSize(); diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx index 2cafb482d6eb..ad451f72166e 100644 --- a/filter/source/graphicfilter/ipict/ipict.cxx +++ b/filter/source/graphicfilter/ipict/ipict.cxx @@ -54,7 +54,7 @@ namespace PictReaderInternal { * * note: maybe, we must also use some mode PatCopy, ... to define the color */ - Color getColor(Color bkColor=COL_WHITE, Color fgColor = COL_BLACK) const { + Color getColor(Color bkColor, Color fgColor) const { if (isColor) return color; // we create a gray pattern from nBitCount double alpha = nBitCount / 64.0; diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx index f583761e568d..351d28896668 100644 --- a/filter/source/msfilter/eschesdo.hxx +++ b/filter/source/msfilter/eschesdo.hxx @@ -143,7 +143,7 @@ protected: const Point& rTextRefPoint ); sal_uInt32 ImplEnterAdditionalTextGroup( const css::uno::Reference< css::drawing::XShape >& rShape, - const Rectangle* pBoundRect = nullptr ); + const Rectangle* pBoundRect ); public: @@ -169,7 +169,7 @@ public: bool ImplInitUnoShapes( const css::uno::Reference< css::drawing::XShapes >& rxShapes ); void ImplWriteCurrentPage(); - sal_uInt32 ImplWriteTheShape( ImplEESdrObject& rObj, bool ooxmlExport = false ); + sal_uInt32 ImplWriteTheShape( ImplEESdrObject& rObj, bool ooxmlExport ); void ImplExitPage(); void ImplFlushSolverContainer(); diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index 48ae9b6888dc..b7b601495e52 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -443,10 +443,10 @@ protected: virtual void _propertyChanged( const css::beans::PropertyChangeEvent& ) throw(css::uno::RuntimeException) override; private: - bool executeRowSet(::osl::ResettableMutexGuard& _rClearForNotifies, bool bMoveToFirst = true, - const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >()); + bool executeRowSet(::osl::ResettableMutexGuard& _rClearForNotifies, bool bMoveToFirst, + const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler); bool fillParameters(::osl::ResettableMutexGuard& _rClearForNotifies, - const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >()); + const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler); void updateParameterInfo(); bool hasValidParent() const; diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 471df8e83ec0..2ce0db903d7f 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -86,7 +86,7 @@ namespace frm } - void implAdjustTwoStateFlag( const Any& _rValue, WinBits& _rAllBits, WinBits _nFlag, bool _bInvert = false ) + void implAdjustTwoStateFlag( const Any& _rValue, WinBits& _rAllBits, WinBits _nFlag, bool _bInvert ) { bool bFlagValue = false; if ( _rValue >>= bFlagValue ) diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index 761bd9b1b0fe..2afbe9710bba 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -85,7 +85,7 @@ namespace frm void updateAttribute( AttributeId _nAttribute ); /// enables the callback for a particular attribute - void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener = nullptr ); + void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener ); /// disables the change notifications for a particular attribute void disableAttributeNotification( AttributeId _nAttributeId ); diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index a1789d4043b4..7c4cdec1a310 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -67,7 +67,7 @@ namespace frm If you previously already enabled the notification for this attribute, and specified a different listener, then the previous listener will be replaced with the new listener, provided the latter is not . */ - void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener = nullptr ); + void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener ); /** disables the change notifications for a particular attribute diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index 51158aa92691..b847477298a5 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -88,7 +88,7 @@ private: // this will extract the document from the model that will be submitted css::uno::Reference< css::xml::dom::XDocumentFragment > createSubmissionDocument(const css::uno::Reference< css::xml::xpath::XXPathObject >& aObject, - bool bRemoveWSNodes = false); + bool bRemoveWSNodes); static css::uno::Reference< css::xml::dom::XDocument > getInstanceDocument(const css::uno::Reference< css::xml::xpath::XXPathObject >& aObject); diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index db53c6c25c22..95b0f47bcf02 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -52,11 +52,11 @@ public: SvTreeListEntry* InsertStaticEntry( const OUString& rText, const Image& rEntryImg, - SvTreeListEntry* pParent = nullptr, - sal_uLong nPos = TREELIST_APPEND, + SvTreeListEntry* pParent, + sal_uLong nPos, IFormulaToken* pToken = nullptr ); - void SetActiveFlag(bool bFlag=true); + void SetActiveFlag(bool bFlag); bool GetActiveFlag() { return bActiveFlag;} void GetFocus() override; void LoseFocus() override; @@ -91,7 +91,7 @@ public: void ClearStruct(); SvTreeListEntry* InsertEntry(const OUString& rText, SvTreeListEntry* pParent, - sal_uInt16 nFlag,sal_uLong nPos=0,IFormulaToken* pScToken=nullptr); + sal_uInt16 nFlag,sal_uLong nPos,IFormulaToken* pScToken); OUString GetEntryText(SvTreeListEntry* pEntry) const; diff --git a/fpicker/source/office/OfficeControlAccess.hxx b/fpicker/source/office/OfficeControlAccess.hxx index c0995cda6c5f..91fd79bd251d 100644 --- a/fpicker/source/office/OfficeControlAccess.hxx +++ b/fpicker/source/office/OfficeControlAccess.hxx @@ -90,7 +90,7 @@ namespace svt Control* _pControl, sal_Int16 _nProperty, const css::uno::Any& _rValue, bool _bIgnoreIllegalArgument = true ); - Control* implGetControl( const OUString& _rControlName, sal_Int16* _pId = nullptr, sal_Int32* _pPropertyMask = nullptr ) const; + Control* implGetControl( const OUString& _rControlName, sal_Int16* _pId, sal_Int32* _pPropertyMask = nullptr ) const; /** implements the various methods for retrieving properties from controls diff --git a/fpicker/source/office/asyncfilepicker.hxx b/fpicker/source/office/asyncfilepicker.hxx index d25710f3e203..864c330c044f 100644 --- a/fpicker/source/office/asyncfilepicker.hxx +++ b/fpicker/source/office/asyncfilepicker.hxx @@ -74,7 +74,7 @@ namespace svt const OUString& _rFilter, sal_Int32 _nMinTimeout, sal_Int32 _nMaxTimeout, - const css::uno::Sequence< OUString >& rBlackList = css::uno::Sequence< OUString >() ); + const css::uno::Sequence< OUString >& rBlackList ); /// cancels the running action void cancel(); -- cgit