[Libreoffice-commits] .: solenv/bin solenv/inc
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Feb 11 13:13:59 PST 2011
solenv/bin/fix_def_file.cmd | 6 ------
solenv/bin/fix_def_ord.cmd | 2 +-
solenv/bin/fix_dxp_file.cmd | 4 ----
solenv/bin/fix_exp_file.cmd | 10 ----------
solenv/inc/postmac.h | 1 -
solenv/inc/premac.h | 1 -
6 files changed, 1 insertion(+), 23 deletions(-)
New commits:
commit 765776e3937dec843039f4a7642aba2332e6cd58
Author: Jean Charles Papin <jean.charles.papin at gmail.com>
Date: Fri Feb 11 21:13:46 2011 +0000
remove dead code
diff --git a/solenv/bin/fix_def_file.cmd b/solenv/bin/fix_def_file.cmd
index 4db97f8..3f303c8 100644
--- a/solenv/bin/fix_def_file.cmd
+++ b/solenv/bin/fix_def_file.cmd
@@ -29,12 +29,6 @@ do while( lines())
if l = '_GetVersionInfo' then l = ''
/* remove GLOBAL symbols */
-/*
- if POS('_GLOBAL_', l) > 0 then l = ';'l
- if POS('_ZN4_STL', l) > 0 then l = ';'l
- if POS('_ZNK4_STL', l) > 0 then l = ';'l
-*/
- /* if LENGTH(l) > 254 then l = ';(>254)'left(l,100)*/
IF LENGTH(l)>0 THEN DO
say l
diff --git a/solenv/bin/fix_def_ord.cmd b/solenv/bin/fix_def_ord.cmd
index eaeb666..a308edd 100644
--- a/solenv/bin/fix_def_ord.cmd
+++ b/solenv/bin/fix_def_ord.cmd
@@ -13,7 +13,7 @@ do while( lines())
l = linein()
IF LENGTH(l)>0 THEN DO
- say l /* ' @'ord ' RESIDENTNAME' */
+ say l
ord = ord + 1
END
end
diff --git a/solenv/bin/fix_dxp_file.cmd b/solenv/bin/fix_dxp_file.cmd
index 66149c1..bcad4e9 100644
--- a/solenv/bin/fix_dxp_file.cmd
+++ b/solenv/bin/fix_dxp_file.cmd
@@ -20,10 +20,6 @@ do while( lines())
if l = '_component_getDescriptionFunc' then l = ''
if l = '_GetVersionInfo' then l = ''
- /* remove GLOBAL symbols */
-/*
- if WORDPOS( l, '_GLOBAL_') > 0 then l = ''
-*/
say l
diff --git a/solenv/bin/fix_exp_file.cmd b/solenv/bin/fix_exp_file.cmd
index bec416c..fc2a619 100644
--- a/solenv/bin/fix_exp_file.cmd
+++ b/solenv/bin/fix_exp_file.cmd
@@ -25,16 +25,6 @@ do while( lines())
/* remove GLOBAL symbols */
if POS('_GLOBAL_', l) > 0 then l = ';'l
-/*
- if POS('!', l) > 0 then l = ';'l
- if POS('_ZN4_STL', l) > 0 then l = ';'l
- if POS('_ZNK4_STL', l) > 0 then l = ';'l
- if POS('ImplClass', l) > 0 then l = ';'l
- if POS('ImplHelper', l) > 0 then l = ';'l
- if POS('UsageHelper', l) > 0 then l = ';'l
- if POS('com3sun4star3', l) > 0 then l = ';'l
-*/
- /* if LENGTH(l) > 254 then l = ';(>254)'left(l,100) */
if POS(';', l) > 0 then l = LEFT(l,POS(';', l)-1)
diff --git a/solenv/inc/postmac.h b/solenv/inc/postmac.h
index 10376e4..8a73577 100644
--- a/solenv/inc/postmac.h
+++ b/solenv/inc/postmac.h
@@ -44,7 +44,6 @@
#undef LSize
#undef ModalDialog
#undef SetCursor
-//#undef ShowWindow
#undef StringPtr
#undef DirInfo
#undef ULONG
diff --git a/solenv/inc/premac.h b/solenv/inc/premac.h
index 4366ccf..e3becb6 100644
--- a/solenv/inc/premac.h
+++ b/solenv/inc/premac.h
@@ -44,7 +44,6 @@
#define LSize MacOSLSize
#define ModalDialog MacOSModalDialog
#define SetCursor MacOSSetCursor
-//#define ShowWindow MacOSShowWindow
#define StringPtr MacOSStringPtr
#define DirInfo MacOSDirInfo
#define ULONG MacOSULONG
More information about the Libreoffice-commits
mailing list