Line 0
Link Here
|
|
|
1 |
--- src/lib/StarObjectSmallGraphic.cxx.orig 2018-04-25 11:44:09 UTC |
2 |
+++ src/lib/StarObjectSmallGraphic.cxx |
3 |
@@ -1389,7 +1389,7 @@ bool SdrGraphicPath::send(STOFFListenerPtr &listener, |
4 |
else { |
5 |
shape.m_command=STOFFGraphicShape::C_Path; |
6 |
librevenge::RVNGPropertyListVector path; |
7 |
- for (auto const poly : m_pathPolygons) |
8 |
+ for (auto const &poly : m_pathPolygons) |
9 |
poly.addToPath(path, isClosed, state.m_global->m_relativeUnit, state.m_global->m_offset); |
10 |
shape.m_propertyList.insert("svg:d", path); |
11 |
} |
12 |
@@ -1402,7 +1402,7 @@ bool SdrGraphicPath::send(STOFFListenerPtr &listener, |
13 |
|
14 |
//////////////////////////////////////// |
15 |
//! Internal: virtual class to store a Sdr graphic uno |
16 |
-class SdrGraphicUno : public SdrGraphicRect |
17 |
+class SdrGraphicUno final : public SdrGraphicRect |
18 |
{ |
19 |
public: |
20 |
//! constructor |