summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/dbmgr.hxx3
-rw-r--r--sw/inc/editsh.hxx5
-rw-r--r--sw/inc/frmfmt.hxx2
-rw-r--r--sw/inc/ndarr.hxx3
-rw-r--r--sw/inc/ndtxt.hxx6
-rw-r--r--sw/inc/node.hxx3
-rw-r--r--sw/inc/section.hxx2
-rw-r--r--sw/inc/view.hxx2
8 files changed, 10 insertions, 16 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index f41adaa75b32..7c58b8a20e57 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -366,8 +366,7 @@ public:
const OUString& rTableOrQuery, bool bMergeShell);
/// open the source while fields are updated - for the calculator only!
- bool OpenDataSource(const OUString& rDataSource, const OUString& rTableOrQuery,
- sal_Int32 nCommandType = -1);
+ bool OpenDataSource(const OUString& rDataSource, const OUString& rTableOrQuery);
sal_uInt32 GetSelectedRecordId(const OUString& rDataSource, const OUString& rTableOrQuery, sal_Int32 nCommandType = -1);
bool GetColumnCnt(const OUString& rSourceName, const OUString& rTableName,
const OUString& rColumnName, sal_uInt32 nAbsRecordId, long nLanguage,
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 6e7df6ff7d25..b866ffc4abe9 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -523,7 +523,7 @@ public:
bool SelectionHasNumber() const;
bool SelectionHasBullet() const;
- OUString GetUniqueNumRuleName( const OUString* pChkStr = nullptr ) const;
+ OUString GetUniqueNumRuleName() const;
void ChgNumRuleFormats( const SwNumRule& rRule );
/// Set (and query if) a numbering with StartFlag starts at current PointPos.
@@ -829,8 +829,7 @@ public:
void DelSectionFormat( size_t nFormat);
void UpdateSection( size_t const nSect, SwSectionData &,
SfxItemSet const*const = nullptr);
- bool IsAnySectionInDoc( bool bChkReadOnly = false,
- bool bChkHidden = false ) const;
+ bool IsAnySectionInDoc( bool bChkReadOnly = false ) const;
OUString GetUniqueSectionName( const OUString* pChkStr = nullptr ) const;
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx
index 50c8246bf513..a5e9942087a0 100644
--- a/sw/inc/frmfmt.hxx
+++ b/sw/inc/frmfmt.hxx
@@ -176,7 +176,7 @@ public:
SwFlyFrame* GetFrame( const Point* pDocPos = nullptr,
const bool bCalcFrame = false ) const;
- SwAnchoredObject* GetAnchoredObj( const Point* pDocPos = nullptr ) const;
+ SwAnchoredObject* GetAnchoredObj() const;
virtual Graphic MakeGraphic( ImageMap* pMap = nullptr ) override;
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx
index c2a4e6a6cc7b..fc51e57e65b1 100644
--- a/sw/inc/ndarr.hxx
+++ b/sw/inc/ndarr.hxx
@@ -204,8 +204,7 @@ public:
/// Implementations of "Make...Node" are in the given .cxx-files.
SwTextNode *MakeTextNode( const SwNodeIndex & rWhere,
- SwTextFormatColl *pColl,
- SwAttrSet* pAutoAttr = nullptr ); ///< in ndtxt.cxx
+ SwTextFormatColl *pColl ); ///< in ndtxt.cxx
SwStartNode* MakeTextSection( const SwNodeIndex & rWhere,
SwStartNodeType eSttNdTyp,
SwTextFormatColl *pColl );
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index efe9462b3fb4..cf196d0203a0 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -694,8 +694,7 @@ public:
bool bReplaceTabsWithSpaces = false ) const;
OUString GetRedlineText( sal_Int32 nIdx = 0,
- sal_Int32 nLen = SAL_MAX_INT32,
- bool bExpandFields = false ) const;
+ sal_Int32 nLen = SAL_MAX_INT32 ) const;
/** @return actual count of initial chars for initial-function.
If nWishLen == 0 that of first word. */
@@ -795,8 +794,7 @@ public:
sal_uInt32 GetRsid( sal_Int32 nStt, sal_Int32 nEnd ) const;
sal_uInt32 GetParRsid() const;
- bool CompareRsid( const SwTextNode &rTextNode, sal_Int32 nStt1, sal_Int32 nStt2,
- sal_Int32 nEnd1 = 0 ) const;
+ bool CompareRsid( const SwTextNode &rTextNode, sal_Int32 nStt1, sal_Int32 nStt2 ) const;
bool CompareParRsid( const SwTextNode &rTextNode ) const;
DECL_FIXEDMEMPOOL_NEWDEL(SwTextNode)
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 01ad9439e21c..dea2afc64019 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -409,8 +409,7 @@ public:
SwRect FindLayoutRect( const bool bPrtArea = false,
const Point* pPoint = nullptr,
const bool bCalcFrame = false ) const;
- SwRect FindPageFrameRect( const bool bPrtArea = false,
- const Point* pPoint = nullptr ) const;
+ SwRect FindPageFrameRect() const;
/** Method creates all views of document for given node. The content
frames that are created are put in the respective layout. */
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index b5b52ce8b9bf..d98df2cf3993 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -314,7 +314,7 @@ public:
// Query whether section is in Nodes-array or in UndoNodes-array.
bool IsInNodesArr() const;
- SwSectionNode* GetSectionNode(bool const bEvenIfInUndo = false);
+ SwSectionNode* GetSectionNode();
const SwSectionNode* GetSectionNode() const
{ return const_cast<SwSectionFormat *>(this)
->GetSectionNode(); }
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 7d5d1ea2f592..0085004fe8ec 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -504,7 +504,7 @@ public:
void ExecTabWin(SfxRequest&);
void ExecuteStatusLine(SfxRequest&);
DECL_LINK_TYPED( ExecRulerClick, Ruler *, void );
- void ExecSearch(SfxRequest&, bool bNoMessage = false);
+ void ExecSearch(SfxRequest&);
void ExecViewOptions(SfxRequest &);
void StateViewOptions(SfxItemSet &);