summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-23 09:24:56 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-23 09:24:56 +0000
commit1b5d77e0404cc01950a86c6225bad82a07ec4de3 (patch)
tree887f38244907b4aa455d92e35d91dd2888dcc101 /svtools/source
parent06257175446515458f526b5dd0edd7da1e59a999 (diff)
#100000# get rid of NULL as used in arithmetic
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/uno/unoevent.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index 2e644cb18603..336ab06f52dc 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unoevent.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 15:30:27 $
+ * last change: $Author: vg $ $Date: 2006-11-23 10:24:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -605,7 +605,7 @@ SvMacroTableEventDescriptor::~SvMacroTableEventDescriptor()
void SvMacroTableEventDescriptor::copyMacrosFromTable(
const SvxMacroTableDtor& rMacroTable)
{
- for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != NULL; i++)
+ for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != 0; i++)
{
const sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent;
const SvxMacro* pMacro = rMacroTable.Get(nEvent);
@@ -618,7 +618,7 @@ void SvMacroTableEventDescriptor::copyMacrosFromTable(
void SvMacroTableEventDescriptor::copyMacrosIntoTable(
SvxMacroTableDtor& rMacroTable)
{
- for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != NULL; i++)
+ for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != 0; i++)
{
const sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent;
if (hasByName(nEvent))