diff options
24 files changed, 41 insertions, 41 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index 8ac1e4f96f19..347334ab12c9 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -371,8 +371,8 @@ public: std::shared_ptr<SfxItemSet> insertItemSet( const SfxItemSet& rSet ); // #i86923# - IStylePoolIteratorAccess* createIterator( bool bSkipUnusedItemSets = false, - bool bSkipIgnorableItems = false ); + IStylePoolIteratorAccess* createIterator( bool bSkipUnusedItemSets, + bool bSkipIgnorableItems ); }; std::shared_ptr<SfxItemSet> StylePoolImpl::insertItemSet( const SfxItemSet& rSet ) diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx index ba24b87bb98e..e7b7a60effb9 100644 --- a/svl/source/numbers/zforfind.hxx +++ b/svl/source/numbers/zforfind.hxx @@ -294,7 +294,7 @@ private: // Get currency symbol and advance string position bool GetCurrency( const OUString& rString, sal_Int32& nPos, - const SvNumberformat* pFormat = nullptr ); // optional number format to match against + const SvNumberformat* pFormat ); // optional number format to match against // Get symbol AM or PM and advance string position bool GetTimeAmPm( const OUString& rString, @@ -335,21 +335,21 @@ private: // Conversion of date to number bool GetDateRef( double& fDays, // OUT: days diff to null date sal_uInt16& nCounter, // Count of date substrings - const SvNumberformat* pFormat = nullptr ); // optional number format to match against + const SvNumberformat* pFormat ); // optional number format to match against // Analyze start of string bool ScanStartString( const OUString& rString, - const SvNumberformat* pFormat = nullptr ); + const SvNumberformat* pFormat ); // Analyze middle substring bool ScanMidString( const OUString& rString, sal_uInt16 nStringPos, - const SvNumberformat* pFormat = nullptr ); + const SvNumberformat* pFormat ); // Analyze end of string bool ScanEndString( const OUString& rString, - const SvNumberformat* pFormat = nullptr ); + const SvNumberformat* pFormat ); // Compare rString to substring of array indexed by nString // nString == 0xFFFF => last substring @@ -369,7 +369,7 @@ private: // Main analyzing function bool IsNumberFormatMain( const OUString& rString, - const SvNumberformat* pFormat = nullptr); // optional number format to match against + const SvNumberformat* pFormat); // optional number format to match against static inline bool MyIsdigit( sal_Unicode c ); diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx index c287f3a64748..13dd8d8bc286 100644 --- a/svtools/source/contnr/contentenumeration.hxx +++ b/svtools/source/contnr/contentenumeration.hxx @@ -235,7 +235,7 @@ namespace svt */ EnumerationResult enumerateFolderContentSync( const FolderDescriptor& _rFolder, - const css::uno::Sequence< OUString >& rBlackList = css::uno::Sequence< OUString >() + const css::uno::Sequence< OUString >& rBlackList ); /** cancels the running operation. diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 4f05be01106e..30e13de34141 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -362,7 +362,7 @@ public: FileViewResult GetFolderContent_Impl( const OUString& rFolder, const FileViewAsyncAction* pAsyncDescriptor, - const css::uno::Sequence< OUString >& rBlackList = css::uno::Sequence< OUString >() ); + const css::uno::Sequence< OUString >& rBlackList ); FileViewResult GetFolderContent_Impl( const FolderDescriptor& _rFolder, diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx index af0f2d936ccb..a46b6795670b 100644 --- a/svtools/source/contnr/imivctl.hxx +++ b/svtools/source/contnr/imivctl.hxx @@ -212,7 +212,7 @@ class SvxIconChoiceCtrl_Impl void ShowCursor( bool bShow ); - void ImpArrange( bool bKeepPredecessors = false ); + void ImpArrange( bool bKeepPredecessors ); void AdjustVirtSize( const Rectangle& ); void ResetVirtSize(); void CheckScrollBars(); @@ -252,14 +252,14 @@ class SvxIconChoiceCtrl_Impl void SelectRect( SvxIconChoiceCtrlEntry* pEntry1, SvxIconChoiceCtrlEntry* pEntry2, - bool bAdd = true, - std::vector<Rectangle*>* pOtherRects = nullptr + bool bAdd, + std::vector<Rectangle*>* pOtherRects ); void SelectRange( SvxIconChoiceCtrlEntry* pStart, SvxIconChoiceCtrlEntry* pEnd, - bool bAdd = true + bool bAdd ); void AddSelectedRect( const Rectangle& ); @@ -328,7 +328,7 @@ public: void SetStyle( WinBits nWinStyle ); WinBits GetStyle() const { return nWinBits; } void InsertEntry( SvxIconChoiceCtrlEntry*, size_t nPos ); - void CreateAutoMnemonics( MnemonicGenerator* _pGenerator = nullptr ); + void CreateAutoMnemonics( MnemonicGenerator* _pGenerator ); void FontModified(); void SelectAll(); void SelectEntry( @@ -433,8 +433,8 @@ public: void SelectRect( const Rectangle&, - bool bAdd = true, - std::vector<Rectangle*>* pOtherRects = nullptr + bool bAdd, + std::vector<Rectangle*>* pOtherRects ); bool IsTextHit( SvxIconChoiceCtrlEntry* pEntry, const Point& rDocPos ); @@ -447,7 +447,7 @@ public: #ifdef DBG_UTIL void SetEntryTextMode( SvxIconChoiceCtrlTextMode, - SvxIconChoiceCtrlEntry* pEntry = nullptr + SvxIconChoiceCtrlEntry* pEntry ); #endif bool IsEntryEditingEnabled() const { return bEntryEditingEnabled; } diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 9799414ce13b..2503ff4a3c0d 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -69,7 +69,7 @@ public: void SetInteractive( bool _bInteractive ); void SetClickHdl( const Link<HyperLabel*,void>& rLink ); - void Enable( bool bEnable = true); + void Enable( bool bEnable ); bool IsEnabled() const; void GrabFocus(); diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index bf334fac8993..053018ce06fa 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -87,7 +87,7 @@ public: virtual ~UnoTreeListBoxImpl(); virtual void dispose() override; - void insert( SvTreeListEntry* pEntry,SvTreeListEntry* pParent,sal_uLong nPos=TREELIST_APPEND ); + void insert( SvTreeListEntry* pEntry, SvTreeListEntry* pParent, sal_uLong nPos ); virtual void RequestingChildren( SvTreeListEntry* pParent ) override; diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx index d2dc8f0f7ca4..a042ff7f7d3f 100644 --- a/svx/inc/galbrws2.hxx +++ b/svx/inc/galbrws2.hxx @@ -161,7 +161,7 @@ public: sal_Int8 ExecuteDrop( DropTargetHelper& rTarget, const ExecuteDropEvent& rEvt ); void StartDrag( vcl::Window* pWindow, const Point* pDragPoint = nullptr ); void TogglePreview( vcl::Window* pWindow, const Point* pPreviewPoint = nullptr ); - void ShowContextMenu( vcl::Window* pWindow, const Point* pContextPoint = nullptr ); + void ShowContextMenu( vcl::Window* pWindow, const Point* pContextPoint ); bool KeyInput( const KeyEvent& rEvt, vcl::Window* pWindow ); static css::uno::Reference< css::frame::XFrame > GetFrame(); diff --git a/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx b/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx index 8257419cd7fe..3ef4a6eb1f2f 100644 --- a/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx +++ b/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx @@ -59,7 +59,7 @@ namespace sdr void ImpPrepareBufferDevice(); void ImpRestoreBackground() const ; void ImpRestoreBackground(const vcl::Region& rRegionPixel) const; - void ImpSaveBackground(const vcl::Region& rRegion, OutputDevice* pPreRenderDevice = nullptr); + void ImpSaveBackground(const vcl::Region& rRegion, OutputDevice* pPreRenderDevice); OverlayManagerBuffered( OutputDevice& rOutputDevice, @@ -68,7 +68,7 @@ namespace sdr public: static rtl::Reference<OverlayManager> create(OutputDevice& rOutputDevice, - bool bRefreshWithPreRendering = false); + bool bRefreshWithPreRendering); // complete redraw virtual void completeRedraw(const vcl::Region& rRegion, OutputDevice* pPreRenderDevice = nullptr) const override; diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index 5e16c6947857..11bd21a0093a 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -73,7 +73,7 @@ public: virtual ~SdrItemBrowserControl(); virtual void dispose() override; void Clear(); - void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=nullptr); + void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet); sal_uInt16 GetCurrentWhich() const; void EndChangeEntry(); void BreakChangeEntry(); diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 35f61fd2ed84..eadec9b469f1 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -181,7 +181,7 @@ public: before this method returns and events are sent to inform the listeners of the new object. */ - void Update (bool bCreateNewObjectsOnDemand = true); + void Update (bool bCreateNewObjectsOnDemand); /** Set the list of UNO shapes to the given list. This removes the old list and does not add to it. The list of accessible shapes that is diff --git a/svx/source/dialog/contimp.hxx b/svx/source/dialog/contimp.hxx index a27b14553582..cddb4e9b6add 100644 --- a/svx/source/dialog/contimp.hxx +++ b/svx/source/dialog/contimp.hxx @@ -117,8 +117,8 @@ public: bool IsRedoPossible() const; void UpdateGraphic( const Graphic& rGraphic, bool bGraphicLinked, - const tools::PolyPolygon* pPolyPoly = nullptr, - void* pEditingObj = nullptr ); + const tools::PolyPolygon* pPolyPoly, + void* pEditingObj ); }; diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 69130024c9d7..2d64641a426f 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -1351,7 +1351,7 @@ bool CheckFrameBorderConnectable( const Style& rLBorder, const Style& rRBorder, double lcl_GetExtent( const Style& rBorder, const Style& rSide, const Style& rOpposite, - long nAngleSide = 9000, long nAngleOpposite = 9000 ) + long nAngleSide, long nAngleOpposite ) { Style aOtherBorder = rSide; long nOtherAngle = nAngleSide; diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index e397ec973169..ea2243cf2d4f 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -116,7 +116,7 @@ struct FmGridHeaderData }; const sal_Int16 nChangeTypeOffset = 1000; -void SetMenuItem(const ImageList& rList, sal_uInt16 nID, Menu* pMenu, Menu& rNewMenu, bool bDesignMode = true, sal_Int16 nOffset = nChangeTypeOffset) +void SetMenuItem(const ImageList& rList, sal_uInt16 nID, Menu* pMenu, Menu& rNewMenu, bool bDesignMode, sal_Int16 nOffset = nChangeTypeOffset) { pMenu->SetItemImage(nID, rList.GetImage(nID)); pMenu->EnableItem(nID, bDesignMode); diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 8e65ae5d365b..649676f3625d 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1129,7 +1129,7 @@ IMPL_LINK_NOARG_TYPED( FmXFormView, OnStartControlWizard, void*, void ) namespace { void lcl_insertIntoFormComponentHierarchy_throw( const FmFormView& _rView, const SdrUnoObj& _rSdrObj, - const Reference< XDataSource >& _rxDataSource = nullptr, const OUString& _rDataSourceName = OUString(), + const Reference< XDataSource >& _rxDataSource, const OUString& _rDataSourceName, const OUString& _rCommand = OUString(), const sal_Int32 _nCommandType = -1 ) { FmFormPage& rPage = static_cast< FmFormPage& >( *_rView.GetSdrPageView()->GetPage() ); diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index 021ff495ceeb..e386c50aba87 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -293,8 +293,8 @@ private: * If <TRUE/> the items will not be removed from the model, otherwise they will. */ void insertFilterItem(const ::std::vector<FmFilterItem*>& _rFilterList,FmFilterItems* _pTargetItems, bool _bCopy); - SvTreeListEntry* getPrevEntry(SvTreeListEntry* _pStartWith = nullptr); - SvTreeListEntry* getNextEntry(SvTreeListEntry* _pStartWith = nullptr); + SvTreeListEntry* getPrevEntry(SvTreeListEntry* _pStartWith); + SvTreeListEntry* getNextEntry(SvTreeListEntry* _pStartWith); using SvTreeListBox::Select; using SvTreeListBox::ExecuteDrop; diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 1df45baefd2f..a7476c228694 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -325,7 +325,7 @@ protected: // form handling /// load or unload the forms on a page - SAL_DLLPRIVATE void loadForms( FmFormPage* _pPage, const LoadFormsFlags _nBehaviour = LoadFormsFlags::Load | LoadFormsFlags::Sync ); + SAL_DLLPRIVATE void loadForms( FmFormPage* _pPage, const LoadFormsFlags _nBehaviour ); SAL_DLLPRIVATE void smartControlReset( const css::uno::Reference< css::container::XIndexAccess >& _rxModels ); diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index 8801a6a5968a..71e4ba48a4f5 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -225,7 +225,7 @@ protected: inline void setTransparent( bool _bSet ) { m_bTransparent = _bSet; } // control alignment - inline void setAlignedController( bool _bAlign = true ) { m_bAlignedController = _bAlign; } + inline void setAlignedController( bool _bAlign ) { m_bAlignedController = _bAlign; } /** determined whether or not the value property is locked diff --git a/svx/source/svdraw/svdfmtf.hxx b/svx/source/svdraw/svdfmtf.hxx index a14bda004bc3..e8440da97246 100644 --- a/svx/source/svdraw/svdfmtf.hxx +++ b/svx/source/svdraw/svdfmtf.hxx @@ -167,7 +167,7 @@ public: size_t DoImport( const GDIMetaFile& rMtf, SdrObjList& rDestList, - size_t nInsPos = SAL_MAX_SIZE, + size_t nInsPos, SvdProgressInfo* pProgrInfo = nullptr); }; diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index dd9f08ded315..ba066456883b 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -91,7 +91,7 @@ public: explicit SdrHdlBitmapSet(sal_uInt16 nResId); ~SdrHdlBitmapSet(); - const BitmapEx& GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal_uInt16 nInd=0); + const BitmapEx& GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal_uInt16 nInd); }; diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index dfce497d202c..0979bf74b952 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -74,7 +74,7 @@ static const sal_Int32 REMEMBER_SIZE = 10; void impl_executeSearch( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::frame::XFrame >& xFrame, const ToolBox* pToolBox, - const bool aSearchBackwards = false, + const bool aSearchBackwards, const bool aFindAll = false ) { css::uno::Reference< css::util::XURLTransformer > xURLTransformer( css::util::URLTransformer::create( rxContext ) ); diff --git a/ucb/source/ucp/file/shell.hxx b/ucb/source/ucp/file/shell.hxx index 3408ad017bf5..cac588f310b8 100644 --- a/ucb/source/ucp/file/shell.hxx +++ b/ucb/source/ucp/file/shell.hxx @@ -439,7 +439,7 @@ namespace fileaccess { void SAL_CALL copyPersistentSet( const OUString& srcUnqPath, const OUString& dstUnqPath, - bool withChildren = false ); + bool withChildren ); // Special optimized method for getting the properties of a directoryitem, which diff --git a/unodevtools/source/skeletonmaker/skeletoncpp.hxx b/unodevtools/source/skeletonmaker/skeletoncpp.hxx index d8c3f938ee55..bd056047c941 100644 --- a/unodevtools/source/skeletonmaker/skeletoncpp.hxx +++ b/unodevtools/source/skeletonmaker/skeletoncpp.hxx @@ -43,8 +43,8 @@ void printMethods(std::ostream & o, OUString const & name, codemaker::GeneratedTypeSet & generated, OString const & delegate, - OString const & classname=OString(), - OString const & indentation=OString(), + OString const & classname, + OString const & indentation, bool defaultvalue=false, OUString const & propertyhelper=OUString()); diff --git a/unodevtools/source/skeletonmaker/skeletonjava.hxx b/unodevtools/source/skeletonmaker/skeletonjava.hxx index 4402fc173c0a..9efeeb1acc4e 100644 --- a/unodevtools/source/skeletonmaker/skeletonjava.hxx +++ b/unodevtools/source/skeletonmaker/skeletonjava.hxx @@ -36,7 +36,7 @@ void printMethods(std::ostream & o, OUString const & name, codemaker::GeneratedTypeSet & generated, OString const & delegate, - OString const & indentation=OString(), + OString const & indentation, bool defaultvalue=false, bool usepropertymixin=false); |