loplugin:countusersofdefaultparams in svx
Change-Id: I2c9ea6c38b75dcafeb36931b6c2e94489819144f Reviewed-on: https://gerrit.libreoffice.org/45336 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
8f88161bbd
commit
7c548bf66a
21 changed files with 26 additions and 26 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
OUString msIdentifier; //< The identifier of this entry (from example.xml).
|
||||
|
||||
ClassificationResult(ClassificationType eType, const OUString& sName,
|
||||
const OUString& sAbbreviatedName = "", const OUString& sIdentifier = "")
|
||||
const OUString& sAbbreviatedName, const OUString& sIdentifier = "")
|
||||
: meType(eType)
|
||||
, msName(sName)
|
||||
, msAbbreviatedName(sAbbreviatedName)
|
||||
|
@ -66,7 +66,7 @@ public:
|
|||
OUString msFullClassName;
|
||||
OUString msIdentifier;
|
||||
|
||||
ClassificationField(ClassificationType eType, OUString const & sDescription, OUString const & sFullClassName, OUString const & sIdentifier = "")
|
||||
ClassificationField(ClassificationType eType, OUString const & sDescription, OUString const & sFullClassName, OUString const & sIdentifier)
|
||||
: SvxFieldData()
|
||||
, meType(eType)
|
||||
, msDescription(sDescription)
|
||||
|
|
|
@ -240,7 +240,7 @@ public:
|
|||
const basegfx::B2DVector& rB2DVector,
|
||||
const double fAngle,
|
||||
bool bMirrored,
|
||||
const Color* pForceColor = nullptr);
|
||||
const Color* pForceColor);
|
||||
|
||||
double getRefModeOffset() const { return mfRefModeOffset; }
|
||||
const basegfx::B2DVector& getB2DVector() const { return maB2DVector; }
|
||||
|
|
|
@ -118,7 +118,7 @@ public:
|
|||
static bool InsertURL( sal_uInt32 nThemeId, const OUString& rURL );
|
||||
|
||||
static bool GetGraphicObj( const OUString& rThemeName, sal_uInt32 nPos,
|
||||
Graphic* pGraphic, BitmapEx* pThumb = nullptr,
|
||||
Graphic* pGraphic, BitmapEx* pThumb,
|
||||
bool bProgress = false );
|
||||
static bool GetGraphicObj( sal_uInt32 nThemeId, sal_uInt32 nPos,
|
||||
Graphic* pGraphic );
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
SvxHyperlinkItem( sal_uInt16 nWhich, const OUString& rName, const OUString& rURL,
|
||||
const OUString& rTarget, const OUString& rIntName,
|
||||
SvxLinkInsertMode eTyp,
|
||||
HyperDialogEvent nEvents = HyperDialogEvent::NONE,
|
||||
HyperDialogEvent nEvents,
|
||||
SvxMacroTableDtor const *pMacroTbl =nullptr );
|
||||
|
||||
inline SvxHyperlinkItem& operator=( const SvxHyperlinkItem &rItem );
|
||||
|
|
|
@ -52,7 +52,7 @@ class SVX_DLLPUBLIC SvxIMapDlgChildWindow : public SfxChildWindow
|
|||
SFX_DECL_CHILDWINDOW_WITHID( SvxIMapDlgChildWindow );
|
||||
|
||||
static void UpdateIMapDlg( const Graphic& rGraphic, const ImageMap* pImageMap,
|
||||
const TargetList* pTargetList, void* pEditingObj = nullptr );
|
||||
const TargetList* pTargetList, void* pEditingObj );
|
||||
};
|
||||
|
||||
|
||||
|
@ -150,7 +150,7 @@ public:
|
|||
void SetTargetList( const TargetList& rTargetList );
|
||||
|
||||
void UpdateLink( const Graphic& rGraphic, const ImageMap* pImageMap,
|
||||
const TargetList* pTargetList, void* pEditingObj = nullptr );
|
||||
const TargetList* pTargetList, void* pEditingObj );
|
||||
};
|
||||
|
||||
SVX_DLLPUBLIC SvxIMapDlg* GetIMapDlg();
|
||||
|
|
|
@ -51,7 +51,7 @@ private:
|
|||
DECL_LINK(EditModifyHdl, Edit&, void);
|
||||
|
||||
public:
|
||||
SvxPasswordDialog( vcl::Window* pParent, bool bAllowEmptyPasswords, bool bDisableOldPassword = false );
|
||||
SvxPasswordDialog( vcl::Window* pParent, bool bAllowEmptyPasswords, bool bDisableOldPassword );
|
||||
virtual ~SvxPasswordDialog() override;
|
||||
virtual void dispose() override;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ class SVX_DLLPUBLIC SvxRotateModeItem: public SfxEnumItem<SvxRotateMode>
|
|||
public:
|
||||
static SfxPoolItem* CreateDefault();
|
||||
|
||||
SvxRotateModeItem( SvxRotateMode eMode, sal_uInt16 nWhich=0);
|
||||
SvxRotateModeItem( SvxRotateMode eMode, sal_uInt16 nWhich);
|
||||
SvxRotateModeItem( const SvxRotateModeItem& rItem );
|
||||
virtual ~SvxRotateModeItem() override;
|
||||
|
||||
|
|
|
@ -260,7 +260,7 @@ protected:
|
|||
public:
|
||||
|
||||
SvxRuler(vcl::Window* pParent, vcl::Window *pEditWin, SvxRulerSupportFlags nRulerFlags,
|
||||
SfxBindings &rBindings, WinBits nWinStyle = WB_STDRULER);
|
||||
SfxBindings &rBindings, WinBits nWinStyle);
|
||||
virtual ~SvxRuler() override;
|
||||
virtual void dispose() override;
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ SVX_DLLPUBLIC bool ViewObjectContactPrimitiveHit(
|
|||
double fLogicHitTolerance,
|
||||
bool bTextOnly,
|
||||
/// allow to get back the stack of primitives that lead to the hit
|
||||
drawinglayer::primitive2d::Primitive2DContainer* pHitContainer = nullptr);
|
||||
drawinglayer::primitive2d::Primitive2DContainer* pHitContainer);
|
||||
|
||||
|
||||
#endif // INCLUDED_SVX_SDRHITTESTHELPER_HXX
|
||||
|
|
|
@ -259,7 +259,7 @@ class SVX_DLLPUBLIC SdrHdlColor : public SdrHdl
|
|||
SVX_DLLPRIVATE static Color GetLuminance(const Color& rCol);
|
||||
|
||||
public:
|
||||
explicit SdrHdlColor(const Point& rRef, Color aCol, const Size& rSize = Size(11, 11), bool bLum = false);
|
||||
explicit SdrHdlColor(const Point& rRef, Color aCol, const Size& rSize, bool bLum = false);
|
||||
virtual ~SdrHdlColor() override;
|
||||
|
||||
bool IsUseLuminance() const { return bUseLuminance; }
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
Otherwise the navigation position as returned by
|
||||
SdrObject::GetNavigationPosition() is used.
|
||||
*/
|
||||
SdrObjListIter(const SdrObjList& rObjList, bool bUseZOrder, SdrIterMode eMode = SdrIterMode::DeepNoGroups);
|
||||
SdrObjListIter(const SdrObjList& rObjList, bool bUseZOrder, SdrIterMode eMode);
|
||||
|
||||
/* SJ: the following function can now be used with every
|
||||
SdrObject and is no longer limited to group objects */
|
||||
|
|
|
@ -432,7 +432,7 @@ public:
|
|||
virtual void Merge(SdrModel& rSourceModel,
|
||||
sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum,
|
||||
sal_uInt16 nDestPos,
|
||||
bool bMergeMasterPages = false, bool bAllMasterPages = false,
|
||||
bool bMergeMasterPages, bool bAllMasterPages = false,
|
||||
bool bUndo = true, bool bTreadSourceAsConst = false);
|
||||
|
||||
// Behaves like Merge(SourceModel=DestModel,nFirst,nLast,nDest,sal_False,sal_False,bUndo,!bMoveNoCopy);
|
||||
|
|
|
@ -359,7 +359,7 @@ public:
|
|||
// Attention: With each change of the glue point status the handle list is re-calculated.
|
||||
// All previously saved SdrHdl* became invalid by this, the same with the point IDs!
|
||||
bool PickGluePoint(const Point& rPnt, SdrObject*& rpObj, sal_uInt16& rnId, SdrPageView*& rpPV) const;
|
||||
bool MarkGluePoint(const SdrObject* pObj, sal_uInt16 nId, bool bUnmark=false);
|
||||
bool MarkGluePoint(const SdrObject* pObj, sal_uInt16 nId, bool bUnmark);
|
||||
void UnmarkGluePoint(const SdrObject* pObj, sal_uInt16 nId) { MarkGluePoint(pObj,nId,true); }
|
||||
bool IsGluePointMarked(const SdrObject* pObj, sal_uInt16 nId) const;
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ public:
|
|||
/** At the same time, we set the text in the outliner (if applicable the EditOutliners')
|
||||
* as well as the PaperSize
|
||||
*/
|
||||
void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::tools::Rectangle& rTextRect, bool bNoEditText, ::tools::Rectangle* pAnchorRect=nullptr ) const;
|
||||
void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::tools::Rectangle& rTextRect, bool bNoEditText, ::tools::Rectangle* pAnchorRect ) const;
|
||||
virtual void TakeTextRect( SdrOutliner& rOutliner, tools::Rectangle& rTextRect, bool bNoEditText, tools::Rectangle* pAnchorRect, bool bLineWidth = true ) const override;
|
||||
void TakeTextAnchorRect(const sdr::table::CellPos& rPos, ::tools::Rectangle& rAnchorRect ) const;
|
||||
virtual void TakeTextAnchorRect(::tools::Rectangle& rAnchorRect) const override;
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
|
||||
static ErrCode ExportGraphic( const Graphic& rGraphic, const INetURLObject& rURL,
|
||||
GraphicFilter& rFilter, const sal_uInt16 nFormat,
|
||||
const css::uno::Sequence< css::beans::PropertyValue >* pFilterData = nullptr );
|
||||
const css::uno::Sequence< css::beans::PropertyValue >* pFilterData );
|
||||
|
||||
static Bitmap DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold );
|
||||
|
||||
|
|
|
@ -459,7 +459,7 @@ public:
|
|||
SAL_DLLPRIVATE void Merge(SdrModel& rSourceModel,
|
||||
sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum,
|
||||
sal_uInt16 nDestPos,
|
||||
bool bMergeMasterPages = false, bool bAllMasterPages = false,
|
||||
bool bMergeMasterPages, bool bAllMasterPages = false,
|
||||
bool bUndo = true, bool bTreadSourceAsConst = false) override;
|
||||
|
||||
css::text::WritingMode GetDefaultWritingMode() const;
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
SdrDragView &rView,
|
||||
const SdrMarkList& rMark,
|
||||
E3dDragConstraint eConstr,
|
||||
bool bFull = false);
|
||||
bool bFull);
|
||||
|
||||
virtual void TakeSdrDragComment(OUString& rStr) const override;
|
||||
virtual bool BeginSdrDrag() override;
|
||||
|
@ -89,7 +89,7 @@ public:
|
|||
SdrDragView &rView,
|
||||
const SdrMarkList& rMark,
|
||||
E3dDragConstraint eConstr,
|
||||
bool bFull = false);
|
||||
bool bFull);
|
||||
|
||||
virtual void MoveSdrDrag(const Point& rPnt) override;
|
||||
virtual Pointer GetSdrDragPointer() const override;
|
||||
|
@ -106,8 +106,8 @@ public:
|
|||
SdrDragView &rView,
|
||||
const SdrMarkList& rMark,
|
||||
SdrHdlKind eDrgHdl,
|
||||
E3dDragConstraint eConstr = E3dDragConstraint::XYZ,
|
||||
bool bFull = false);
|
||||
E3dDragConstraint eConstr,
|
||||
bool bFull);
|
||||
|
||||
virtual void MoveSdrDrag(const Point& rPnt) override;
|
||||
virtual Pointer GetSdrDragPointer() const override;
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace sdr
|
|||
|
||||
// basic constructor, used from SdrPageView.
|
||||
explicit ObjectContactOfPageView(SdrPageWindow& rPageWindow,
|
||||
const sal_Char *pDebugName = nullptr);
|
||||
const sal_Char *pDebugName);
|
||||
virtual ~ObjectContactOfPageView() override;
|
||||
|
||||
// LazyInvalidate request. This is used from the VOCs to mark that they
|
||||
|
|
|
@ -689,7 +689,7 @@ void StyleVectorTable::add(
|
|||
// create angle between both. angle() needs vectors pointing away from the same point,
|
||||
// so take the mirrored one. Add F_PI to get from -pi..+pi to [0..F_PI2] for sorting
|
||||
const double fAngle(basegfx::B2DVector(-rMyVector.getX(), -rMyVector.getY()).angle(rOtherVector) + F_PI);
|
||||
maEntries.emplace_back(rStyle, rOtherVector, fAngle, bMirrored);
|
||||
maEntries.emplace_back(rStyle, rOtherVector, fAngle, bMirrored, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ class FmFilterData
|
|||
OUString m_aText;
|
||||
|
||||
public:
|
||||
FmFilterData(FmParentData* pParent, const OUString& rText = OUString())
|
||||
FmFilterData(FmParentData* pParent, const OUString& rText)
|
||||
:m_pParent( pParent )
|
||||
,m_aText( rText )
|
||||
{}
|
||||
|
|
|
@ -1052,7 +1052,7 @@ class FmXFilterCell final : public FmXGridCell
|
|||
,public FmXFilterCell_Base
|
||||
{
|
||||
public:
|
||||
FmXFilterCell(DbGridColumn* pColumn, DbCellControl* pControl = nullptr);
|
||||
FmXFilterCell(DbGridColumn* pColumn, DbCellControl* pControl);
|
||||
|
||||
|
||||
DECLARE_UNO3_AGG_DEFAULTS(FmXFilterCell, FmXGridCell)
|
||||
|
|
Loading…
Reference in a new issue