From 04783fd91832fa01a5b096f395edd7ad4f9c0f6b Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Sat, 31 Oct 2015 21:04:59 -0400 Subject: Misc tweaks and cleanups. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Streamlined a couple of hotspots and some minor cleanups. Change-Id: I85a9423e03f7e20ce78736a44d668da859a443cd Reviewed-on: https://gerrit.libreoffice.org/19720 Reviewed-by: Björn Michaelsen Tested-by: Björn Michaelsen --- sw/inc/doc.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/doc.hxx') diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index d72b46313a1d..46ee9e2aa953 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -920,9 +920,9 @@ public: size_t GetPageDescCnt() const { return m_PageDescs.size(); } const SwPageDesc& GetPageDesc(const size_t i) const { return *m_PageDescs[i]; } SwPageDesc& GetPageDesc(size_t const i) { return *m_PageDescs[i]; } - SwPageDesc* FindPageDesc(const OUString& rName, size_t* pPos = NULL) const; + SwPageDesc* FindPageDesc(const OUString& rName, size_t* pPos = nullptr) const; // Just searches the pointer in the m_PageDescs vector! - bool ContainsPageDesc(const SwPageDesc *pDesc, size_t* pPos = NULL); + bool ContainsPageDesc(const SwPageDesc *pDesc, size_t* pPos = nullptr); /** Copy the complete PageDesc - beyond document and "deep"! Optionally copying of PoolFormatId, -HlpId can be prevented. */ -- cgit v1.2.3