aboutsummaryrefslogtreecommitdiffstats
path: root/community/libfreehand/parentheses-gcc8-fix.patch
blob: 7af1b05345061488b729cc8a14bb43121e07a9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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))