View | Details | Raw Unified | Return to bug 209588
Collapse All | Expand All

(-)editors/openoffice-4/files/patch-vcl_source_glyphs_graphite__layout.cxx (+14 lines)
Line 0 Link Here
1
--- vcl/source/glyphs/graphite_layout.cxx.orig	2014-02-25 08:33:06 UTC
2
+++ vcl/source/glyphs/graphite_layout.cxx
3
@@ -107,9 +107,10 @@ namespace
4
     typedef ext_std::pair<gr::GlyphIterator, gr::GlyphIterator>       glyph_range_t;
5
     typedef ext_std::pair<gr::GlyphSetIterator, gr::GlyphSetIterator> glyph_set_range_t;
6
 
7
-    inline long round(const float n) {
8
+    inline long round_(const float n) {
9
         return long(n + (n < 0 ? -0.5 : 0.5));
10
     }
11
+#define round round_
12
 
13
 
14
     template<typename T>
(-)editors/openoffice-devel/files/patch-vcl_source_glyphs_graphite__layout.cxx (+14 lines)
Line 0 Link Here
1
--- vcl/source/glyphs/graphite_layout.cxx.orig	2014-02-25 08:33:06 UTC
2
+++ vcl/source/glyphs/graphite_layout.cxx
3
@@ -107,9 +107,10 @@ namespace
4
     typedef ext_std::pair<gr::GlyphIterator, gr::GlyphIterator>       glyph_range_t;
5
     typedef ext_std::pair<gr::GlyphSetIterator, gr::GlyphSetIterator> glyph_set_range_t;
6
 
7
-    inline long round(const float n) {
8
+    inline long round_(const float n) {
9
         return long(n + (n < 0 ? -0.5 : 0.5));
10
     }
11
+#define round round_
12
 
13
 
14
     template<typename T>

Return to bug 209588