oox/source/token/namespaces.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 403fdaba8a2c3b450dbe8b4b26d1d777ab32e04e Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Fri Aug 15 21:52:03 2014 +0200 oox: sort namespaces in generated header Otherwise it's next to impossible to reasonably diff the generated code after a change. Change-Id: I13f98532535bfe3f4915677cb3346300f25e0cfa diff --git a/oox/source/token/namespaces.pl b/oox/source/token/namespaces.pl index faeaad9..abbb708 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits