diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-15 21:52:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-08-15 22:18:33 +0200 |
commit | 403fdaba8a2c3b450dbe8b4b26d1d777ab32e04e (patch) | |
tree | c321efbeafb657128486ab1746dd5c7679660f40 /oox | |
parent | 24454779e990b50287c52fcd970ab07f90250481 (diff) |
oox: sort namespaces in generated header
Otherwise it's next to impossible to reasonably diff the generated code
after a change.
Change-Id: I13f98532535bfe3f4915677cb3346300f25e0cfa
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/token/namespaces.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/token/namespaces.pl b/oox/source/token/namespaces.pl index faeaad9016aa..abbb70814255 100644 --- a/oox/source/token/namespaces.pl +++ b/oox/source/token/namespaces.pl @@ -82,7 +82,7 @@ $shift = 16; print ( IDFILE "const size_t NMSP_SHIFT = $shift;\n" ); $i = 1; -foreach( keys( %namespaces ) ) +foreach( sort( keys( %namespaces ) ) ) { print( IDFILE "const sal_Int32 NMSP_$_ = $i << NMSP_SHIFT;\n" ); $id = $i << $shift; |