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

(-)textproc/libstaroffice/files/patch-src_lib_STOFFOLEParser.cxx (+11 lines)
Line 0 Link Here
1
--- src/lib/STOFFOLEParser.cxx.orig	2018-01-30 09:10:08 UTC
2
+++ src/lib/STOFFOLEParser.cxx
3
@@ -506,7 +506,7 @@ bool STOFFOLEParser::readSummaryInformation(STOFFInput
4
   ascii.addPos(pos);
5
   ascii.addNote(f.str().c_str());
6
 
7
-  for (auto const posToType : posToTypeMap) {
8
+  for (auto const &posToType : posToTypeMap) {
9
     pos=posToType.first;
10
     input->seek(pos, librevenge::RVNG_SEEK_SET);
11
     f.str("");
(-)textproc/libstaroffice/files/patch-src_lib_STOFFSpreadsheetListener.hxx (+11 lines)
Line 0 Link Here
1
--- src/lib/STOFFSpreadsheetListener.hxx.orig	2018-04-25 09:25:45 UTC
2
+++ src/lib/STOFFSpreadsheetListener.hxx
3
@@ -61,7 +61,7 @@ struct State;
4
 }
5
 
6
 /** This class contents the main functions needed to create a spreadsheet processing Document */
7
-class STOFFSpreadsheetListener : public STOFFListener
8
+class STOFFSpreadsheetListener final : public STOFFListener
9
 {
10
 public:
11
   /** constructor */
(-)textproc/libstaroffice/files/patch-src_lib_StarObjectSmallGraphic.cxx (+20 lines)
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

Return to bug 244402