summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/scriptinfo.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/source/core/inc/scriptinfo.hxx
parent6cd7bf2043146a630925a2e49336f02c802f707a (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/core/inc/scriptinfo.hxx')
-rw-r--r--sw/source/core/inc/scriptinfo.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index 2201343dc183..6d3c05cb0bf7 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -185,7 +185,7 @@ public:
// than the level at position nPos is returned. This is required to
// obtain the end of a SwBidiPortion
sal_Int32 NextDirChg( const sal_Int32 nPos,
- const sal_uInt8* pLevel = 0 ) const;
+ const sal_uInt8* pLevel = nullptr ) const;
sal_uInt8 DirType( const sal_Int32 nPos ) const;
// HIDDEN TEXT STUFF START
@@ -216,9 +216,9 @@ public:
*/
static bool GetBoundsOfHiddenRange( const SwTextNode& rNode, sal_Int32 nPos,
sal_Int32& rnStartPos, sal_Int32& rnEndPos,
- PositionList* pList = 0 );
+ PositionList* pList = nullptr );
bool GetBoundsOfHiddenRange( sal_Int32 nPos, sal_Int32& rnStartPos,
- sal_Int32& rnEndPos, PositionList* pList = 0 ) const;
+ sal_Int32& rnEndPos, PositionList* pList = nullptr ) const;
static bool IsInHiddenRange( const SwTextNode& rNode, sal_Int32 nPos );
@@ -256,7 +256,7 @@ public:
long Compress( long* pKernArray, sal_Int32 nIdx, sal_Int32 nLen,
const sal_uInt16 nCompress, const sal_uInt16 nFontHeight,
const bool bCentered,
- Point* pPoint = NULL ) const;
+ Point* pPoint = nullptr ) const;
/** Performs a kashida justification on the kerning array