summaryrefslogtreecommitdiff
path: root/repo/libfreehand/parentheses-gcc8-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libfreehand/parentheses-gcc8-fix.patch')
-rw-r--r--repo/libfreehand/parentheses-gcc8-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo/libfreehand/parentheses-gcc8-fix.patch b/repo/libfreehand/parentheses-gcc8-fix.patch
new file mode 100644
index 0000000..7af1b05
--- /dev/null
+++ b/repo/libfreehand/parentheses-gcc8-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/src/lib/FHCollector.cpp b/src/lib/FHCollector.cpp
+index 874ab46edf..a5ab52ed9a 100644
+--- a/src/lib/FHCollector.cpp
++++ b/src/lib/FHCollector.cpp
+@@ -1907,7 +1907,7 @@ void libfreehand::FHCollector::_outputDisplayText(const libfreehand::FHDisplayTe
+ textObjectProps.insert("svg:width", width);
+ for (int i=0; i<4; ++i) // osnola: let assume that there is no padding
+ {
+- char const *(padding[])= {"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"};
++ char const *padding[]= {"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"};
+ textObjectProps.insert(padding[i],0,librevenge::RVNG_POINT);
+ }
+ if (!FH_ALMOST_ZERO(rotation))