summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-10-20 08:33:15 +0300
committerTor Lillqvist <tml@iki.fi>2011-10-20 08:41:37 +0300
commitb2250f4d9813353c7626004f68db6f5b803f4316 (patch)
tree69fb6d52111f4823a2de6e793d6be0058ac3afb0 /sw
parent62f4128d74179c6211fc961845182bf2956e3323 (diff)
WaE: NULL used in arithmetic
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/fields/cellfml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx
index 973e65ab49d9..1594f6c19133 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -633,7 +633,7 @@ String SwTableFormula::ScanString( FnScanFormel fnFormel, const SwTable& rTbl,
}
aStr.Insert( sFormel, nFml, nStt - nFml ); // Anfang schreiben
- if( fnFormel != NULL )
+ if( fnFormel != 0 )
{
// ist ein TabellenName vorangestellt ??
// JP 16.02.99: SplitMergeBoxNm behandeln den Namen selbst