diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 13:46:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 13:47:05 +0200 |
commit | 228d0950f5a0c0806355d3ecdf08d97d818b772b (patch) | |
tree | 3236acf1f109765a65a16b3c238eced44cf152c5 | |
parent | 6488d249b0c5649313b6611660aca939e5c374bf (diff) |
loplugin:countusersofdefaultparams
Change-Id: I7150494a56abc6ec9c7fba39cefe3967a475f073
48 files changed, 164 insertions, 164 deletions
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx index 024b55550034..ec4264d32060 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -286,7 +286,7 @@ class SW_DLLPUBLIC SwAnchoredObject input parameter - boolean indicating, if check on paragraph portion information has to be done. */ - void CheckCharRectAndTopOfLine( const bool _bCheckForParaPorInf = true ); + void CheckCharRectAndTopOfLine( const bool _bCheckForParaPorInf ); // accessors to member <maLastCharRect> const SwRect& GetLastCharRect() const { return maLastCharRect;} diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index ae7773deb4b0..c0fd74552e04 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -47,7 +47,7 @@ public: } bool GetAutoFlag() const { return bAuto; } - void SetAutoFlag( bool bFlag = true ) { bAuto = bFlag; } + void SetAutoFlag( bool bFlag ) { bAuto = bFlag; } }; class SwTableBoxFormula : public SfxPoolItem, public SwTableFormula diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx index 4e7b591de4f2..85c8787fb40c 100644 --- a/sw/inc/cellfml.hxx +++ b/sw/inc/cellfml.hxx @@ -56,29 +56,29 @@ class SwTableFormula typedef void (SwTableFormula:: *FnScanFormula)( const SwTable&, OUString&, OUString&, OUString*, void* ) const; - void BoxNmsToPtr( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void BoxNmsToPtr( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void PtrToBoxNms( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void PtrToBoxNms( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void RelNmsToBoxNms( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void RelNmsToBoxNms( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void RelBoxNmsToPtr( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void RelBoxNmsToPtr( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void BoxNmsToRelNm( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void BoxNmsToRelNm( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void MakeFormula_( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void MakeFormula_( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void GetFormulaBoxes( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void GetFormulaBoxes( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void HasValidBoxes_( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void HasValidBoxes_( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; - void SplitMergeBoxNm_( const SwTable&, OUString&, OUString&, OUString* = nullptr, + void SplitMergeBoxNm_( const SwTable&, OUString&, OUString&, OUString*, void* pPara = nullptr ) const; static void GetBoxes( const SwTableBox& rStt, const SwTableBox& rEnd, SwSelBoxes& rBoxes ); OUString ScanString( FnScanFormula fnFormula, const SwTable& rTable, - void* = nullptr ) const; + void*) const; static const SwTable* FindTable( SwDoc& rDoc, const OUString& rNm ); diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 89c90a965cfd..b54998022275 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -376,13 +376,13 @@ public: sal_uLong Find( const SwTextFormatColl& rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool& bCancel, - FindRanges eRng, const SwTextFormatColl* pReplFormat = nullptr ); + FindRanges eRng, const SwTextFormatColl* pReplFormat ); sal_uLong Find( const SfxItemSet& rSet, bool bNoCollections, SwDocPositions eStart, SwDocPositions eEnd, bool& bCancel, FindRanges eRng, - const css::util::SearchOptions2* pSearchOpt = nullptr, + const css::util::SearchOptions2* pSearchOpt, const SfxItemSet* rReplSet = nullptr ); // Position the Cursor @@ -608,7 +608,7 @@ public: // select the given range of OutlineNodes. Optionally including the children // the sal_uInt16s are the positions in OutlineNodes-Array (EditShell) bool MakeOutlineSel( sal_uInt16 nSttPos, sal_uInt16 nEndPos, - bool bWithChildren = false ); + bool bWithChildren ); bool GotoNextOutline(); bool GotoPrevOutline(); @@ -649,7 +649,7 @@ public: bool GotoHeaderText(); ///< jump from the content to the header bool GotoFooterText(); ///< jump from the content to the footer // jump to the header/footer of the given or current PageDesc - bool SetCursorInHdFt( size_t nDescNo = SIZE_MAX, + bool SetCursorInHdFt( size_t nDescNo, bool bInHeader = true ); // is point of cursor in header/footer. pbInHeader return true if it is // in a headerframe otherwise in a footerframe @@ -669,9 +669,9 @@ public: bool bOnlyErrors = false ); // jump to the next / previous hyperlink - inside text and also // on graphics - bool SelectNxtPrvHyperlink( bool bNext = true ); + bool SelectNxtPrvHyperlink( bool bNext ); - bool GotoRefMark( const OUString& rRefMark, sal_uInt16 nSubType = 0, + bool GotoRefMark( const OUString& rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo = 0 ); // get the nth character from the start or end of the current selection @@ -718,7 +718,7 @@ public: bool GoNextSentence(); bool GoStartSentence(); bool GoEndSentence(); - bool SelectWord( const Point* pPt = nullptr ); + bool SelectWord( const Point* pPt ); bool ExpandToSentenceBorders(); // get position from current cursor @@ -758,7 +758,7 @@ public: virtual void MakeSelVisible(); // set the cursor to a NOT protected/hidden node - bool FindValidContentNode( bool bOnlyText = false ); + bool FindValidContentNode( bool bOnlyText ); bool GetContentAtPos( const Point& rPt, SwContentAtPos& rContentAtPos, @@ -801,7 +801,7 @@ public: const SwRangeRedline* SelNextRedline(); const SwRangeRedline* SelPrevRedline(); - const SwRangeRedline* GotoRedline( sal_uInt16 nArrPos, bool bSelect = false ); + const SwRangeRedline* GotoRedline( sal_uInt16 nArrPos, bool bSelect ); // is cursor or the point in/over a vertical formatted text? bool IsInVerticalText( const Point* pPt = nullptr ) const; diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx index af22755f2a21..399414944de8 100644 --- a/sw/inc/dbmgr.hxx +++ b/sw/inc/dbmgr.hxx @@ -400,7 +400,7 @@ public: */ static OUString LoadAndRegisterDataSource(const DBConnURITypes type, const css::uno::Any &rUnoURI, const css::uno::Reference < css::beans::XPropertySet > *pSettings, - const OUString &rURI, const OUString *pPrefix = nullptr, const OUString *pDestDir = nullptr, + const OUString &rURI, const OUString *pPrefix, const OUString *pDestDir = nullptr, SwDocShell* pDocShell = nullptr); /** Loads a data source from file and registers it. @@ -408,7 +408,7 @@ public: Convenience function, which calls GetDBunoURI and has just one mandatory parameter. In case of success it returns the registered name, otherwise an empty string. */ - static OUString LoadAndRegisterDataSource(const OUString& rURI, const OUString *pPrefix = nullptr, const OUString *pDestDir = nullptr, + static OUString LoadAndRegisterDataSource(const OUString& rURI, const OUString *pPrefix, const OUString *pDestDir = nullptr, const css::uno::Reference < css::beans::XPropertySet > *pSettings = nullptr); /// Load the embedded data source of the document and also register it. diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx index 7f26d2dd836c..7e092e54bfb9 100644 --- a/sw/inc/ddefld.hxx +++ b/sw/inc/ddefld.hxx @@ -77,7 +77,7 @@ public: void IncRefCnt() { if( !nRefCnt++ && pDoc ) RefCntChgd(); } void DecRefCnt() { if( !--nRefCnt && pDoc ) RefCntChgd(); } - void SetCRLFDelFlag( bool bFlag = true ) { bCRLFFlag = bFlag; } + void SetCRLFDelFlag( bool bFlag ) { bCRLFFlag = bFlag; } }; // DDE-field diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index b6f043934fdf..b4c4868c3641 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -381,7 +381,7 @@ private: SwFlyFrameFormat* MakeFlySection_( const SwPosition& rAnchPos, const SwContentNode& rNode, RndStdIds eRequestId, const SfxItemSet* pFlyAttrSet, - SwFrameFormat* = nullptr ); + SwFrameFormat* ); sal_Int8 SetFlyFrameAnchor( SwFrameFormat& rFlyFormat, SfxItemSet& rSet, bool bNewFrames ); typedef SwFormat* (SwDoc:: *FNCopyFormat)( const OUString&, SwFormat*, bool, bool ); @@ -607,7 +607,7 @@ public: have to be surrounded completely by css::awt::Selection. ( Start < Pos < End ) !!! (Required for Writers.) */ - SwPosFlyFrames GetAllFlyFormats( const SwPaM* = nullptr, + SwPosFlyFrames GetAllFlyFormats( const SwPaM*, bool bDrawAlso = false, bool bAsCharAlso = false ) const; @@ -634,7 +634,7 @@ public: SwFrameFormat *pParent = nullptr, bool bCalledFromShell = false ); SwFlyFrameFormat* MakeFlyAndMove( const SwPaM& rPam, const SfxItemSet& rSet, - const SwSelBoxes* pSelBoxes = nullptr, + const SwSelBoxes* pSelBoxes, SwFrameFormat *pParent = nullptr ); //UUUU Helper that checks for unique items for DrawingLayer items of type NameOrIndex @@ -843,10 +843,10 @@ public: /** Access to frames. Iterate over Flys - for Basic-Collections. */ - size_t GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const; - SwFrameFormat* GetFlyNum(size_t nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ); + size_t GetFlyCount( FlyCntType eType, bool bIgnoreTextBoxes = false ) const; + SwFrameFormat* GetFlyNum(size_t nIdx, FlyCntType eType, bool bIgnoreTextBoxes = false ); std::vector<SwFrameFormat const*> GetFlyFrameFormats( - FlyCntType eType = FLYCNTTYPE_ALL, + FlyCntType eType, bool bIgnoreTextBoxes = false); // Copy formats in own arrays and return them. @@ -958,14 +958,14 @@ public: static SwTOXBase* GetCurTOX( const SwPosition& rPos ); static const SwAttrSet& GetTOXBaseAttrSet(const SwTOXBase& rTOX); - bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes = false ); + bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes ); OUString GetUniqueTOXBaseName( const SwTOXType& rType, const OUString& sChkStr ) const; bool SetTOXBaseName(const SwTOXBase& rTOXBase, const OUString& rName); // After reading file update all tables/indices - void SetUpdateTOX( bool bFlag = true ) { mbUpdateTOX = bFlag; } + void SetUpdateTOX( bool bFlag ) { mbUpdateTOX = bFlag; } bool IsUpdateTOX() const { return mbUpdateTOX; } const OUString& GetTOIAutoMarkURL() const {return msTOIAutoMarkURL;} @@ -993,7 +993,7 @@ public: const SwTOXType* InsertTOXType( const SwTOXType& rTyp ); const SwTOXTypes& GetTOXTypes() const { return *mpTOXTypes; } - const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, bool bCreate = false ); + const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, bool bCreate ); void SetDefaultTOXBase(const SwTOXBase& rBase); // Key for management of index. @@ -1043,10 +1043,10 @@ public: void PropagateOutlineRule(); // Outline - promote / demote. - bool OutlineUpDown( const SwPaM& rPam, short nOffset = 1 ); + bool OutlineUpDown( const SwPaM& rPam, short nOffset ); // Ountline - move up / move down. - bool MoveOutlinePara( const SwPaM& rPam, short nOffset = 1); + bool MoveOutlinePara( const SwPaM& rPam, short nOffset); bool GotoOutline( SwPosition& rPos, const OUString& rName ) const; @@ -1152,11 +1152,11 @@ public: // Invalidates all numrules void InvalidateNumRules(); - bool NumUpDown( const SwPaM&, bool bDown = true ); + bool NumUpDown( const SwPaM&, bool bDown ); /** Move selected paragraphes (not only numberings) according to offsets. (if negative: go to doc start). */ - bool MoveParagraph( const SwPaM&, long nOffset = 1, bool bIsOutlMv = false ); + bool MoveParagraph( const SwPaM&, long nOffset, bool bIsOutlMv = false ); bool NumOrNoNum( const SwNodeIndex& rIdx, bool bDel = false); @@ -1188,7 +1188,7 @@ public: const SwTable* TextToTable( const SwInsertTableOptions& rInsTableOpts, // HEADLINE_NO_BORDER, const SwPaM& rRange, sal_Unicode cCh, short eAdjust, - const SwTableAutoFormat* = nullptr ); + const SwTableAutoFormat* ); // text to table conversion - API support const SwTable* TextToTable( const std::vector< std::vector<SwNodeRange> >& rTableNodes ); @@ -1211,7 +1211,7 @@ public: bool DeleteCol( const SwCursor& rCursor ); // Split / concatenate boxes in table. - bool SplitTable( const SwSelBoxes& rBoxes, bool bVert = true, + bool SplitTable( const SwSelBoxes& rBoxes, bool bVert, sal_uInt16 nCnt = 1, bool bSameHeight = false ); // @return enum TableMergeErr. @@ -1223,13 +1223,13 @@ public: // From FEShell (for Undo and BModified). static void GetTabCols( SwTabCols &rFill, const SwCursor* pCursor, - const SwCellFrame* pBoxFrame = nullptr ); + const SwCellFrame* pBoxFrame ); void SetTabCols( const SwTabCols &rNew, bool bCurRowOnly, - const SwCursor* pCursor, const SwCellFrame* pBoxFrame = nullptr ); + const SwCursor* pCursor, const SwCellFrame* pBoxFrame ); static void GetTabRows( SwTabCols &rFill, const SwCursor* pCursor, - const SwCellFrame* pBoxFrame = nullptr ); + const SwCellFrame* pBoxFrame ); void SetTabRows( const SwTabCols &rNew, bool bCurColOnly, const SwCursor* pCursor, - const SwCellFrame* pBoxFrame = nullptr ); + const SwCellFrame* pBoxFrame ); // Direct access for UNO. void SetTabCols(SwTable& rTab, const SwTabCols &rNew, const SwTabCols &rOld, @@ -1271,23 +1271,23 @@ public: void ClearLineNumAttrs( SwPosition & rPos ); bool InsCopyOfTable( SwPosition& rInsPos, const SwSelBoxes& rBoxes, - const SwTable* pCpyTable = nullptr, bool bCpyName = false, + const SwTable* pCpyTable, bool bCpyName = false, bool bCorrPos = false ); bool UnProtectCells( const OUString& rTableName ); bool UnProtectCells( const SwSelBoxes& rBoxes ); bool UnProtectTables( const SwPaM& rPam ); bool HasTableAnyProtection( const SwPosition* pPos, - const OUString* pTableName = nullptr, + const OUString* pTableName, bool* pFullTableProtection = nullptr ); // Split table at baseline position, i.e. create a new table. - bool SplitTable( const SwPosition& rPos, sal_uInt16 eMode = 0, + bool SplitTable( const SwPosition& rPos, sal_uInt16 eMode, bool bCalcNewSize = false ); /** And vice versa: rPos must be in the table that remains. The flag indicates whether the current table is merged with the one before or behind it. */ - bool MergeTable( const SwPosition& rPos, bool bWithPrev = true, + bool MergeTable( const SwPosition& rPos, bool bWithPrev, sal_uInt16 nMode = 0 ); // Make charts of given table update. @@ -1314,7 +1314,7 @@ public: const OUString& rNumberingSeparator, const bool bBefore, const sal_uInt16 nId, const sal_uLong nIdx, const OUString& rCharacterStyle, - const bool bCpyBrd = true ); + const bool bCpyBrd ); SwFlyFrameFormat* InsertDrawLabel( const OUString &rText, const OUString& rSeparator, const OUString& rNumberSeparator, const sal_uInt16 nId, const OUString& rCharacterStyle, SdrObject& rObj ); @@ -1334,7 +1334,7 @@ public: // insert section (the ODF kind of section, not the nodesarray kind) SwSection * InsertSwSection(SwPaM const& rRange, SwSectionData &, - SwTOXBase const*const pTOXBase = nullptr, + SwTOXBase const*const pTOXBase, SfxItemSet const*const pAttr = nullptr, bool const bUpdate = true); static sal_uInt16 IsInsRegionAvailable( const SwPaM& rRange, const SwNode** ppSttNd = nullptr ); @@ -1399,7 +1399,7 @@ public: const SwFormatINetFormat* FindINetAttr( const OUString& rName ) const; // Call into intransparent Basic; expect possible Return String. - bool ExecMacro( const SvxMacro& rMacro, OUString* pRet = nullptr, SbxArray* pArgs = nullptr ); + bool ExecMacro( const SvxMacro& rMacro, OUString* pRet, SbxArray* pArgs = nullptr ); // Call into intransparent Basic / JavaScript. sal_uInt16 CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEvent, @@ -1408,7 +1408,7 @@ public: /** Adjust left margin via object bar (similar to adjustment of numerations). One can either change the margin "by" adding or subtracting a given offset or set it "to" this position (bModulus = true). */ - void MoveLeftMargin( const SwPaM& rPam, bool bRight = true, + void MoveLeftMargin( const SwPaM& rPam, bool bRight, bool bModulus = true ); // Query NumberFormatter. @@ -1426,11 +1426,11 @@ public: // Create sub-documents according to given collection. // If no collection is given, use chapter styles for 1st level. bool GenerateGlobalDoc( const OUString& rPath, - const SwTextFormatColl* pSplitColl = nullptr ); - bool GenerateGlobalDoc( const OUString& rPath, int nOutlineLevel = 0 ); + const SwTextFormatColl* pSplitColl ); + bool GenerateGlobalDoc( const OUString& rPath, int nOutlineLevel ); bool GenerateHTMLDoc( const OUString& rPath, - const SwTextFormatColl* pSplitColl = nullptr ); - bool GenerateHTMLDoc( const OUString& rPath, int nOutlineLevel = 0 ); + const SwTextFormatColl* pSplitColl ); + bool GenerateHTMLDoc( const OUString& rPath, int nOutlineLevel ); // Compare two documents. long CompareDoc( const SwDoc& rDoc ); @@ -1443,7 +1443,7 @@ public: // For AutoFormat: with Undo/Redlining. void SetTextFormatCollByAutoFormat( const SwPosition& rPos, sal_uInt16 nPoolId, - const SfxItemSet* pSet = nullptr ); + const SfxItemSet* pSet ); void SetFormatItemByAutoFormat( const SwPaM& rPam, const SfxItemSet& ); // Only for SW-textbloxks! Does not pay any attention to layout! @@ -1475,7 +1475,7 @@ public: static void GetRowHeight( const SwCursor& rCursor, SwFormatFrameSize *& rpSz ); void SetRowSplit( const SwCursor& rCursor, const SwFormatRowSplit &rNew ); static void GetRowSplit( const SwCursor& rCursor, SwFormatRowSplit *& rpSz ); - bool BalanceRowHeight( const SwCursor& rCursor, bool bTstOnly = true ); + bool BalanceRowHeight( const SwCursor& rCursor, bool bTstOnly ); void SetRowBackground( const SwCursor& rCursor, const SvxBrushItem &rNew ); static bool GetRowBackground( const SwCursor& rCursor, SvxBrushItem &rToFill ); void SetTabBorders( const SwCursor& rCursor, const SfxItemSet& rSet ); @@ -1497,7 +1497,7 @@ public: static bool GetBoxAttr( const SwCursor& rCursor, SfxPoolItem &rToFill ); void SetBoxAlign( const SwCursor& rCursor, sal_uInt16 nAlign ); static sal_uInt16 GetBoxAlign( const SwCursor& rCursor ); - void AdjustCellWidth( const SwCursor& rCursor, bool bBalance = false ); + void AdjustCellWidth( const SwCursor& rCursor, bool bBalance ); SwChainRet Chainable( const SwFrameFormat &rSource, const SwFrameFormat &rDest ); SwChainRet Chain( SwFrameFormat &rSource, const SwFrameFormat &rDest ); @@ -1627,7 +1627,7 @@ public: SfxObjectShell* CreateCopy(bool bCallInitNew, bool bEmpty) const; SwNodeIndex AppendDoc(const SwDoc& rSource, sal_uInt16 nStartPageNumber, - bool bDeletePrevious = false, int physicalPageOffset = 0, + bool bDeletePrevious, int physicalPageOffset = 0, const sal_uLong nDocNo = 1); /** diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 51638568e64a..ac4345444f1d 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -124,7 +124,7 @@ class SW_DLLPUBLIC SwDocShell const SfxStyleFamily nFamily, sal_uInt16 nMask, const bool bNew, - const OString& sPageId = OString(), + const OString& sPageId, SwWrtShell* pActShell = nullptr, const bool bBasic = false ); @@ -132,12 +132,12 @@ class SW_DLLPUBLIC SwDocShell SAL_DLLPRIVATE bool Hide(const OUString &rName, SfxStyleFamily nFamily, bool bHidden); SAL_DLLPRIVATE SfxStyleFamily ApplyStyles(const OUString &rName, const SfxStyleFamily nFamily, - SwWrtShell* pShell = nullptr, + SwWrtShell* pShell, sal_uInt16 nMode = 0); SAL_DLLPRIVATE SfxStyleFamily DoWaterCan( const OUString &rName, SfxStyleFamily nFamily); - SAL_DLLPRIVATE SfxStyleFamily UpdateStyle(const OUString &rName, SfxStyleFamily nFamily, SwWrtShell* pShell = nullptr); + SAL_DLLPRIVATE SfxStyleFamily UpdateStyle(const OUString &rName, SfxStyleFamily nFamily, SwWrtShell* pShell); SAL_DLLPRIVATE SfxStyleFamily MakeByExample(const OUString &rName, - SfxStyleFamily nFamily, sal_uInt16 nMask, SwWrtShell* pShell = nullptr); + SfxStyleFamily nFamily, sal_uInt16 nMask, SwWrtShell* pShell); SAL_DLLPRIVATE void SubInitNew(); ///< for InitNew and HtmlSourceMode. diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 86cf4dd3b848..373be0ca7cec 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -136,7 +136,7 @@ public: OUString Expand( sal_uInt32 nFormat, short nOff, sal_uInt16 const nPageNumber, sal_uInt16 const nMaxPage, const OUString& ) const; void ChangeExpansion( SwDoc* pDoc, - bool bVirtPageNum, const sal_Int16* pNumFormat = nullptr ); + bool bVirtPageNum, const sal_Int16* pNumFormat ); virtual SwFieldType* Copy() const override; }; @@ -288,7 +288,7 @@ public: virtual SwFieldType* Copy() const override; - void SetHiddenFlag( bool bSetHidden = true ); + void SetHiddenFlag( bool bSetHidden ); inline bool GetHiddenFlag() const { return bHidden; } }; diff --git a/sw/inc/dpage.hxx b/sw/inc/dpage.hxx index cbb00fd0fab4..76d44eb7784c 100644 --- a/sw/inc/dpage.hxx +++ b/sw/inc/dpage.hxx @@ -53,7 +53,7 @@ public: virtual css::uno::Reference< css::uno::XInterface > createUnoPage() override; protected: - void lateInit(const SwDPage& rPage, SwDrawModel* pNewModel = nullptr); + void lateInit(const SwDPage& rPage, SwDrawModel* pNewModel); private: SwDPage(const SwDPage& rSrcPage); diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 619ac2d4cf1e..d874337d81ac 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -176,7 +176,7 @@ public: bRegExpRplc - replace tabs (\\t) and insert found string (not \&). E.g.: Fnd: "zzz", Repl: "xx\t\\t..&..\&" --> "xx\t<Tab>..zzz..&" */ - bool Replace( const OUString& rNewStr, bool bRegExpRplc = false ); + bool Replace( const OUString& rNewStr, bool bRegExpRplc ); /** Delete content of all ranges. If whole nodes are selected, these nodes get deleted. */ @@ -202,7 +202,7 @@ public: void SetLinkUpdMode( sal_uInt16 nMode ); /// Copy content of all ranges at current position of cursor to given Shell. - bool Copy( SwEditShell* pDestShell = nullptr ); + bool Copy( SwEditShell* pDestShell ); /** For copying via ClipBoard: If table is copied into table, move all cursors away from it. @@ -363,7 +363,7 @@ public: void SetClassification(const OUString& rName, SfxClassificationPolicyType eType); - void Insert2(SwField&, const bool bForceExpandHints = false); + void Insert2(SwField&, const bool bForceExpandHints); void UpdateFields( SwField & ); ///< One single field. @@ -385,7 +385,7 @@ public: void ChangeDBFields( const std::vector<OUString>& rOldNames, const OUString& rNewName ); void GetAllUsedDB( std::vector<OUString>& rDBNameList, - std::vector<OUString>* pAllDBNames = nullptr ); + std::vector<OUString>* pAllDBNames ); bool IsAnyDatabaseFieldInDoc()const; @@ -435,10 +435,10 @@ public: sal_uInt16 GetTOXCount() const; const SwTOXBase* GetTOX( sal_uInt16 nPos ) const; - bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes = false ); + bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes ); /// After reading file update all content tables. - void SetUpdateTOX( bool bFlag = true ); + void SetUpdateTOX( bool bFlag ); bool IsUpdateTOX() const; /// Manage types of content tables. @@ -529,11 +529,11 @@ public: void ChgNumRuleFormats( const SwNumRule& rRule ); /// Set (and query if) a numbering with StartFlag starts at current PointPos. - void SetNumRuleStart( bool bFlag = true, SwPaM* pCursor = nullptr ); + void SetNumRuleStart( bool bFlag, SwPaM* pCursor = nullptr ); bool IsNumRuleStart( SwPaM* pPaM = nullptr ) const; void SetNodeNumStart( sal_uInt16 nStt ); - sal_uInt16 GetNodeNumStart( SwPaM* pPaM = nullptr ) const; + sal_uInt16 GetNodeNumStart( SwPaM* pPaM ) const; bool ReplaceNumRule( const OUString& rOldRule, const OUString& rNewRule ); @@ -658,13 +658,13 @@ public: /** Make current selection glossary and insert into glossary document including styles. */ sal_uInt16 MakeGlossary( SwTextBlocks& rToFill, const OUString& rName, - const OUString& rShortName, bool bSaveRelFile = false, + const OUString& rShortName, bool bSaveRelFile, const OUString* pOnlyText=nullptr ); /// Save complete content of doc as glossary. sal_uInt16 SaveGlossaryDoc( SwTextBlocks& rGlossary, const OUString& rName, const OUString& rShortName, - bool bSaveRelFile = false, + bool bSaveRelFile, bool bOnlyText = false ); // Linguistics... @@ -718,7 +718,7 @@ public: Can Merge checks if Prev or Next are possible. If pointer pChkNxtPrv is passed possible direction is given. */ bool CanMergeTable( bool bWithPrev = true, bool* pChkNxtPrv = nullptr ) const; - bool MergeTable( bool bWithPrev = true ); + bool MergeTable( bool bWithPrev ); /// Set up InsertDB as table Undo. void AppendUndoForInsertFromDB( bool bIsTable ); @@ -733,7 +733,7 @@ public: void SpellEnd( SwConversionArgs *pConvArgs = nullptr, bool bRestoreSelection = true ); css::uno::Any SpellContinue( sal_uInt16* pPageCnt, sal_uInt16* pPageSt, - SwConversionArgs *pConvArgs = nullptr ); + SwConversionArgs *pConvArgs ); /** Spells on a sentence basis - the SpellPortions are needed @return false if no error could be found. */ @@ -782,7 +782,7 @@ public: bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord ); /// Set our styles according to the respective rules. - void AutoFormat( const SvxSwAutoFormatFlags* pAFlags = nullptr ); + void AutoFormat( const SvxSwAutoFormatFlags* pAFlags ); static SvxSwAutoFormatFlags* GetAutoFormatFlags(); static void SetAutoFormatFlags(SvxSwAutoFormatFlags *); @@ -859,8 +859,8 @@ public: /** Adjust left margin via object bar (similar to adjustment of numerations). One can either change the margin "by" adding or subtracting a given offset or set it "to" this position @param (bModulus = true). */ - bool IsMoveLeftMargin( bool bRight = true, bool bModulus = true ) const; - void MoveLeftMargin( bool bRight = true, bool bModulus = true ); + bool IsMoveLeftMargin( bool bRight, bool bModulus = true ) const; + void MoveLeftMargin( bool bRight, bool bModulus = true ); /// Query NumberFormater from document. SvNumberFormatter* GetNumberFormatter(); @@ -869,7 +869,7 @@ public: /// Interfaces for GlobalDocument. bool IsGlobalDoc() const; - void SetGlblDocSaveLinks( bool bFlag = true ); + void SetGlblDocSaveLinks( bool bFlag ); bool IsGlblDocSaveLinks() const; void GetGlobalDocContent( SwGlblDocContents& rArr ) const; bool InsertGlobalDocContent( const SwGlblDocContent& rPos, @@ -922,7 +922,7 @@ public: void SetLineNumberInfo( const SwLineNumberInfo& rInfo); /// Labels: Synchronize ranges. - void SetLabelDoc( bool bFlag = true ); + void SetLabelDoc( bool bFlag ); bool IsLabelDoc() const; /// Interface for TextInputData - (for input of Japanese/Chinese chars.) diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 7913fbcb8a8a..2a868a0b6f91 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -415,11 +415,11 @@ public: { return GotoObj( false, eType); } /// Iterate over flys - for Basic-collections. - size_t GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const; - const SwFrameFormat* GetFlyNum(size_t nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false) const; + size_t GetFlyCount( FlyCntType eType, bool bIgnoreTextBoxes = false ) const; + const SwFrameFormat* GetFlyNum(size_t nIdx, FlyCntType eType, bool bIgnoreTextBoxes = false) const; std::vector<SwFrameFormat const*> GetFlyFrameFormats( - FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false); + FlyCntType eType, bool bIgnoreTextBoxes = false); /// If a fly is selected, it draws cursor into the first ContentFrame. const SwFrameFormat* SelFlyGrabCursor(); @@ -470,7 +470,7 @@ public: OUString GetUniqueShapeName() const; /// Jump to named Fly (graphic/OLE). - bool GotoFly( const OUString& rName, FlyCntType eType = FLYCNTTYPE_ALL, + bool GotoFly( const OUString& rName, FlyCntType eType, bool bSelFrame = true ); /// Position is a graphic with URL? @@ -496,7 +496,7 @@ public: bool GetObjAttr( SfxItemSet &rSet ) const; bool SetObjAttr( const SfxItemSet &rSet ); - const SdrObject* GetBestObject( bool bNext, GotoObjFlags eType = GotoObjFlags::DrawAny, bool bFlat = true, const svx::ISdrObjectFilter* pFilter = nullptr ); + const SdrObject* GetBestObject( bool bNext, GotoObjFlags eType, bool bFlat = true, const svx::ISdrObjectFilter* pFilter = nullptr ); bool GotoObj( bool bNext, GotoObjFlags eType = GotoObjFlags::DrawAny); /// Set DragMode (e.g. Rotate), but do nothing when frame is selected. @@ -561,7 +561,7 @@ public: Return value indicates if it was converted. */ bool GetDrawObjGraphic( SotClipboardFormatId nFormat, Graphic& rGrf ) const; - void Paste( SvStream& rStm, SwPasteSdr nAction, const Point* pPt = nullptr ); + void Paste( SvStream& rStm, SwPasteSdr nAction, const Point* pPt ); bool Paste( const Graphic &rGrf, const OUString& rURL ); bool IsAlignPossible() const; @@ -569,7 +569,7 @@ public: void Insert(const OUString& rGrfName, const OUString& rFltName, - const Graphic* pGraphic = nullptr, + const Graphic* pGraphic, const SfxItemSet* pFlyAttrSet = nullptr, const SfxItemSet* pGrfAttrSet = nullptr, SwFrameFormat* = nullptr ); @@ -579,7 +579,7 @@ public: const Point& rInsertPosition ); bool ReplaceSdrObj( const OUString& rGrfName, const OUString& rFltName, - const Graphic* pGrf = nullptr ); + const Graphic* pGrf ); // --> #i972# /** for starmath formulas anchored 'as char' it aligns it baseline to baseline @@ -624,7 +624,7 @@ public: bool GetPageNumber( long nYPos, bool bAtCursorPos, sal_uInt16& rPhyNum, sal_uInt16& rVirtNum, OUString &rDisplay ) const; SwFlyFrameFormat* InsertObject( const svt::EmbeddedObjectRef&, - const SfxItemSet* pFlyAttrSet = nullptr, + const SfxItemSet* pFlyAttrSet, const SfxItemSet* pGrfAttrSet = nullptr, SwFrameFormat* = nullptr ); bool FinishOLEObj(); ///< Shutdown server. @@ -649,7 +649,7 @@ public: @return error via enum. */ /// Split cell vertically or horizontally. - bool SplitTab( bool bVert = true, sal_uInt16 nCnt = 1, bool bSameHeight = false ); + bool SplitTab( bool bVert, sal_uInt16 nCnt = 1, bool bSameHeight = false ); bool Sort(const SwSortOptions&); //Sortieren. void SetRowHeight( const SwFormatFrameSize &rSz ); @@ -684,13 +684,13 @@ public: SwTab WhichMouseTabCol( const Point &rPt ) const; void GetTabCols( SwTabCols &rToFill ) const; ///< Info about columns and margins. - void SetTabCols( const SwTabCols &rNew, bool bCurRowOnly = true ); + void SetTabCols( const SwTabCols &rNew, bool bCurRowOnly ); void GetMouseTabCols( SwTabCols &rToFill, const Point &rPt ) const; void SetMouseTabCols( const SwTabCols &rNew, bool bCurRowOnly, const Point &rPt ); /// pEnd will be used during MouseMove - bool SelTableRowCol( const Point& rPt, const Point* pEnd = nullptr, bool bRowDrag = false ); + bool SelTableRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag = false ); void GetTabRows( SwTabCols &rToFill ) const; void SetTabRows( const SwTabCols &rNew, bool bCurColOnly ); @@ -701,7 +701,7 @@ public: cursor is not allowed in readonly. */ void UnProtectCells(); ///< Refers to table selection. void UnProtectTables(); ///< Unprotect all tables in selection. - bool HasTableAnyProtection( const OUString* pTableName = nullptr, + bool HasTableAnyProtection( const OUString* pTableName, bool* pFullTableProtection = nullptr ); bool CanUnProtectCells() const; @@ -719,7 +719,7 @@ public: /** Adjusts cell widths in such a way, that their content does not need to be wrapped (if possible). bBalance provides for adjustment of selected columns. */ - void AdjustCellWidth( bool bBalance = false ); + void AdjustCellWidth( bool bBalance ); /// Not allowed if only empty cells are selected. bool IsAdjustCellWidthAllowed( bool bBalance = false ) const; @@ -736,7 +736,7 @@ public: bool GetTableAutoFormat( SwTableAutoFormat& rGet ); - bool SetColRowWidthHeight( sal_uInt16 eType, sal_uInt16 nDiff = 283 ); + bool SetColRowWidthHeight( sal_uInt16 eType, sal_uInt16 nDiff ); bool GetAutoSum( OUString& rFormula ) const; @@ -752,7 +752,7 @@ public: const OUString& rNumberSeparator, const bool bBefore, const sal_uInt16 nId, const OUString& rCharacterStyle, - const bool bCpyBrd = true ); + const bool bCpyBrd ); /// The ruler needs some information too. sal_uInt16 GetCurColNum( SwGetCurColNumPara* pPara = nullptr ) const; //0 == not in any column. diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index 45b5e05d03e4..a516b22b5581 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -390,7 +390,7 @@ public: inline bool UseFormat() const { return m_bUseFormat; } inline void EnableFormat(bool bFormat = true) { m_bUseFormat = bFormat; } - OUString ExpandValue(const double& rVal, sal_uInt32 nFormat, sal_uInt16 nLng=0) const; + OUString ExpandValue(const double& rVal, sal_uInt32 nFormat, sal_uInt16 nLng) const; OUString DoubleToString(const double &rVal, LanguageType eLng) const; OUString DoubleToString(const double &rVal, sal_uInt32 nFormat) const; }; @@ -415,7 +415,7 @@ public: virtual double GetValue() const; virtual void SetValue( const double& rVal ); - inline OUString ExpandValue(const double& rVal, sal_uInt32 nFormat, sal_uInt16 nLng=0) const + inline OUString ExpandValue(const double& rVal, sal_uInt32 nFormat, sal_uInt16 nLng) const { return static_cast<SwValueFieldType*>(GetTyp())->ExpandValue(rVal, nFormat, nLng); } static sal_uInt32 GetSystemFormat(SvNumberFormatter* pFormatter, sal_uInt32 nFormat); diff --git a/sw/inc/fmtinfmt.hxx b/sw/inc/fmtinfmt.hxx index 81e28973e1b8..892a536a6475 100644 --- a/sw/inc/fmtinfmt.hxx +++ b/sw/inc/fmtinfmt.hxx @@ -123,7 +123,7 @@ public: } /// Set a new MacroTable or clear the current one. - void SetMacroTable( const SvxMacroTableDtor* pTable = nullptr ); + void SetMacroTable( const SvxMacroTableDtor* pTable ); const SvxMacroTableDtor* GetMacroTable() const { return mpMacroTable; diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 2748fa02abc1..d9f867ca6cef 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -208,7 +208,7 @@ public: const SwAttrSet* GetTheChgdSet() const { return m_pTheChgdSet; } sal_uInt16 Count() const { return m_pChgSet->Count(); } - void ClearItem( sal_uInt16 nWhichL = 0 ) + void ClearItem( sal_uInt16 nWhichL ) #ifdef DBG_UTIL ; #else diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx index fa444f9b3dcb..fef9e18dff85 100644 --- a/sw/inc/htmltbl.hxx +++ b/sw/inc/htmltbl.hxx @@ -244,7 +244,7 @@ class SwHTMLTableLayout void ClearPass1Info() { m_nMin = m_nMax = 0; } - void Resize_( sal_uInt16 nAbsAvail, bool bRecalc=false ); + void Resize_( sal_uInt16 nAbsAvail, bool bRecalc ); DECL_LINK_TYPED( DelayedResize_Impl, Timer*, void ); diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx index 6e0bdb7369e3..91ee8ae56d21 100644 --- a/sw/inc/iodetect.hxx +++ b/sw/inc/iodetect.hxx @@ -96,7 +96,7 @@ public: static bool IsValidStgFilter( const css::uno::Reference < css::embed::XStorage >& rStg, const SfxFilter& rFilter); static bool IsDetectableText( const sal_Char* pBuf, sal_uLong &rLen, - rtl_TextEncoding *pCharSet=nullptr, bool *pSwap=nullptr, LineEnd *pLineEnd=nullptr, bool bEncodedFilter = false ); + rtl_TextEncoding *pCharSet, bool *pSwap=nullptr, LineEnd *pLineEnd=nullptr, bool bEncodedFilter = false ); static const OUString GetSubStorageName( const SfxFilter& rFltr ); }; diff --git a/sw/inc/mdiexp.hxx b/sw/inc/mdiexp.hxx index 04c61cea7bc1..2229c02b4ec5 100644 --- a/sw/inc/mdiexp.hxx +++ b/sw/inc/mdiexp.hxx @@ -44,7 +44,7 @@ enum FlyMode { FLY_DRAG_START, FLY_DRAG, FLY_DRAG_END }; extern void FrameNotify( SwViewShell* pVwSh, FlyMode eMode = FLY_DRAG ); SW_DLLPUBLIC void StartProgress ( sal_uInt16 nMessId, long nStartVal, long nEndVal, SwDocShell *pDocSh = nullptr ); -SW_DLLPUBLIC void EndProgress ( SwDocShell *pDocSh = nullptr ); +SW_DLLPUBLIC void EndProgress ( SwDocShell *pDocSh ); SW_DLLPUBLIC void SetProgressState ( long nPosition, SwDocShell *pDocShell ); void SetProgressText ( sal_uInt16 nMessId, SwDocShell *pDocShell ); void RescheduleProgress( SwDocShell *pDocShell ); diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 9506994e9b97..713a2d4aa5e3 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -245,7 +245,7 @@ public: static SwTableNode* InsertTable( const SwNodeIndex& rNdIdx, sal_uInt16 nBoxes, SwTextFormatColl* pContentTextColl, - sal_uInt16 nLines, sal_uInt16 nRepeat = 0, + sal_uInt16 nLines, sal_uInt16 nRepeat, SwTextFormatColl* pHeadlineTextColl = nullptr, const SwAttrSet * pAttrSet = nullptr); diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 157038a603af..abe845a604b3 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -689,7 +689,7 @@ public: const bool bWithSpacesForLevel = false, const bool bWithFootnote = true ) const; bool GetExpandText( SwTextNode& rDestNd, const SwIndex* pDestIdx, - sal_Int32 nIdx = 0, sal_Int32 nLen = -1, + sal_Int32 nIdx, sal_Int32 nLen = -1, bool bWithNum = false, bool bWithFootnote = true, bool bReplaceTabsWithSpaces = false ) const; diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 1bf823ef2193..9073302845f0 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -174,7 +174,7 @@ public: Extremities* pExtremities = nullptr ) const; OUString MakeRefNumString( const SwNodeNum& rNodeNum, const bool bInclSuperiorNumLabels, - const sal_uInt8 nRestrictInclToThisLevel = 0 ) const; + const sal_uInt8 nRestrictInclToThisLevel ) const; /** diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index 47ffb8dd99d4..f392f3293a00 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -361,7 +361,7 @@ public: SwView& rVw, const SfxItemSet& rCoreSet, const OUString *pCollName, - bool bDraw = false, + bool bDraw, const OString& sDefPage = OString() ) = 0; virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg(const OUString &rShortName) = 0; @@ -400,7 +400,7 @@ public: SfxStyleSheetBase& rBase, SfxStyleFamily nRegion, const OString& sPage, - SwWrtShell* pActShell = nullptr, + SwWrtShell* pActShell, bool bNew = false) = 0; virtual AbstractGlossaryDlg* CreateGlossaryDlg(SfxViewFrame* pViewFrame, SwGlossaryHdl* pGlosHdl, @@ -431,7 +431,7 @@ public: vcl::Window* pParent, const SfxItemSet& rSet, SwWrtShell &rShell, SwTOXBase* pCurTOX, sal_uInt16 nToxType, - bool bGlobal = false) = 0; + bool bGlobal) = 0; virtual AbstractEditRegionDlg* CreateEditRegionDlg(vcl::Window* pParent, SwWrtShell& rWrtSh) = 0; virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( vcl::Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh) = 0; diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index 840bc56bc301..303b1dc18354 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -219,7 +219,7 @@ public: OldMerge( pDoc, rBoxes, pMergeBox, pUndo ); } bool SplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, sal_uInt16 nCnt, - bool bSameHeight = false ) + bool bSameHeight ) { #ifdef DBG_UTIL m_bDontChangeModel = true; diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index fe6c780a42ae..dbae9adcfe6e 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -273,12 +273,12 @@ class SW_DLLPUBLIC SwView: public SfxViewShell DECL_DLLPRIVATE_LINK_TYPED( FieldPopupModeEndHdl, FloatingWindow*, void ); - inline long GetXScroll() const; - inline long GetYScroll() const; - SAL_DLLPRIVATE Point AlignToPixel(const Point& rPt) const; - SAL_DLLPRIVATE void CalcPt( Point* pPt,const Rectangle& rRect, - sal_uInt16 nRangeX, - sal_uInt16 nRangeY = USHRT_MAX); + inline long GetXScroll() const; + inline long GetYScroll() const; + SAL_DLLPRIVATE Point AlignToPixel(const Point& rPt) const; + SAL_DLLPRIVATE void CalcPt( Point* pPt,const Rectangle& rRect, + sal_uInt16 nRangeX, + sal_uInt16 nRangeY); SAL_DLLPRIVATE bool GetPageScrollUpOffset(SwTwips& rOff) const; SAL_DLLPRIVATE bool GetPageScrollDownOffset(SwTwips& rOff) const; @@ -325,9 +325,9 @@ class SW_DLLPUBLIC SwView: public SfxViewShell SAL_DLLPRIVATE void SwapPageMargin(const SwPageDesc&, SvxLRSpaceItem& rLR); SAL_DLLPRIVATE void SetZoom_( const Size &rEditSz, - SvxZoomType eZoomType, - short nFactor, - bool bViewOnly = false); + SvxZoomType eZoomType, + short nFactor, + bool bViewOnly); SAL_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, bool bInner ); SAL_DLLPRIVATE void ShowAtResize(); @@ -621,7 +621,7 @@ public: //public fuer D&D int InsertGraphic( const OUString &rPath, const OUString &rFilter, - bool bLink, GraphicFilter *pFlt = nullptr, + bool bLink, GraphicFilter *pFlt, Graphic* pPreviewGrf = nullptr ); void ExecuteScan( SfxRequest& rReq ); diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index 8c1657b5d2bb..630472056c82 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -457,7 +457,7 @@ protected: return properties->getPropertySetInfo()->hasPropertyByName(name); } - xml::AttributeData getUserDefineAttribute(const uno::Any& obj, const OUString& name, const OUString& rValue = OUString()) const + xml::AttributeData getUserDefineAttribute(const uno::Any& obj, const OUString& name, const OUString& rValue) const { uno::Reference<container::XNameContainer> attrsCnt(getProperty<uno::Any>(obj, "UserDefinedAttributes"), uno::UNO_QUERY_THROW); diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 2b4719dda3dc..00bac53a6ba7 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -250,7 +250,7 @@ public: SwAccessibleObjShape_Impl *Copy( size_t& rSize, const SwFEShell *pFESh, - SwAccessibleObjShape_Impl **pSelShape = nullptr ) const; + SwAccessibleObjShape_Impl **pSelShape ) const; #if OSL_DEBUG_LEVEL > 0 iterator begin() { return maMap.begin(); } diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 9e6406290bdd..dfb997717572 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -339,7 +339,7 @@ protected: delete[] pData; } - int FindLCS( int *pLcs1, int *pLcs2 = nullptr, int nStt1 = 0, + int FindLCS( int *pLcs1, int *pLcs2, int nStt1 = 0, int nEnd1 = 0, int nStt2 = 0, int nEnd2 = 0 ); public: diff --git a/sw/source/core/inc/cntfrm.hxx b/sw/source/core/inc/cntfrm.hxx index a5d7d9fffefc..f95046433017 100644 --- a/sw/source/core/inc/cntfrm.hxx +++ b/sw/source/core/inc/cntfrm.hxx @@ -83,9 +83,9 @@ public: virtual bool LeftMargin( SwPaM * ) const; virtual bool RightMargin( SwPaM *, bool bAPI = false ) const; virtual bool UnitUp( SwPaM *, const SwTwips nOffset, - bool bSetInReadOnly = false ) const; + bool bSetInReadOnly ) const; virtual bool UnitDown( SwPaM *, const SwTwips nOffset, - bool bSetInReadOnly = false ) const; + bool bSetInReadOnly ) const; // nMaxHeight is the required height // bSplit indicates that the paragraph has to be split diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx index ee5d048865b7..e5161a0dce27 100644 --- a/sw/source/core/inc/frmtool.hxx +++ b/sw/source/core/inc/frmtool.hxx @@ -318,7 +318,7 @@ class SwBorderAttrs : public SwCacheObj // #i25029# - If <_pPrevFrame> is set, its value is taken for testing, if // borders/shadow have to be joined with previous frame. void CalcJoinedWithPrev( const SwFrame& _rFrame, - const SwFrame* _pPrevFrame = nullptr ); + const SwFrame* _pPrevFrame ); void CalcJoinedWithNext( const SwFrame& _rFrame ); // internal helper method for CalcJoinedWithPrev and CalcJoinedWithNext diff --git a/sw/source/core/inc/tblrwcl.hxx b/sw/source/core/inc/tblrwcl.hxx index cc2f01eb21a5..5d85859a5560 100644 --- a/sw/source/core/inc/tblrwcl.hxx +++ b/sw/source/core/inc/tblrwcl.hxx @@ -53,7 +53,7 @@ void InsTableBox( SwDoc* pDoc, SwTableNode* pTableNd, SwTableBox* pBox, sal_uInt16 nInsPos, sal_uInt16 nCnt = 1 ); SW_DLLPUBLIC void DeleteBox_( SwTable& rTable, SwTableBox* pBox, SwUndo* pUndo, - bool bCalcNewSize = true, const bool bCorrBorder = true, + bool bCalcNewSize, const bool bCorrBorder = true, SwShareBoxFormats* pShareFormats = nullptr ); /** diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index bee4c8efb45f..487c740a6654 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -293,9 +293,9 @@ public: virtual bool RightMargin(SwPaM *, bool bAPI = false) const override; virtual bool UnitUp(SwPaM *, const SwTwips nOffset, - bool bSetInReadOnly = false ) const override; + bool bSetInReadOnly ) const override; virtual bool UnitDown(SwPaM *, const SwTwips nOffset, - bool bSetInReadOnly = false ) const override; + bool bSetInReadOnly ) const override; bool UnitUp_(SwPaM *, const SwTwips nOffset = 0, bool bSetInReadOnly = false ) const; bool UnitDown_(SwPaM *, const SwTwips nOffset = 0, diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 9927f525ae4d..3c5a598a282f 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -1118,7 +1118,7 @@ class HTMLEndPosLst // Insert without taking care of script void InsertNoScript( const SfxPoolItem& rItem, sal_Int32 nStart, sal_Int32 nEnd, SwHTMLFormatInfos& rFormatInfos, - bool bParaAttrs=false ); + bool bParaAttrs ); const SwHTMLFormatInfo *GetFormatInfo( const SwFormat& rFormat, SwHTMLFormatInfos& rFormatInfos ); @@ -1140,7 +1140,7 @@ public: SwHTMLFormatInfos& rFormatInfos ); sal_uInt16 GetScriptAtPos( sal_Int32 nPos, - sal_uInt16 nWeak=CSS1_OUTMODE_ANY_SCRIPT ); + sal_uInt16 nWeak ); void OutStartAttrs( SwHTMLWriter& rHWrt, sal_Int32 nPos, HTMLOutContext *pContext = nullptr ); diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx index 174195bf7c6f..2dca6129e946 100644 --- a/sw/source/filter/html/swhtml.hxx +++ b/sw/source/filter/html/swhtml.hxx @@ -607,7 +607,7 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient void NewNumBulList( int nToken ); void EndNumBulList( int nToken=0 ); void NewNumBulListItem( int nToken ); - void EndNumBulListItem( int nToken, bool bSetColl=true, + void EndNumBulListItem( int nToken, bool bSetColl, bool bLastPara=false ); // Definitions-Listen <DL> mit <DD>, <DT> diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 4a8e4ea6d977..b392b694bfcf 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -408,7 +408,7 @@ private: /// replacement graphics, set the first as 0, and pass the remaining three. /// /// @see WriteOLE2Obj() - void FlyFrameGraphic( const SwGrfNode* pGrfNode, const Size& rSize, const SwFlyFrameFormat* pOLEFrameFormat, SwOLENode* pOLENode = nullptr, const SdrObject* pSdrObj = nullptr); + void FlyFrameGraphic( const SwGrfNode* pGrfNode, const Size& rSize, const SwFlyFrameFormat* pOLEFrameFormat, SwOLENode* pOLENode, const SdrObject* pSdrObj = nullptr); void WriteSrcRect( const SdrObject* pSdrObj ); void WriteOLE2Obj( const SdrObject* pSdrObj, SwOLENode& rNode, const Size& rSize, const SwFlyFrameFormat* pFlyFrameFormat); bool WriteOLEChart( const SdrObject* pSdrObj, const Size& rSize ); diff --git a/sw/source/filter/ww8/docxexport.hxx b/sw/source/filter/ww8/docxexport.hxx index a8bf2203d354..cbddb1820f4d 100644 --- a/sw/source/filter/ww8/docxexport.hxx +++ b/sw/source/filter/ww8/docxexport.hxx @@ -200,7 +200,7 @@ protected: virtual void PrepareNewPageDesc( const SfxItemSet* pSet, const SwNode& rNd, const SwFormatPageDesc* pNewPgDescFormat, - const SwPageDesc* pNewPgDesc = nullptr ) override; + const SwPageDesc* pNewPgDesc ) override; private: /// Setup pStyles and write styles.xml diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx index 8c0fdae30657..8cb1883b8e18 100644 --- a/sw/source/filter/ww8/rtfexport.hxx +++ b/sw/source/filter/ww8/rtfexport.hxx @@ -134,7 +134,7 @@ protected: virtual void PrepareNewPageDesc(const SfxItemSet* pSet, const SwNode& rNd, const SwFormatPageDesc* pNewPgDescFormat, - const SwPageDesc* pNewPgDesc = nullptr) override; + const SwPageDesc* pNewPgDesc) override; /// Return value indicates if an inherited outline numbering is suppressed. virtual bool DisallowInheritingOutlineNumbering(const SwFormat& rFormat) override; diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 5959664c3f90..947646dbe409 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -144,7 +144,7 @@ class WW8_WrFkp public: WW8_WrFkp(ePLCFT ePl, WW8_FC nStartFc); ~WW8_WrFkp(); - bool Append( WW8_FC nEndFc, sal_uInt16 nVarLen, const sal_uInt8* pSprms = nullptr ); + bool Append( WW8_FC nEndFc, sal_uInt16 nVarLen, const sal_uInt8* pSprms ); void Combine(); void Write( SvStream& rStrm, SwWW8WrGrf& rGrf ); diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index f14e961ee931..3d568b7e5762 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -203,7 +203,7 @@ public: void AppendSection( const SwPageDesc* pPd, const SwSectionFormat* pSectionFormat, - sal_uLong nLnNumRestartNo = 0, + sal_uLong nLnNumRestartNo, bool bIsFirstParagraph = false ); void AppendSection( const SwFormatPageDesc& rPd, const SwNode& rNd, @@ -250,7 +250,7 @@ public: void AppendSep( WW8_CP nStartCp, const SwPageDesc* pPd, const SwSectionFormat* pSectionFormat, - sal_uLong nLnNumRestartNo = 0 ); + sal_uLong nLnNumRestartNo ); void AppendSep( WW8_CP nStartCp, const SwFormatPageDesc& rPd, const SwNode& rNd, const SwSectionFormat* pSectionFormat, @@ -807,7 +807,7 @@ protected: virtual void PrepareNewPageDesc( const SfxItemSet* pSet, const SwNode& rNd, const SwFormatPageDesc* pNewPgDescFormat, - const SwPageDesc* pNewPgDesc = nullptr ) = 0; + const SwPageDesc* pNewPgDesc ) = 0; /// Return value indicates if an inherited outline numbering is suppressed. virtual bool DisallowInheritingOutlineNumbering(const SwFormat &rFormat) = 0; @@ -1067,7 +1067,7 @@ public: virtual void PrepareNewPageDesc( const SfxItemSet* pSet, const SwNode& rNd, const SwFormatPageDesc* pNewPgDescFormat, - const SwPageDesc* pNewPgDesc = nullptr ) override; + const SwPageDesc* pNewPgDesc ) override; static void Out_BorderLine(ww::bytes& rO, const ::editeng::SvxBorderLine* pLine, sal_uInt16 nDist, sal_uInt16 nSprmNo, sal_uInt16 nSprmNoVer9, diff --git a/sw/source/filter/xml/xmltbli.hxx b/sw/source/filter/xml/xmltbli.hxx index 980d945ea322..daaea868f663 100644 --- a/sw/source/filter/xml/xmltbli.hxx +++ b/sw/source/filter/xml/xmltbli.hxx @@ -158,7 +158,7 @@ public: bool IsValid() const { return m_pTableNode != nullptr; } void InsertCell( const OUString& rStyleName, - sal_uInt32 nRowSpan, sal_uInt32 nColSpan=1U, + sal_uInt32 nRowSpan, sal_uInt32 nColSpan, const SwStartNode *pStNd=nullptr, const OUString & i_rXmlId = OUString(), SwXMLTableContext *pTable=nullptr, diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx index 2fb03ef002b4..49baf298764a 100644 --- a/sw/source/ui/dialog/swdlgfact.hxx +++ b/sw/source/ui/dialog/swdlgfact.hxx @@ -403,7 +403,7 @@ public: SwView& rVw, const SfxItemSet& rCoreSet, const OUString *pCollName, - bool bDraw = false, + bool bDraw, const OString& sDefPage = OString() ) override; virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg(const OUString &rShortName) override; @@ -438,7 +438,7 @@ public: SfxStyleSheetBase& rBase, SfxStyleFamily nRegion, const OString& sPage, - SwWrtShell* pActShell = nullptr, + SwWrtShell* pActShell, bool bNew = false) override; virtual AbstractGlossaryDlg* CreateGlossaryDlg(SfxViewFrame* pViewFrame, SwGlossaryHdl* pGlosHdl, @@ -469,7 +469,7 @@ public: vcl::Window* pParent, const SfxItemSet& rSet, SwWrtShell &rShell, SwTOXBase* pCurTOX, sal_uInt16 nToxType, - bool bGlobal = false) override; + bool bGlobal) override; virtual AbstractEditRegionDlg* CreateEditRegionDlg(vcl::Window* pParent, SwWrtShell& rWrtSh) override; virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( vcl::Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh) override; diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index 73e09d5b5497..4506dfb9d5dd 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -330,7 +330,7 @@ static SwTableAutoFormat* lcl_FindTableStyle(SwDoc& rDoc, const OUString& rName, return pFormat; } -static const SwBoxAutoFormat* lcl_FindCellStyle(SwDoc& rDoc, const OUString& rName, SwDocStyleSheet *pStyle = nullptr) +static const SwBoxAutoFormat* lcl_FindCellStyle(SwDoc& rDoc, const OUString& rName, SwDocStyleSheet *pStyle) { const SwBoxAutoFormat* pFormat = rDoc.GetCellStyles().GetBoxFormat(rName); diff --git a/sw/source/uibase/inc/formatclipboard.hxx b/sw/source/uibase/inc/formatclipboard.hxx index 12bf41dcb48d..eb18dc8532bc 100644 --- a/sw/source/uibase/inc/formatclipboard.hxx +++ b/sw/source/uibase/inc/formatclipboard.hxx @@ -58,7 +58,7 @@ public: * Do not paste the paragraph formats. */ void Paste( SwWrtShell& rWrtShell, SfxStyleSheetBasePool* pPool - , bool bNoCharacterFormats, bool bNoParagraphFormats=false ); + , bool bNoCharacterFormats, bool bNoParagraphFormats ); /** * Clear the currently stored text and paragraph attributes. diff --git a/sw/source/uibase/inc/frmmgr.hxx b/sw/source/uibase/inc/frmmgr.hxx index 117c238583b9..eb4ac1e757e1 100644 --- a/sw/source/uibase/inc/frmmgr.hxx +++ b/sw/source/uibase/inc/frmmgr.hxx @@ -94,9 +94,9 @@ public: // space to content void SetLRSpace( long nLeft, - long nRight = LONG_MAX ); + long nRight ); void SetULSpace( long nTop, - long nBottom= LONG_MAX ); + long nBottom ); void SetCol( const SwFormatCol &rCol); diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx index 1424ff91c2b4..87cce4fbc9a2 100644 --- a/sw/source/uibase/inc/navipi.hxx +++ b/sw/source/uibase/inc/navipi.hxx @@ -173,7 +173,7 @@ public: //! soon obsolete ! static SfxChildWindowContext* CreateImpl(vcl::Window *pParent, SfxBindings *pBindings, SfxChildWinInfo* pInfo ); - static void RegisterChildWindowContext(SfxModule *pMod=nullptr); + static void RegisterChildWindowContext(SfxModule *pMod); }; #endif diff --git a/sw/source/uibase/inc/prcntfld.hxx b/sw/source/uibase/inc/prcntfld.hxx index 15344025a919..9255b236163d 100644 --- a/sw/source/uibase/inc/prcntfld.hxx +++ b/sw/source/uibase/inc/prcntfld.hxx @@ -71,17 +71,17 @@ public: void SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); - void SetUserValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); + void SetUserValue(sal_Int64 nNewValue, FieldUnit eInUnit); - void SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); + void SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit); sal_Int64 GetValue(FieldUnit eOutUnit = FUNIT_NONE); bool IsValueModified(); - void SetMax(sal_Int64 nNewMax, FieldUnit eInUnit = FUNIT_NONE); + void SetMax(sal_Int64 nNewMax, FieldUnit eInUnit); - void SetMin(sal_Int64 nNewMin, FieldUnit eInUnit = FUNIT_NONE); + void SetMin(sal_Int64 nNewMin, FieldUnit eInUnit); sal_Int64 GetMin() const { return m_pField->GetMin(); } @@ -91,7 +91,7 @@ public: sal_Int64 Normalize( sal_Int64 nValue ) const { return m_pField->Normalize(nValue); } void SetRefValue(sal_Int64 nValue); - sal_Int64 GetRealValue(FieldUnit eOutUnit = FUNIT_NONE); + sal_Int64 GetRealValue(FieldUnit eOutUnit); sal_Int64 Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit); diff --git a/sw/source/uibase/inc/toxmgr.hxx b/sw/source/uibase/inc/toxmgr.hxx index 73606b538cc9..d7849e0ba648 100644 --- a/sw/source/uibase/inc/toxmgr.hxx +++ b/sw/source/uibase/inc/toxmgr.hxx @@ -281,7 +281,7 @@ public: // methods for directories - bool UpdateOrInsertTOX(const SwTOXDescription& rDesc, SwTOXBase** ppBase, const SfxItemSet* pSet = nullptr); + bool UpdateOrInsertTOX(const SwTOXDescription& rDesc, SwTOXBase** ppBase, const SfxItemSet* pSet); const SwTOXType* GetTOXType(TOXTypes eTyp) const; const SwTOXBase* GetCurTOX(); diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 6b3b0166659f..0042cfe35613 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -320,7 +320,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); //OLE void InsertObject( /*SvInPlaceObjectRef *pObj, */ // != 0 for clipboard const svt::EmbeddedObjectRef&, - SvGlobalName *pName = nullptr, // != 0 create object accordingly + SvGlobalName *pName, // != 0 create object accordingly sal_uInt16 nSlotId = 0); // SlotId for dialog bool InsertOleObject( const svt::EmbeddedObjectRef& xObj, SwFlyFrameFormat **pFlyFrameFormat = nullptr ); @@ -406,7 +406,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); // jump to the next / previous hyperlink - inside text and also // on graphics - void SelectNextPrevHyperlink( bool bNext = true ); + void SelectNextPrevHyperlink( bool bNext ); // determine corresponding SwView const SwView& GetView() const { return m_rView; } @@ -465,7 +465,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); bool GotoNextTOXBase( const OUString* pName = nullptr); bool GotoTable( const OUString& rName ); bool GotoFormatField( const SwFormatField& rField ); - const SwRangeRedline* GotoRedline( sal_uInt16 nArrPos, bool bSelect = false); + const SwRangeRedline* GotoRedline( sal_uInt16 nArrPos, bool bSelect); void ChangeHeaderOrFooter(const OUString& rStyleName, bool bHeader, bool bOn, bool bShowWarning); virtual void SetShowHeaderFooterSeparator( FrameControlType eControl, bool bShow ) override; @@ -585,7 +585,7 @@ private: SAL_DLLPRIVATE void LeaveExtSel() { m_bSelWrd = m_bSelLn = false;} - SAL_DLLPRIVATE bool GoStart(bool KeepArea = false, bool * = nullptr, + SAL_DLLPRIVATE bool GoStart(bool KeepArea, bool * = nullptr, bool bSelect = false, bool bDontMoveRegion = false); SAL_DLLPRIVATE bool GoEnd(bool KeepArea = false, bool * = nullptr); diff --git a/vcl/inc/spin.hxx b/vcl/inc/spin.hxx index 4522666a124e..4961ebd7efa9 100644 --- a/vcl/inc/spin.hxx +++ b/vcl/inc/spin.hxx @@ -34,8 +34,8 @@ void ImplDrawSpinButton(vcl::RenderContext& rRenderContext, vcl::Window* pWindow // Draw Up/Down buttons suitable for use in any context void ImplDrawUpDownButtons(vcl::RenderContext& rRenderContext, const Rectangle& rUpperRect, const Rectangle& rLowerRect, - bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled = true, - bool bHorz = false, bool bMirrorHorz = false); + bool bUpperIn, bool bLowerIn, bool bUpperEnabled, bool bLowerEnabled, + bool bHorz, bool bMirrorHorz = false); #endif // INCLUDED_VCL_INC_SPIN_HXX |