diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:23:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:38 +0100 |
commit | 28034eaf925aa50d379dd5cffccc20d7edc95aec (patch) | |
tree | 5cde1f141bc0ffc5cb04a12980d0c4bce69de0f0 /include/sfx2/linkmgr.hxx | |
parent | d930b6c2e6e3dfb9e1ed19b84a3137cc0cfbfd8c (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4
Diffstat (limited to 'include/sfx2/linkmgr.hxx')
-rw-r--r-- | include/sfx2/linkmgr.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sfx2/linkmgr.hxx b/include/sfx2/linkmgr.hxx index 787a9526b748..c6cbcf000960 100644 --- a/include/sfx2/linkmgr.hxx +++ b/include/sfx2/linkmgr.hxx @@ -60,7 +60,7 @@ class SFX2_DLLPUBLIC LinkManager SfxObjectShell *pPersist; // LinkMgr must be release before SfxObjectShell protected: bool InsertLink( SvBaseLink* pLink, sal_uInt16 nObjType, SfxLinkUpdateMode nUpdateType, - const OUString* pName = 0 ); + const OUString* pName = nullptr ); public: enum LinkState @@ -103,8 +103,8 @@ public: bool InsertFileLink( sfx2::SvBaseLink&, sal_uInt16 nFileType, const OUString& rFileNm, - const OUString* pFilterNm = NULL, - const OUString* pRange = NULL ); + const OUString* pFilterNm = nullptr, + const OUString* pRange = nullptr ); void ReconnectDdeLink(SfxObjectShell& rServer); @@ -120,16 +120,16 @@ public: // Obtain the string for the dialog static bool GetDisplayNames( const SvBaseLink *, OUString* pType, - OUString* pFile = NULL, - OUString* pLink = NULL, - OUString* pFilter = NULL ); + OUString* pFile = nullptr, + OUString* pLink = nullptr, + OUString* pFilter = nullptr ); static SvLinkSourceRef CreateObj( SvBaseLink* ); void UpdateAllLinks( bool bAskUpdate = true, bool bCallErrHdl = true, bool bUpdateGrfLinks = false, - vcl::Window* pParentWin = 0 ); + vcl::Window* pParentWin = nullptr ); // Call for list of links (eg for link-dialog) const SvBaseLinks& GetLinks() const { return aLinkTbl; } @@ -175,7 +175,7 @@ SFX2_DLLPUBLIC void MakeLnkName( OUString& rName, const OUString* pType, // Can also be null!! const OUString& rFile, const OUString& rLink, - const OUString* pFilter = 0 ); + const OUString* pFilter = nullptr ); } |