Kaydet (Commit) 403fdaba authored tarafından Miklos Vajna's avatar Miklos Vajna

oox: sort namespaces in generated header

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

Change-Id: I13f98532535bfe3f4915677cb3346300f25e0cfa
üst 24454779
...@@ -82,7 +82,7 @@ $shift = 16; ...@@ -82,7 +82,7 @@ $shift = 16;
print ( IDFILE "const size_t NMSP_SHIFT = $shift;\n" ); print ( IDFILE "const size_t NMSP_SHIFT = $shift;\n" );
$i = 1; $i = 1;
foreach( keys( %namespaces ) ) foreach( sort( keys( %namespaces ) ) )
{ {
print( IDFILE "const sal_Int32 NMSP_$_ = $i << NMSP_SHIFT;\n" ); print( IDFILE "const sal_Int32 NMSP_$_ = $i << NMSP_SHIFT;\n" );
$id = $i << $shift; $id = $i << $shift;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment