Author: hdu Date: Tue Feb 12 10:54:31 2013 New Revision: 1445099 URL: http://svn.apache.org/r1445099 Log: unbrace string literal to prevent clang crashing with problem PR12226
Clang has had problems with braced string literals of unsigned chars (http://llvm.org/viewvc/llvm-project?revision=154756&view=revision) so we have to avoid them if we need to compile with such versions Modified: openoffice/trunk/main/hwpfilter/source/hbox.cpp Modified: openoffice/trunk/main/hwpfilter/source/hbox.cpp URL: http://svn.apache.org/viewvc/openoffice/trunk/main/hwpfilter/source/hbox.cpp?rev=1445099&r1=1445098&r2=1445099&view=diff ============================================================================== --- openoffice/trunk/main/hwpfilter/source/hbox.cpp (original) +++ openoffice/trunk/main/hwpfilter/source/hbox.cpp Tue Feb 12 10:54:31 2013 @@ -425,7 +425,7 @@ hchar_string MailMerge::GetString() static hchar olHanglJaso(int num, int type) { static unsigned char han_init[] = - { "\x88\x90\x94\x9c\xa0\xa4\xac\xb4\xb8\xc0\xc4\xc8\xcc\xd0" }; + "\x88\x90\x94\x9c\xa0\xa4\xac\xb4\xb8\xc0\xc4\xc8\xcc\xd0"; static unsigned char jung[] = { 3, 5, 7, 11, 13, 19, 20, 26, 27, 29, 30 }; static unsigned char jung2[] = { 3, 7, 13, 20, 27, 29, 30 };
