summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-10-28 15:28:08 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-10-28 15:28:08 +0000
commitb52ae559562c777a3c231b1e50cfc346116a62a3 (patch)
treefd92b3a00d48647415b30adb71f98d7280c3291e /i18npool
parent6be38a4f1c4ac9bc647204f60816af9b7716628b (diff)
INTEGRATION: CWS valgrind02 (1.2.194); FILE MERGED
2004/10/11 17:25:28 mhu 1.2.194.1: #i35209# Adapted to use SAL_IMPLEMENT_MAIN_WITH_ARGS() macro instead of plain main() function.
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/breakiterator/gendict.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx
index e64af9f751a3..713e589ed747 100644
--- a/i18npool/source/breakiterator/gendict.cxx
+++ b/i18npool/source/breakiterator/gendict.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gendict.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: er $ $Date: 2002-03-26 16:55:00 $
+ * last change: $Author: rt $ $Date: 2004-10-28 16:28:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <sal/main.h>
#include <sal/types.h>
#include <tools/string.hxx>
#include <rtl/strbuf.hxx>
@@ -70,7 +71,8 @@ using namespace ::rtl;
/* Main Procedure */
-int SAL_CALL main(int argc, char* argv[]) {
+SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
+{
FILE *sfp, *cfp;
if (argc < 3) exit(-1);