diff options
Diffstat (limited to 'sw/inc/edglbldc.hxx')
-rw-r--r-- | sw/inc/edglbldc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/edglbldc.hxx b/sw/inc/edglbldc.hxx index 42b3f0b1bf37..53ba14d7497a 100644 --- a/sw/inc/edglbldc.hxx +++ b/sw/inc/edglbldc.hxx @@ -48,9 +48,9 @@ public: /// Query contents. GlobalDocContentType GetType() const { return eType; } const SwSection* GetSection() const - { return GLBLDOC_SECTION == eType ? PTR.pSect : 0; } + { return GLBLDOC_SECTION == eType ? PTR.pSect : nullptr; } const SwTOXBase* GetTOX() const - { return GLBLDOC_TOXBASE == eType ? PTR.pTOX : 0; } + { return GLBLDOC_TOXBASE == eType ? PTR.pTOX : nullptr; } sal_uLong GetDocPos() const { return nDocPos; } /// For sorting. |