summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 15:54:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 20:49:15 +0200
commit5176c1dd609939df388d58871dfa7db789e13523 (patch)
tree487fc3e63ca2ab92ff37bbabca32f3841d84408d /sw/inc/doc.hxx
parent4dd34cd4b829bdc1679b11f19e957313f11620cd (diff)
loplugin:constparams in sw part1
Change-Id: Id8d8afe268a82585ec2d3699411073dfb905d6ba Reviewed-on: https://gerrit.libreoffice.org/40734 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r--sw/inc/doc.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 591b730fde30..0053e1efddf5 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -910,7 +910,7 @@ public:
void ChgPageDesc( size_t i, const SwPageDesc& );
void DelPageDesc( const OUString & rName, bool bBroadcast = false);
void DelPageDesc( size_t i, bool bBroadcast = false );
- void PreDelPageDesc(SwPageDesc * pDel);
+ void PreDelPageDesc(SwPageDesc const * pDel);
SwPageDesc* MakePageDesc(const OUString &rName, const SwPageDesc* pCpy = nullptr,
bool bRegardLanguage = true,
bool bBroadcast = false);
@@ -1580,7 +1580,7 @@ public:
bool IsSquaredPageMode() const;
css::uno::Reference< css::script::vba::XVBAEventProcessor > const & GetVbaEventProcessor();
- void SetVBATemplateToProjectCache( css::uno::Reference< css::container::XNameContainer >& xCache ) { m_xTemplateToProjectCache = xCache; };
+ void SetVBATemplateToProjectCache( css::uno::Reference< css::container::XNameContainer > const & xCache ) { m_xTemplateToProjectCache = xCache; };
const css::uno::Reference< css::container::XNameContainer >& GetVBATemplateToProjectCache() { return m_xTemplateToProjectCache; };
::sfx2::IXmlIdRegistry& GetXmlIdRegistry();
::sw::MetaFieldManager & GetMetaFieldManager();
@@ -1646,7 +1646,7 @@ inline void SwDoc::SetOLEPrtNotifyPending( bool bSet )
mbAllOLENotify = false;
}
-bool sw_GetPostIts( IDocumentFieldsAccess* pIDFA, SetGetExpFields * pSrtLst );
+bool sw_GetPostIts( IDocumentFieldsAccess const * pIDFA, SetGetExpFields * pSrtLst );
#endif //_DOC_HXX