summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/update_pch9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/update_pch b/bin/update_pch
index 9af484c2d8bd..0ccf38f347f5 100755
--- a/bin/update_pch
+++ b/bin/update_pch
@@ -486,10 +486,15 @@ def sort_by_category(list, root, module, filter_local):
sys.append(i)
elif '<boost/' in i:
boo.append(i)
- elif '<osl/' in i or '<rtl/' in i or '<sal/' in i or '<vcl/' in i:
- cor.append(i)
elif prefix in i or not '/' in i:
mod.append(i)
+ elif '<sal/' in i or '<vcl/' in i:
+ cor.append(i)
+ elif '<osl/' in i or '<rtl/' in i:
+ if module == "sal": # osl and rtl are also part of sal
+ mod.append(i)
+ else:
+ cor.append(i)
# Headers from another module that is closely tied to the module.
elif module == 'sc' and '<formula' in i:
mod.append(i)