summaryrefslogtreecommitdiff
path: root/sc
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 /sc
parent503b248127a92b9ad190e05f6a1d50574183cd47 (diff)
WaE: implicit conversion of NULL constant to nullptr_t
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/ddelink.cxx2
-rw-r--r--sc/source/filter/excel/excdoc.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx
index d579eaadd30c..bd6eb92347a4 100644
--- a/sc/source/core/tool/ddelink.cxx
+++ b/sc/source/core/tool/ddelink.cxx
@@ -110,7 +110,7 @@ void ScDdeLink::Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const
rStream.WriteUniOrByteString( aTopic, eCharSet );
rStream.WriteUniOrByteString( aItem, eCharSet );
- sal_Bool bHasValue = ( pResult != NULL );
+ sal_Bool bHasValue = ( pResult != 0 );
rStream << bHasValue;
if( rStream.GetVersion() > SOFFICE_FILEFORMAT_40 ) // nicht bei 4.0 Export
diff --git a/sc/source/filter/excel/excdoc.cxx b/sc/source/filter/excel/excdoc.cxx
index b95b66035a8f..b56f7802866a 100644
--- a/sc/source/filter/excel/excdoc.cxx
+++ b/sc/source/filter/excel/excdoc.cxx
@@ -579,7 +579,7 @@ void ExcTable::FillAsXmlTable( SCTAB nCodeNameIdx )
aRecList.AppendRecord( GetPivotTableManager().CreatePivotTablesRecord( mnScTab ) );
// list of NOTE records, generated by the cell table
- if( mxNoteList != NULL && !mxNoteList->IsEmpty() )
+ if( mxNoteList != 0 && !mxNoteList->IsEmpty() )
aRecList.AppendNewRecord( new XclExpComments( mnScTab, *mxNoteList ) );
// web queries