summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-22 20:16:28 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-24 12:40:46 +0300
commit6cf30940750607eeb062113dbee9968769d7bd06 (patch)
tree5d30410c5f32f45105d896c065da3fffbd5edf88 /sw
parent503b248127a92b9ad190e05f6a1d50574183cd47 (diff)
WaE: implicit conversion of NULL constant to nullptr_t
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/WW8TableInfo.cxx2
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx
index b58fee87f2a5..ce79ae23fcb4 100644
--- a/sw/source/filter/ww8/WW8TableInfo.cxx
+++ b/sw/source/filter/ww8/WW8TableInfo.cxx
@@ -1283,7 +1283,7 @@ WW8TableNodeInfo * WW8TableCellGrid::connectCells()
WW8TableCellGridRow::Pointer_t pRow = getRow(*aTopsIt);
WidthsPtr pWidths = pRow->getWidths();
- if (pWidths != NULL)
+ if (pWidths != 0)
{
sResult += "<widths>";
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 097a8a7eac5a..6d52d6b96e7d 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -1825,7 +1825,7 @@ void WW8_WrPlcSepx::WriteSepx( SvStream& rStrm ) const
for (size_t i = 0; i < m_SectionAttributes.size(); i++) // all sections
{
WW8_PdAttrDesc *const pA = m_SectionAttributes[i].get();
- if (pA->m_nLen && pA->m_pData != NULL)
+ if (pA->m_nLen && pA->m_pData != 0)
{
SVBT16 nL;
pA->m_nSepxFcPos = rStrm.Tell();