summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-06-23 18:05:39 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-06-23 18:05:39 +0000
commit05a656690c32ab35411ecf87cc249ded3a4a84a8 (patch)
treeda3ab620132d49790254c6b127e1c7240d04257c /app-office/kword/files
parent<http://my.opera.com/desktopteam/blog/2010/06/23/stability-work>. (diff)
downloadgentoo-2-05a656690c32ab35411ecf87cc249ded3a4a84a8.tar.gz
gentoo-2-05a656690c32ab35411ecf87cc249ded3a4a84a8.tar.bz2
gentoo-2-05a656690c32ab35411ecf87cc249ded3a4a84a8.zip
Fix gcc-4.5 compilation wrt bug #322725
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-office/kword/files')
-rw-r--r--app-office/kword/files/kword-2.1.2-gcc45.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-office/kword/files/kword-2.1.2-gcc45.patch b/app-office/kword/files/kword-2.1.2-gcc45.patch
new file mode 100644
index 000000000000..0fa5e34e840e
--- /dev/null
+++ b/app-office/kword/files/kword-2.1.2-gcc45.patch
@@ -0,0 +1,13 @@
+Index: kword-2.1.2/filters/kword/msword-odf/texthandler.cpp
+===================================================================
+--- kword-2.1.2.orig/filters/kword/msword-odf/texthandler.cpp
++++ kword-2.1.2/filters/kword/msword-odf/texthandler.cpp
+@@ -863,7 +863,7 @@ bool KWordTextHandler::writeListInfo(KoX
+ unsigned int code = text[0].unicode();
+ if ( (code & 0xFF00) == 0xF000 ) // see wv2
+ code &= 0x00FF;
+- listStyleWriter.addAttribute( "text:bullet-char", QString::QString( code ).toUtf8() );
++ listStyleWriter.addAttribute( "text:bullet-char", QString( code ).toUtf8() );
+ }
+ else
+ kWarning(30513) << "Bullet with more than one character, not supported";