summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 13:28:45 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 13:28:45 +0000
commitedc2c9f0361b26bb5538070e96b42ecd76972582 (patch)
tree054c4dfeb32a7e188b2133167900bf10173e0fd4 /sc/source/ui/optdlg
parente71b9816570878e4160066065938eba1eb62a30f (diff)
INTEGRATION: CWS ooo20031216 (1.2.322); FILE MERGED
2003/12/13 13:38:01 waratah 1.2.322.1: #i1858# replace some NULL constants with 0 (zero), used with non-pointers
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 59023266cf34..c0a94d18984a 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tpusrlst.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: er $ $Date: 2002-09-24 18:21:05 $
+ * last change: $Author: hr $ $Date: 2004-02-04 14:28:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -755,7 +755,8 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
}
else if ( pViewData && (pBtn == &aBtnCopy) )
{
- if ( bCopyDone ) return NULL;
+ if ( bCopyDone )
+ return 0;
//-----------------------------------------------------------
@@ -804,14 +805,15 @@ IMPL_LINK( ScTpUserLists, BtnClickHdl, PushButton*, pBtn )
}
}
- return NULL;
+ return 0;
}
// -----------------------------------------------------------------------
IMPL_LINK( ScTpUserLists, EdEntriesModHdl, MultiLineEdit*, pEd )
{
- if ( pEd != &aEdEntries ) return NULL;
+ if ( pEd != &aEdEntries )
+ return 0;
//-----------------------------------------------------------
@@ -843,7 +845,7 @@ IMPL_LINK( ScTpUserLists, EdEntriesModHdl, MultiLineEdit*, pEd )
if ( aBtnAdd.IsEnabled() ) aBtnAdd.Disable();
}
- return NULL;
+ return 0;
}