summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/txatbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/txatbase.cxx')
-rw-r--r--sw/source/core/txtnode/txatbase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index f9087b9c776b..6aac71af102e 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -48,7 +48,7 @@ SwTextAttr::~SwTextAttr( )
sal_Int32* SwTextAttr::GetEnd()
{
- return 0;
+ return nullptr;
}
void SwTextAttr::Destroy( SwTextAttr * pToDestroy, SfxItemPool& rPool )
@@ -83,7 +83,7 @@ void SwTextAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
if (End())
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("end"), BAD_CAST(OString::number(*End()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
- const char* pWhich = 0;
+ const char* pWhich = nullptr;
boost::optional<OString> oValue;
switch (Which())
{