diff options
Diffstat (limited to '.git-hooks')
-rwxr-xr-x | .git-hooks/pre-commit | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index cddc8d330b77..00a5e7cd7e67 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -85,6 +85,14 @@ sub check_whitespaces($) { bad_line("temporary debug in commit", $_, $src_limited); } + if ((/OOXMLIMPORT/) and ($filename =~ /ooxmlexport/)) + { + bad_line("OOXMLIMPORT definition used in a ooxmlexport file", $_, "cxx"); + } + if ((/OOXMLEXPORT/) and ($filename =~ /ooxmlimport/)) + { + bad_line("OOXMLEXPORT definition used in a ooxmlimport file", $_, "cxx"); + } if (/<property name="use_markup">True<\/property>/) { bad_line("use font attributes instead of use-markup", $_, "ui"); |