summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsolenv/bin/update_pch.sh6
-rw-r--r--svx/inc/pch/precompiled_svx.hxx7
2 files changed, 4 insertions, 9 deletions
diff --git a/solenv/bin/update_pch.sh b/solenv/bin/update_pch.sh
index 0cda8f494801..1302df4faf38 100755
--- a/solenv/bin/update_pch.sh
+++ b/solenv/bin/update_pch.sh
@@ -30,7 +30,7 @@ for x in $headers; do
inobjects=
ifstack=0
while read line ; do
- if (test "$line" = "))") || (echo $line | grep -q ", "); then
+ if test "$line" = "))" ; then
inobjects=
elif echo $line | grep -q -e add_exception_objects -e add_noexception_objects -e add_cxxobject -e add_cxxobjects ; then
inobjects=1
@@ -43,7 +43,9 @@ for x in $headers; do
ifstack=$((ifstack - 1))
elif test -n "$inobjects" -a $ifstack -eq 0; then
file=$line
- if ! test -f "$root/$file".cxx ; then
+ if echo $line | grep -q ", "; then
+ true # $if() probably, or something similar
+ elif ! test -f "$root/$file".cxx ; then
echo No file $file in $module/$makefile >&2
else
cat "$root/$file".cxx | grep -e '^\s*#include' | sed 's/\(#include [<"][^>"]*[>"]\).*/\1/' | sed 's#\.\./##g#' >>$tmpfile
diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx
index 1f5c0396c048..13b85611cdab 100644
--- a/svx/inc/pch/precompiled_svx.hxx
+++ b/svx/inc/pch/precompiled_svx.hxx
@@ -250,21 +250,16 @@
#include <numeric>
#include "osl/diagnose.h"
#include <osl/diagnose.h>
-#include "osl/file.hxx"
#include <osl/file.hxx>
#include <osl/interlck.h>
#include <osl/mutex.hxx>
#include <osl/nlsupport.h>
-#include "osl/process.h"
#include <osl/security.hxx>
-#include <pwd.h>
-#include "rtl/bootstrap.hxx"
#include <rtl/bootstrap.hxx>
#include <rtl/instance.hxx>
#include <rtl/locale.h>
#include <rtl/math.hxx>
#include <rtl/ref.hxx>
-#include "rtl/strbuf.hxx"
#include <rtl/strbuf.hxx>
#include <rtl/tencinfo.h>
#include <rtl/textenc.h>
@@ -354,7 +349,6 @@
#include <toolkit/helper/externallock.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <toolkit/unohlp.hxx>
-#include "tools/appendunixshellword.hxx"
#include <tools/color.hxx>
#include <tools/debug.hxx>
#include <tools/errinf.hxx>
@@ -370,7 +364,6 @@
#include <tools/string.hxx>
#include <tools/urlobj.hxx>
#include <unicode/uchar.h>
-#include <unistd.h>
#include "uno/lbnames.h"
#include <uno/mapping.hxx>
#include <unotools/accessiblerelationsethelper.hxx>