summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-06-10 08:22:06 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-06-10 08:22:06 +0000
commitf793c645c6eb19441aeb67d9aa11c4d0c040acc5 (patch)
tree0975a753cffbde6018d6aeb4897183287c57c464 /desktop/scripts
parentd908f566cbecf4c6e7ad2381dc0863fbe3c5d4db (diff)
INTEGRATION: CWS fwk05 (1.4.6); FILE MERGED
2003/06/03 16:12:55 lo 1.4.6.1: #110030# no more -display or -plugin in shellscript
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/soffice.sh35
1 files changed, 1 insertions, 34 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh
index f89f653947bd..18a3de9d1eb8 100644
--- a/desktop/scripts/soffice.sh
+++ b/desktop/scripts/soffice.sh
@@ -175,33 +175,6 @@ err () {
exit 1
}
-#
-# parse command line arguments
-#
-plugin_mode=false
-for DUMMY in ${1+"$@"}
-do
- case $1 in
-
- ?display)
- if [ $# -lt 2 ]; then
- err "$1 option requires a display name"
- fi
- DISPLAY=$2
- export DISPLAY
- shift; shift
- ;;
- ?plugin)
-
- plugin_mode=true
- shift
- ;;
- *)
- break;
- ;;
- esac
-done
-
# start soffice by remote shell
if [ "X${SO_REMOTE_START}" = "Xrsh" ]; then
remote_server=`echo ${SO_REMOTE_APPLICATION} | sed 's/:.*//g'`
@@ -262,11 +235,5 @@ else
fi
# execute soffice binary
-if [ "X${plugin_mode}" = "Xtrue" ]; then
- SAL_IGNOREXERRORS=true
- export SAL_IGNOREXERRORS
- exec "$sd_prog/$sd_binary" -plugin "$@"
-else
- exec "$sd_prog/$sd_binary" $crashrepswitch "$@"
-fi
+exec "$sd_prog/$sd_binary" $crashrepswitch "$@"