summaryrefslogtreecommitdiff
path: root/sw/inc/unosett.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:53 +0100
commit01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch)
treeb8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/inc/unosett.hxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/inc/unosett.hxx')
-rw-r--r--sw/inc/unosett.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx
index e9cf05ae6839..d19f5f170885 100644
--- a/sw/inc/unosett.hxx
+++ b/sw/inc/unosett.hxx
@@ -66,7 +66,7 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
- void Invalidate() {pDoc = 0;}
+ void Invalidate() {pDoc = nullptr;}
};
class SwXEndnoteProperties : public cppu::WeakAggImplHelper2
@@ -96,7 +96,7 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
- void Invalidate() {pDoc = 0;}
+ void Invalidate() {pDoc = nullptr;}
};
class SwXLineNumberingProperties : public cppu::WeakAggImplHelper2
@@ -126,7 +126,7 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
- void Invalidate() {pDoc = 0;}
+ void Invalidate() {pDoc = nullptr;}
};
class SwXNumberingRules : public cppu::WeakAggImplHelper5
@@ -155,7 +155,7 @@ protected:
public:
SwXNumberingRules(SwDocShell& rDocSh); // chapter numbering
- SwXNumberingRules(const SwNumRule& rRule, SwDoc* doc = NULL); // NumRule for paragraphs, numbering styles
+ SwXNumberingRules(const SwNumRule& rRule, SwDoc* doc = nullptr); // NumRule for paragraphs, numbering styles
SwXNumberingRules(SwDoc& rDoc); //create a new instance
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
@@ -202,7 +202,7 @@ public:
const SwNumRule* GetNumRule() {return pNumRule;}
static bool isInvalidStyle(const OUString &rName);
- void Invalidate() {pDocShell = 0;}
+ void Invalidate() {pDocShell = nullptr;}
OUString GetCreatedNumRuleName() const {return m_sCreatedNumRuleName;}
static css::uno::Sequence<css::beans::PropertyValue> GetPropertiesForNumFormat(