diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-10 13:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-11 06:04:52 +0000 |
commit | b796b24793827583550279d40bfe565c66ad284d (patch) | |
tree | c727fbab95059956287850ac817d8f9c1bb422f4 /svx | |
parent | a97e6990435bbc47be4a4f6f349404f438e2c315 (diff) |
loplugin:countusersofdefaultparams in svl..unodevtools
Change-Id: Ie3d2cf29e99b8a51b80246aafa23a92e6c3404b2
Reviewed-on: https://gerrit.libreoffice.org/28017
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/galbrws2.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sdr/overlay/overlaymanagerbuffered.hxx | 4 | ||||
-rw-r--r-- | svx/inc/svdibrow.hxx | 2 | ||||
-rw-r--r-- | svx/source/accessibility/ChildrenManagerImpl.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/contimp.hxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/framelink.cxx | 2 | ||||
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/inc/filtnav.hxx | 4 | ||||
-rw-r--r-- | svx/source/inc/fmshimp.hxx | 2 | ||||
-rw-r--r-- | svx/source/inc/gridcell.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdfmtf.hxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdhdl.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 |
14 files changed, 17 insertions, 17 deletions
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 ) ); |