#!/bin/sh

cmd=`dirname "$0"`/soffice

# do not change the command line if called with any non "-" argument
for i in $*
do
  test `echo $i | grep "^-"` || exec "$cmd" "$@"
done

exec "$cmd" -calc "$@"
