summaryrefslogtreecommitdiffstats
path: root/include/svx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/SvxPresetListBox.hxx2
-rw-r--r--include/svx/svdedtv.hxx6
-rw-r--r--include/svx/svdedxv.hxx2
-rw-r--r--include/svx/svdglev.hxx8
-rw-r--r--include/svx/svdlayer.hxx2
-rw-r--r--include/svx/svdmodel.hxx8
-rw-r--r--include/svx/svdmrkv.hxx18
-rw-r--r--include/svx/svdoashp.hxx2
-rw-r--r--include/svx/svdobj.hxx4
-rw-r--r--include/svx/svdomeas.hxx2
-rw-r--r--include/svx/svdotable.hxx4
-rw-r--r--include/svx/svdotext.hxx4
-rw-r--r--include/svx/svdpagv.hxx10
-rw-r--r--include/svx/svdpntv.hxx18
-rw-r--r--include/svx/svdpoev.hxx2
-rw-r--r--include/svx/svdview.hxx4
-rw-r--r--include/svx/svdxcgv.hxx4
-rw-r--r--include/svx/svxdlg.hxx8
-rw-r--r--include/svx/txencbox.hxx4
-rw-r--r--include/svx/unopage.hxx2
-rw-r--r--include/svx/unoshape.hxx10
-rw-r--r--include/svx/xoutbmp.hxx4
-rw-r--r--include/svx/xtable.hxx2
23 files changed, 65 insertions, 65 deletions
diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx
index 84f2c4cacc49..aa0538077889 100644
--- a/include/svx/SvxPresetListBox.hxx
+++ b/include/svx/SvxPresetListBox.hxx
@@ -39,7 +39,7 @@ private:
DECL_LINK_TYPED( OnMenuItemSelected, Menu*, bool );
template< typename ListType, typename EntryType >
- void FillPresetListBoxImpl(ListType& pList, sal_uInt32 nStartIndex = 1);
+ void FillPresetListBoxImpl(ListType& pList, sal_uInt32 nStartIndex);
public:
SvxPresetListBox(vcl::Window* pParent, WinBits nWinStyle = WB_ITEMBORDER);
diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx
index 7c1197fd3897..aefeb0c0e87e 100644
--- a/include/svx/svdedtv.hxx
+++ b/include/svx/svdedtv.hxx
@@ -192,7 +192,7 @@ public:
void AddUndoActions( std::vector< SdrUndoAction* >& );
// Layermanagement with Undo.
- void InsertNewLayer(const OUString& rName, sal_uInt16 nPos=0xFFFF);
+ void InsertNewLayer(const OUString& rName, sal_uInt16 nPos);
// Delete a layer including all objects contained
void DeleteLayer(const OUString& rName);
@@ -218,8 +218,8 @@ public:
void MirrorMarkedObjVertical();
long GetMarkedObjShear() const;
void ShearMarkedObj(const Point& rRef, long nAngle, bool bVShear=false, bool bCopy=false);
- void CrookMarkedObj(const Point& rRef, const Point& rRad, SdrCrookMode eMode, bool bVertical=false, bool bNoContortion=false, bool bCopy=false);
- void DistortMarkedObj(const Rectangle& rRef, const XPolygon& rDistortedRect, bool bNoContortion=false, bool bCopy=false);
+ void CrookMarkedObj(const Point& rRef, const Point& rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion=false, bool bCopy=false);
+ void DistortMarkedObj(const Rectangle& rRef, const XPolygon& rDistortedRect, bool bNoContortion, bool bCopy=false);
// copy marked objects and mark them instead of the old ones
void CopyMarkedObj();
diff --git a/include/svx/svdedxv.hxx b/include/svx/svdedxv.hxx
index 0dede9ed51ab..0e48c22ad94a 100644
--- a/include/svx/svdedxv.hxx
+++ b/include/svx/svdedxv.hxx
@@ -234,7 +234,7 @@ public:
virtual SvtScriptType GetScriptType() const;
/* new interface src537 */
- bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr=false) const;
+ bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const;
bool SetAttributes(const SfxItemSet& rSet, bool bReplaceAll);
SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(bool& rOk) const;
diff --git a/include/svx/svdglev.hxx b/include/svx/svdglev.hxx
index e9489e0eb981..6559ddb4b4fd 100644
--- a/include/svx/svdglev.hxx
+++ b/include/svx/svdglev.hxx
@@ -35,8 +35,8 @@ class SVX_DLLPUBLIC SdrGlueEditView: public SdrPolyEditView
void ImpCopyMarkedGluePoints();
typedef void (*PGlueDoFunc)(SdrGluePoint&, const SdrObject* pObj, const void*, const void*, const void*, const void*, const void*);
typedef void (*PGlueTrFunc)(Point&, const void*, const void*, const void*, const void*, const void*);
- void ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, bool bConst, const void* p1=nullptr, const void* p2=nullptr, const void* p3=nullptr, const void* p4=nullptr, const void* p5=nullptr);
- void ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const void* p1=nullptr, const void* p2=nullptr, const void* p3=nullptr, const void* p4=nullptr, const void* p5=nullptr);
+ void ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, bool bConst, const void* p1, const void* p2=nullptr, const void* p3=nullptr, const void* p4=nullptr, const void* p5=nullptr);
+ void ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const void* p1, const void* p2=nullptr, const void* p3=nullptr, const void* p4=nullptr, const void* p5=nullptr);
protected:
// #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
@@ -73,8 +73,8 @@ public:
void DeleteMarkedGluePoints();
void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false);
- void ResizeMarkedGluePoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy=false);
- void RotateMarkedGluePoints(const Point& rRef, long nAngle, bool bCopy=false);
+ void ResizeMarkedGluePoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy);
+ void RotateMarkedGluePoints(const Point& rRef, long nAngle, bool bCopy);
};
#endif // INCLUDED_SVX_SVDGLEV_HXX
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx
index ecb834326ce5..fef2ca52be40 100644
--- a/include/svx/svdlayer.hxx
+++ b/include/svx/svdlayer.hxx
@@ -132,7 +132,7 @@ public:
SdrLayer* NewLayer(const OUString& rName, sal_uInt16 nPos=0xFFFF);
// New layer, name is retrieved from the resource
- void NewStandardLayer(sal_uInt16 nPos=0xFFFF);
+ void NewStandardLayer(sal_uInt16 nPos);
// Iterate over all layers
sal_uInt16 GetLayerCount() const { return sal_uInt16(aLayer.size()); }
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index e44ba066b856..63c75f46f05c 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -299,7 +299,7 @@ public:
void SetTextDefaults() const;
static void SetTextDefaults( SfxItemPool* pItemPool, sal_uIntPtr nDefTextHgt );
- SdrOutliner& GetChainingOutliner(const SdrTextObj* pObj=nullptr) const;
+ SdrOutliner& GetChainingOutliner(const SdrTextObj* pObj) const;
TextChain * GetTextChain() const;
// ReferenceDevice for the EditEngine
@@ -440,7 +440,7 @@ public:
// bTreadSourceAsConst.......: sal_True=the SourceModel will not be changed,
// so pages will be copied.
virtual void Merge(SdrModel& rSourceModel,
- sal_uInt16 nFirstPageNum=0, sal_uInt16 nLastPageNum=0xFFFF,
+ sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum=0xFFFF,
sal_uInt16 nDestPos=0xFFFF,
bool bMergeMasterPages = false, bool bAllMasterPages = false,
bool bUndo = true, bool bTreadSourceAsConst = false);
@@ -448,7 +448,7 @@ public:
// Behaves like Merge(SourceModel=DestModel,nFirst,nLast,nDest,sal_False,sal_False,bUndo,!bMoveNoCopy);
void CopyPages(sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum,
sal_uInt16 nDestPos,
- bool bUndo = true, bool bMoveNoCopy = false);
+ bool bUndo, bool bMoveNoCopy = false);
// BegUndo() / EndUndo() enables you to group arbitrarily many UndoActions
// arbitrarily deeply. As comment for the UndoAction the first BegUndo(String) of all
@@ -459,7 +459,7 @@ public:
// Actions on the SdrView however do generate those.
void BegUndo(); // open Undo group
void BegUndo(const OUString& rComment); // open Undo group
- void BegUndo(const OUString& rComment, const OUString& rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE); // open Undo group
+ void BegUndo(const OUString& rComment, const OUString& rObjDescr, SdrRepeatFunc eFunc); // open Undo group
void EndUndo(); // close Undo group
void AddUndo(SdrUndoAction* pUndo);
sal_uInt16 GetUndoBracketLevel() const { return nUndoLevel; }
diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx
index a4217bf53e96..dc4f739ebe56 100644
--- a/include/svx/svdmrkv.hxx
+++ b/include/svx/svdmrkv.hxx
@@ -206,11 +206,11 @@ public:
void SetEditMode(SdrViewEditMode eMode);
SdrViewEditMode GetEditMode() const { return meEditMode; }
- void SetEditMode(bool bOn=true) { SetEditMode(bOn?SdrViewEditMode::Edit:SdrViewEditMode::Create); }
+ void SetEditMode(bool bOn) { SetEditMode(bOn?SdrViewEditMode::Edit:SdrViewEditMode::Create); }
bool IsEditMode() const { return meEditMode==SdrViewEditMode::Edit; }
- void SetCreateMode(bool bOn=true) { SetEditMode(bOn?SdrViewEditMode::Create:SdrViewEditMode::Edit); }
+ void SetCreateMode(bool bOn) { SetEditMode(bOn?SdrViewEditMode::Create:SdrViewEditMode::Edit); }
bool IsCreateMode() const { return meEditMode==SdrViewEditMode::Create; }
- void SetGluePointEditMode(bool bOn=true) { SetEditMode(bOn?SdrViewEditMode::GluePointEdit:meEditMode0); }
+ void SetGluePointEditMode(bool bOn) { SetEditMode(bOn?SdrViewEditMode::GluePointEdit:meEditMode0); }
bool IsGluePointEditMode() const { return meEditMode==SdrViewEditMode::GluePointEdit; }
void SetDesignMode(bool bOn = true);
@@ -274,7 +274,7 @@ public:
bool MarkObj(const Point& rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false);
// Pick: Supported options for nOptions are SdrSearchOptions::PASS2BOUND und SdrSearchOptions::PASS3NEAREST
- bool PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, SdrSearchOptions nOptions=SdrSearchOptions::NONE) const;
+ bool PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, SdrSearchOptions nOptions) const;
// Selects the most upper of the marked objects (O1) and scans from there
// towards bottom direction, selecting the first non-marked object (O2).
@@ -288,11 +288,11 @@ public:
// object (O2). In case of success the marking of O1 is deleted, a marking
// is created at O2 and sal_True is returned. With the parameter
// bPrev=sal_True the scan direction is turned to the other direction.
- bool MarkNextObj(const Point& rPnt, short nTol=-2, bool bPrev=false);
+ bool MarkNextObj(const Point& rPnt, short nTol, bool bPrev=false);
// Mark all objects within a rectangular area
// Just objects are marked which are inclosed completely
- void MarkObj(const Rectangle& rRect, bool bUnmark=false);
+ void MarkObj(const Rectangle& rRect, bool bUnmark);
void MarkObj(SdrObject* pObj, SdrPageView* pPV, bool bUnmark=false, bool bImpNoSetMarkHdl=false);
void MarkAllObj(SdrPageView* pPV=nullptr); // pPage=NULL => all displayed pages
void UnmarkAllObj(SdrPageView* pPV=nullptr); // pPage=NULL => all displayed pages
@@ -322,7 +322,7 @@ public:
bool MarkPointHelper(SdrHdl* pHdl, SdrMark* pMark, bool bUnmark);
// Mark all points within this rectangular alle Punkte (View coordinates)
- void MarkPoints(const Rectangle& rRect, bool bUnmark=false) { MarkPoints(&rRect,bUnmark); }
+ void MarkPoints(const Rectangle& rRect, bool bUnmark) { MarkPoints(&rRect,bUnmark); }
bool UnmarkPoint(SdrHdl& rHdl) { return MarkPoint(rHdl,true); }
bool IsPointMarked(const SdrHdl& rHdl) const { ForceUndirtyMrkPnt(); return rHdl.IsSelected(); }
bool MarkAllPoints() { return MarkPoints(nullptr,false); }
@@ -333,7 +333,7 @@ public:
// In case of success the marking of
// P1 is deleted, a mark is set at P2 and sal_True is returned.
// With the parameter bPrev=sal_True the scan direction is turned to the other direction.
- bool MarkNextPoint(const Point& rPnt, bool bPrev=false);
+ bool MarkNextPoint(const Point& rPnt, bool bPrev);
// Search for the number of the suitable handle. In case of empty search result,
// SAL_MAX_SIZE is returned.
@@ -388,7 +388,7 @@ public:
// In case of success the marking of
// P1 is deleted, a mark is set at P2 and sal_True is returned.
// With the parameter bPrev=sal_True the scan direction is turned to the other direction.
- bool MarkNextGluePoint(const Point& rPnt, bool bPrev=false);
+ bool MarkNextGluePoint(const Point& rPnt, bool bPrev);
// Draw a selection frame for glue point marking.
// This routine will just be started in case that HasMarkablePoints() returns sal_True.
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx
index 2d5ba46993bb..8166a9cc2218 100644
--- a/include/svx/svdoashp.hxx
+++ b/include/svx/svdoashp.hxx
@@ -233,7 +233,7 @@ public:
virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const override;
virtual void EndTextEdit( SdrOutliner& rOutl ) override;
virtual void TakeTextAnchorRect( Rectangle& rAnchorRect ) const override;
- virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
+ virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText,
Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const override;
virtual SdrObjCustomShape* Clone() const override;
SdrObjCustomShape& operator=(const SdrObjCustomShape& rObj);
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 9d913bc71cb4..7b3741c973f4 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -826,7 +826,7 @@ public:
// when there is no filled new polygon created from line-to-polygon conversion,
// specially used for XLINE_DASH and 3D conversion
SdrObject* ConvertToContourObj(SdrObject* pRet, bool bForceLineDash = false) const;
- static SdrObject* ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDash = false);
+ static SdrObject* ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDash);
// if true, reference onto an object
bool IsVirtualObj() const { return bVirtObj;}
@@ -872,7 +872,7 @@ public:
void DeleteUserData(sal_uInt16 nNum);
// switch ItemPool for this object
- void MigrateItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel = nullptr);
+ void MigrateItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel);
// access to the UNO representation of the shape
virtual css::uno::Reference< css::uno::XInterface > getUnoShape();
diff --git a/include/svx/svdomeas.hxx b/include/svx/svdomeas.hxx
index 83358080bd3d..c095545ff9bc 100644
--- a/include/svx/svdomeas.hxx
+++ b/include/svx/svdomeas.hxx
@@ -135,7 +135,7 @@ public:
virtual bool BegTextEdit(SdrOutliner& rOutl) override;
virtual const Size& GetTextSize() const override;
- virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
+ virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText,
Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const override;
virtual void TakeTextAnchorRect(Rectangle& rAnchorRect) const override;
virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const override;
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx
index 1fe79eee5f3c..dc0b5a6dec3d 100644
--- a/include/svx/svdotable.hxx
+++ b/include/svx/svdotable.hxx
@@ -174,8 +174,8 @@ 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, ::Rectangle& rTextRect, bool bNoEditText = false, ::Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const;
- virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false, Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const override;
+ void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::Rectangle& rTextRect, bool bNoEditText, ::Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const;
+ virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText, Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const override;
void TakeTextAnchorRect(const sdr::table::CellPos& rPos, ::Rectangle& rAnchorRect ) const;
virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const override;
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index 5c62210c83ee..cb8abe4ae063 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -335,7 +335,7 @@ public:
void SetTextLink(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet);
void ReleaseTextLink();
bool IsLinkedText() const { return pPlusData!=nullptr && GetLinkUserData()!=nullptr; }
- bool ReloadLinkedText(bool bForceLoad = false);
+ bool ReloadLinkedText(bool bForceLoad);
bool LoadText(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet);
virtual bool AdjustTextFrameWidthAndHeight(Rectangle& rR, bool bHgt = true, bool bWdt = true) const;
@@ -395,7 +395,7 @@ public:
// Simultaneously sets the text into the Outliner (possibly
// the one of the EditOutliner) and sets the PaperSize.
- virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
+ virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText,
Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const;
virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const;
const GeoStat& GetGeoStat() const { return aGeo; }
diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx
index f5b982117886..e410b4396e6d 100644
--- a/include/svx/svdpagv.hxx
+++ b/include/svx/svdpagv.hxx
@@ -162,12 +162,12 @@ public:
void PrePaint();
/// @param rReg refers to the OutDev and not to the Page
- void CompleteRedraw( SdrPaintWindow& rPaintWindow, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr );
+ void CompleteRedraw( SdrPaintWindow& rPaintWindow, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector );
/// Write access to mpPreparedPageWindow
void setPreparedPageWindow(SdrPageWindow* pKnownTarget);
- void DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget = nullptr, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr,
+ void DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr,
const Rectangle& rRect = Rectangle());
void DrawPageViewGrid(OutputDevice& rOut, const Rectangle& rRect, Color aColor = Color( COL_BLACK ) );
@@ -191,17 +191,17 @@ public:
Rectangle& MarkBound() { return aMarkBound; }
Rectangle& MarkSnap() { return aMarkSnap; }
- void SetLayerVisible(const OUString& rName, bool bShow = true) {
+ void SetLayerVisible(const OUString& rName, bool bShow) {
SetLayer(rName, aLayerVisi, bShow);
if(!bShow) AdjHdl();
InvalidateAllWin();
}
bool IsLayerVisible(const OUString& rName) const { return IsLayer(rName, aLayerVisi); }
- void SetLayerLocked(const OUString& rName, bool bLock = true) { SetLayer(rName, aLayerLock, bLock); if(bLock) AdjHdl(); }
+ void SetLayerLocked(const OUString& rName, bool bLock) { SetLayer(rName, aLayerLock, bLock); if(bLock) AdjHdl(); }
bool IsLayerLocked(const OUString& rName) const { return IsLayer(rName,aLayerLock); }
- void SetLayerPrintable(const OUString& rName, bool bPrn = true) { SetLayer(rName, aLayerPrn, bPrn); }
+ void SetLayerPrintable(const OUString& rName, bool bPrn) { SetLayer(rName, aLayerPrn, bPrn); }
bool IsLayerPrintable(const OUString& rName) const { return IsLayer(rName, aLayerPrn); }
/// PV represents a RefPage or a SubList of a RefObj, or the Model is ReadOnly
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index b687bd609676..e7245bbb7b63 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -107,7 +107,7 @@ typedef ::std::vector< SdrPaintWindow* > SdrPaintWindowVector;
BitmapEx SVX_DLLPUBLIC convertMetafileToBitmapEx(
const GDIMetaFile& rMtf,
const basegfx::B2DRange& rTargetRange,
- const sal_uInt32 nMaximumQuadraticPixels = 500000);
+ const sal_uInt32 nMaximumQuadraticPixels);
class SVX_DLLPUBLIC SdrPaintView : public SfxListener, public SfxRepeatTarget, public SfxBroadcaster, public ::utl::ConfigurationListener
@@ -305,13 +305,13 @@ public:
virtual void AddWindowToPaintView(OutputDevice* pNewWin, vcl::Window* pWindow);
virtual void DeleteWindowFromPaintView(OutputDevice* pOldWin);
- void SetLayerVisible(const OUString& rName, bool bShow=true);
+ void SetLayerVisible(const OUString& rName, bool bShow);
bool IsLayerVisible(const OUString& rName) const;
void SetLayerLocked(const OUString& rName, bool bLock=true);
bool IsLayerLocked(const OUString& rName) const;
- void SetLayerPrintable(const OUString& rName, bool bPrn=true);
+ void SetLayerPrintable(const OUString& rName, bool bPrn);
bool IsLayerPrintable(const OUString& rName) const;
// PrePaint call forwarded from app windows
@@ -379,13 +379,13 @@ public:
const Color& GetGridColor() const { return maGridColor;}
void SetPageVisible(bool bOn = true) { mbPageVisible=bOn; InvalidateAllWin(); }
- void SetPageShadowVisible(bool bOn = true) { mbPageShadowVisible=bOn; InvalidateAllWin(); }
+ void SetPageShadowVisible(bool bOn) { mbPageShadowVisible=bOn; InvalidateAllWin(); }
void SetPageBorderVisible(bool bOn = true) { mbPageBorderVisible=bOn; InvalidateAllWin(); }
void SetBordVisible(bool bOn = true) { mbBordVisible=bOn; InvalidateAllWin(); }
- void SetGridVisible(bool bOn = true) { mbGridVisible=bOn; InvalidateAllWin(); }
- void SetGridFront(bool bOn = true) { mbGridFront =bOn; InvalidateAllWin(); }
+ void SetGridVisible(bool bOn) { mbGridVisible=bOn; InvalidateAllWin(); }
+ void SetGridFront(bool bOn) { mbGridFront =bOn; InvalidateAllWin(); }
void SetHlplVisible(bool bOn = true) { mbHlplVisible=bOn; InvalidateAllWin(); }
- void SetHlplFront(bool bOn = true) { mbHlplFront =bOn; InvalidateAllWin(); }
+ void SetHlplFront(bool bOn) { mbHlplFront =bOn; InvalidateAllWin(); }
void SetGlueVisible(bool bOn = true) { if (mbGlueVisible!=bOn) { mbGlueVisible=bOn; if (!mbGlueVisible2 && !mbGlueVisible3 && !mbGlueVisible4) GlueInvalidate(); } }
void SetGridColor( Color aColor );
@@ -455,7 +455,7 @@ public:
virtual bool MouseMove(const MouseEvent& /*rMEvt*/, vcl::Window* /*pWin*/) { return false; }
virtual bool Command(const CommandEvent& /*rCEvt*/, vcl::Window* /*pWin*/) { return false; }
- bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr=false) const;
+ bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) const;
bool SetAttributes(const SfxItemSet& rSet, bool bReplaceAll);
SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(bool& rOk) const;
@@ -484,7 +484,7 @@ public:
/// The Browser is destroyed for bShow=false
#ifdef DBG_UTIL
- void ShowItemBrowser(bool bShow=true);
+ void ShowItemBrowser(bool bShow);
bool IsItemBrowserVisible() const { return mpItemBrowser!=nullptr && GetItemBrowser()->IsVisible(); }
vcl::Window* GetItemBrowser() const;
#endif
diff --git a/include/svx/svdpoev.hxx b/include/svx/svdpoev.hxx
index 450cc12a1abc..524c3710011d 100644
--- a/include/svx/svdpoev.hxx
+++ b/include/svx/svdpoev.hxx
@@ -42,7 +42,7 @@ private:
SVX_DLLPRIVATE void ImpCheckPolyPossibilities();
typedef void (*PPolyTrFunc)(Point&, Point*, Point*, const void*, const void*, const void*, const void*, const void*);
- SVX_DLLPRIVATE void ImpTransformMarkedPoints(PPolyTrFunc pTrFunc, const void* p1=nullptr, const void* p2=nullptr, const void* p3=nullptr, const void* p4=nullptr, const void* p5=nullptr);
+ SVX_DLLPRIVATE void ImpTransformMarkedPoints(PPolyTrFunc pTrFunc, const void* p1, const void* p2=nullptr, const void* p3=nullptr, const void* p4=nullptr, const void* p5=nullptr);
protected:
// #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
diff --git a/include/svx/svdview.hxx b/include/svx/svdview.hxx
index 4ae82e72df25..d4b39affa197 100644
--- a/include/svx/svdview.hxx
+++ b/include/svx/svdview.hxx
@@ -203,7 +203,7 @@ public:
virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ) override;
bool SetAttributes(const SfxItemSet& rSet, bool bReplaceAll=false) { return SdrCreateView::SetAttributes(rSet,bReplaceAll); }
- bool SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr=false) { return SdrCreateView::SetStyleSheet(pStyleSheet,bDontRemoveHardAttr); }
+ bool SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr) { return SdrCreateView::SetStyleSheet(pStyleSheet,bDontRemoveHardAttr); }
/* new interface src537 */
bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr=false) const;
@@ -237,7 +237,7 @@ public:
// bAddMark=TRUE: add to existing selection (->Shift)
// bUnmark=TRUE: remove objects from selection which are inside of
// the enveloped frame.
- bool BegMark(const Point& rPnt, bool bAddMark=false, bool bUnmark=false);
+ bool BegMark(const Point& rPnt, bool bAddMark, bool bUnmark=false);
// The following actions are possible:
// - ObjectCreating
diff --git a/include/svx/svdxcgv.hxx b/include/svx/svdxcgv.hxx
index 5377870b2fd8..f506a91f25f2 100644
--- a/include/svx/svdxcgv.hxx
+++ b/include/svx/svdxcgv.hxx
@@ -109,8 +109,8 @@ public:
virtual bool Paste(
const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions);
- bool Paste(const OUString& rStr, const Point& rPos, SdrObjList* pLst=nullptr, SdrInsertFlags nOptions=SdrInsertFlags::NONE);
- bool Paste(SvStream& rInput, const OUString& rBaseURL, sal_uInt16 eFormat, const Point& rPos, SdrObjList* pLst=nullptr, SdrInsertFlags nOptions=SdrInsertFlags::NONE);
+ bool Paste(const OUString& rStr, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions=SdrInsertFlags::NONE);
+ bool Paste(SvStream& rInput, const OUString& rBaseURL, sal_uInt16 eFormat, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions=SdrInsertFlags::NONE);
};
#endif // INCLUDED_SVX_SVDXCGV_HXX
diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx
index 7cd86f74d2d0..af4ea643ce17 100644
--- a/include/svx/svxdlg.hxx
+++ b/include/svx/svxdlg.hxx
@@ -324,7 +324,7 @@ public:
virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg(
vcl::Window* pParent,
const SfxItemSet& rCoreSet,
- bool bEnableSelector = false,
+ bool bEnableSelector,
bool bEnableDrawingLayerFillStyles = false) = 0;
virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( vcl::Window* pParent,
@@ -335,7 +335,7 @@ public:
const SfxItemSet* pAttr,
const SdrView* pSdrView,
sal_uInt32 nResId,
- bool bSizeTabPage = false
+ bool bSizeTabPage
)=0;
virtual AbstractSvxJSearchOptionsDialog * CreateSvxJSearchOptionsDialog( vcl::Window* pParent,
const SfxItemSet& rOptionsSet,
@@ -384,7 +384,7 @@ public:
bool bShadow) = 0 ;
virtual SfxAbstractTabDialog* CreateSvxLineTabDialog( vcl::Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog
SdrModel* pModel,
- const SdrObject* pObj = nullptr,
+ const SdrObject* pObj,
bool bHasObj = true )=0;
virtual SfxAbstractDialog* CreateSfxDialog( vcl::Window* pParent,
const SfxItemSet& rAttr,
@@ -419,7 +419,7 @@ public:
const sal_uInt16 _nInitiallySelectedEvent
) = 0;
- virtual SfxAbstractTabDialog* CreateSvxFormatCellsDialog( const SfxItemSet* pAttr, SdrModel* pModel, const SdrObject* pObj = nullptr )=0;
+ virtual SfxAbstractTabDialog* CreateSvxFormatCellsDialog( const SfxItemSet* pAttr, SdrModel* pModel, const SdrObject* pObj )=0;
virtual SvxAbstractSplittTableDialog* CreateSvxSplittTableDialog( vcl::Window* pParent, bool bIsTableVertical, long nMaxVertical, long nMaxHorizontal )=0;
diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx
index 1f8f483306e3..5b1c0143c4d1 100644
--- a/include/svx/txencbox.hxx
+++ b/include/svx/txencbox.hxx
@@ -53,7 +53,7 @@ public:
RTL_TEXTENCODING_GB_18030. Normally, this flag should be set to
<TRUE/> whenever the box is used in import dialogs. */
void FillFromTextEncodingTable(
- bool bExcludeImportSubsets = false,
+ bool bExcludeImportSubsets,
sal_uInt32 nExcludeInfoFlags = 0,
sal_uInt32 nButIncludeInfoFlags = 0
);
@@ -74,7 +74,7 @@ public:
RTL_TEXTENCODING_GB_18030. Normally, this flag should be set to
<TRUE/> whenever the box is used in import dialogs. */
void FillFromDbTextEncodingMap(
- bool bExcludeImportSubsets = false,
+ bool bExcludeImportSubsets,
sal_uInt32 nExcludeInfoFlags = 0
);
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index 808bba5b23f1..3ce80c5f9d8e 100644
--- a/include/svx/unopage.hxx
+++ b/include/svx/unopage.hxx
@@ -96,7 +96,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< css::drawin
virtual SdrObject *CreateSdrObject_( const css::uno::Reference< css::drawing::XShape >& xShape )
throw (css::uno::RuntimeException, std::exception);
- static SvxShape* CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj = nullptr, SvxDrawPage *pPage = nullptr, OUString const & referer = OUString() ) throw (css::uno::RuntimeException);
+ static SvxShape* CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj, SvxDrawPage *pPage = nullptr, OUString const & referer = OUString() ) throw (css::uno::RuntimeException);
// The following method is called if a SvxShape object is to be created.
// Derived classes can create a derivation or an SvxShape aggregating object.
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 496c338b12ff..15690c016779 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -173,7 +173,7 @@ public:
// Internals
void ObtainSettingsFromPropertySet(const SvxItemPropertySet& rPropSet);
- virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = nullptr );
+ virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage );
/** takes the ownership of the SdrObject.
When the shape is disposed, and it has the ownership of its associated SdrObject, then
@@ -337,7 +337,7 @@ public:
SvxShapeText( SdrObject* pObject, const SfxItemPropertyMapEntry* pPropertyMap, const SvxItemPropertySet* pPropertySet ) throw ();
virtual ~SvxShapeText() throw ();
- virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = nullptr ) override;
+ virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
@@ -397,7 +397,7 @@ public:
SvxShapeGroup( SdrObject* pObj,SvxDrawPage* pDrawPage ) throw ();
virtual ~SvxShapeGroup() throw ();
- virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = nullptr ) override;
+ virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
@@ -670,7 +670,7 @@ public:
virtual ~Svx3DSceneObject() throw();
- virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = nullptr ) override;
+ virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
@@ -808,7 +808,7 @@ public:
virtual ~SvxCustomShape() throw ();
- virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage = nullptr ) override;
+ virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
diff --git a/include/svx/xoutbmp.hxx b/include/svx/xoutbmp.hxx
index c694625092a0..032716fb553b 100644
--- a/include/svx/xoutbmp.hxx
+++ b/include/svx/xoutbmp.hxx
@@ -59,7 +59,7 @@ public:
static Graphic MirrorGraphic( const Graphic& rGraphic, const BmpMirrorFlags nMirrorFlags );
static Animation MirrorAnimation( const Animation& rAnimation, bool bHMirr, bool bVMirr );
static sal_uInt16 WriteGraphic( const Graphic& rGraphic, OUString& rFileName,
- const OUString& rFilterName, const XOutFlags nFlags = XOutFlags::NONE,
+ const OUString& rFilterName, const XOutFlags nFlags,
const Size* pMtfSize_100TH_MM = nullptr );
static bool GraphicToBase64(const Graphic& rGraphic, OUString& rOUString);
@@ -70,7 +70,7 @@ public:
static Bitmap DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold );
static tools::Polygon GetCountour( const Bitmap& rBmp, const XOutFlags nContourFlags,
- const sal_uInt8 cEdgeDetectThreshold = 50,
+ const sal_uInt8 cEdgeDetectThreshold,
const Rectangle* pWorkRect = nullptr );
};
diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx
index 18474537fa2b..39fc5f763ad9 100644
--- a/include/svx/xtable.hxx
+++ b/include/svx/xtable.hxx
@@ -211,7 +211,7 @@ public:
const OUString& GetPath() const { return maPath; }
void SetPath(const OUString& rString) { maPath = rString; }
- void SetDirty(bool bDirty = true) { mbListDirty = bDirty; }
+ void SetDirty(bool bDirty) { mbListDirty = bDirty; }
bool IsEmbedInDocument() const { return mbEmbedInDocument; }
void SetEmbedInDocument(bool b) { mbEmbedInDocument = b; }