diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:50 +0100 |
commit | 6cd7bf2043146a630925a2e49336f02c802f707a (patch) | |
tree | 786cecd8ab993e25cda497d45b68007050c30d61 /include/svx/svdotext.hxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'include/svx/svdotext.hxx')
-rw-r--r-- | include/svx/svdotext.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index 586a5838ec3c..e40435c6213e 100644 --- a/include/svx/svdotext.hxx +++ b/include/svx/svdotext.hxx @@ -226,12 +226,12 @@ public: void SetTextEditOffset(const Point& rNew) { maTextEditOffset = rNew; } protected: - OverflowingText *mpOverflowingText = NULL; + OverflowingText *mpOverflowingText = nullptr; bool mbIsUnchainableClone = false; // the successor in a chain - SdrTextObj *mpNextInChain = NULL; - SdrTextObj *mpPrevInChain = NULL; + SdrTextObj *mpNextInChain = nullptr; + SdrTextObj *mpPrevInChain = nullptr; // indicating the for its text to be chained to another text box bool mbToBeChained : 1; @@ -348,7 +348,7 @@ public: // Eine Attributierung kann nur am Textrahmen vollzogen werden. void SetTextLink(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet); void ReleaseTextLink(); - bool IsLinkedText() const { return pPlusData!=NULL && GetLinkUserData()!=NULL; } + bool IsLinkedText() const { return pPlusData!=nullptr && GetLinkUserData()!=nullptr; } bool ReloadLinkedText(bool bForceLoad = false); bool LoadText(const OUString& rFileName, const OUString& rFilterName, rtl_TextEncoding eCharSet); @@ -378,7 +378,7 @@ public: virtual bool HasText() const override; bool HasEditText() const; - bool IsTextEditActive() const { return (pEdtOutl != 0L); } + bool IsTextEditActive() const { return (pEdtOutl != nullptr); } /** returns the currently active text. */ virtual SdrText* getActiveText() const; @@ -411,7 +411,7 @@ public: // Gleichzeitig wird der Text in den Outliner gesetzt (ggf. // der des EditOutliners) und die PaperSize gesetzt. virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false, - Rectangle* pAnchorRect=NULL, bool bLineWidth = true ) const; + Rectangle* pAnchorRect=nullptr, bool bLineWidth = true ) const; virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const; const GeoStat& GetGeoStat() const { return aGeo; } |