oox: sort namespaces in generated header

Otherwise it's next to impossible to reasonably diff the generated code
after a change.

Change-Id: I13f98532535bfe3f4915677cb3346300f25e0cfa
This commit is contained in:
Miklos Vajna 2014-08-15 21:52:03 +02:00
parent 24454779e9
commit 403fdaba8a

View file

@ -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;