diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-24 17:32:28 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-06-25 20:03:19 +0200 |
commit | c1be76ec98cb465e07df961843134147100beaa9 (patch) | |
tree | 3fafb3d147e4ab48d0cc814804bba3f36140ce62 /sw/inc/doc.hxx | |
parent | f246ac13bd1a12e11eba03cbe3c62ea77293e02e (diff) |
pagedesc: Consolidate FindPageDescByName() and FindPageDesc().
Change-Id: I18d570509cd3f3b65a19a12a9df0b1d5db901d04
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 95eda380d00b..75eac111ab24 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1170,8 +1170,7 @@ public: sal_uInt16 GetPageDescCnt() const { return maPageDescs.size(); } const SwPageDesc& GetPageDesc( const sal_uInt16 i ) const { return *maPageDescs[i]; } SwPageDesc& GetPageDesc( sal_uInt16 i ) { return *maPageDescs[i]; } - SwPageDesc* FindPageDescByName( const OUString& rName, - sal_uInt16* pPos = 0 ) const; + SwPageDesc* FindPageDesc(const OUString& rName, sal_uInt16* pPos = NULL) const; /** Copy the complete PageDesc - beyond document and "deep"! Optionally copying of PoolFmtId, -HlpId can be prevented. */ @@ -1192,7 +1191,6 @@ public: SwPageDesc * GetPageDesc( const OUString & rName ); void ChgPageDesc( const OUString & rName, const SwPageDesc& ); void ChgPageDesc( sal_uInt16 i, const SwPageDesc& ); - bool FindPageDesc( const OUString & rName, sal_uInt16 * pFound ); void DelPageDesc( const OUString & rName, bool bBroadcast = false); void DelPageDesc( sal_uInt16 i, bool bBroadcast = false ); void PreDelPageDesc(SwPageDesc * pDel); |