diff options
author | Ashod Nakashian <ashodnakashian@yahoo.com> | 2015-10-31 21:04:59 -0400 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2015-11-07 21:22:01 +0000 |
commit | 04783fd91832fa01a5b096f395edd7ad4f9c0f6b (patch) | |
tree | fd677ba54851b1742ad163e3a27bc6cea314052c /sw/inc/doc.hxx | |
parent | 12d973aa9b6b3d962702f27fc46ef05b0151cabc (diff) |
Misc tweaks and cleanups.
Streamlined a couple of hotspots and some
minor cleanups.
Change-Id: I85a9423e03f7e20ce78736a44d668da859a443cd
Reviewed-on: https://gerrit.libreoffice.org/19720
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |