summaryrefslogtreecommitdiff
path: root/sw/inc/calc.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/calc.hxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 436649eb5eb8..491920e1fb13 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -137,11 +137,11 @@ struct SwCalcExp : public SwHash
const SwFieldType* pFieldType;
SwCalcExp( const OUString& rStr, const SwSbxValue& rVal,
- const SwFieldType* pFieldType = 0 );
+ const SwFieldType* pFieldType = nullptr );
};
SwHash* Find( const OUString& rSrch, SwHash* const * ppTable,
- sal_uInt16 nTableSize, sal_uInt16* pPos = 0 );
+ sal_uInt16 nTableSize, sal_uInt16* pPos = nullptr );
void DeleteHashTable( SwHash** ppTable, sal_uInt16 nTableSize );
@@ -203,12 +203,12 @@ public:
static bool Str2Double( const OUString& rStr, sal_Int32& rPos,
double& rVal,
- LocaleDataWrapper const*const pData = 0 );
+ LocaleDataWrapper const*const pData = nullptr );
static bool Str2Double( const OUString& rStr, sal_Int32& rPos,
double& rVal, SwDoc *const pDoc );
SW_DLLPUBLIC static bool IsValidVarName( const OUString& rStr,
- OUString* pValidName = 0 );
+ OUString* pValidName = nullptr );
};
#endif