FreeBSD Bugzilla – Attachment 211933 Details for
Bug 244402
textproc/libstaroffice: Fix build with clang 10.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix several -Werror warnings in libstaroffice
textproc__libstaroffice-fix-clang10-1.diff (text/plain), 3.75 KB, created by
Dimitry Andric
on 2020-02-25 17:55:25 UTC
(
hide
)
Description:
Fix several -Werror warnings in libstaroffice
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-02-25 17:55:25 UTC
Size:
3.75 KB
patch
obsolete
>Index: textproc/libstaroffice/files/patch-src_lib_STOFFOLEParser.cxx >=================================================================== >--- textproc/libstaroffice/files/patch-src_lib_STOFFOLEParser.cxx (nonexistent) >+++ textproc/libstaroffice/files/patch-src_lib_STOFFOLEParser.cxx (working copy) >@@ -0,0 +1,11 @@ >+--- src/lib/STOFFOLEParser.cxx.orig 2018-01-30 09:10:08 UTC >++++ src/lib/STOFFOLEParser.cxx >+@@ -506,7 +506,7 @@ bool STOFFOLEParser::readSummaryInformation(STOFFInput >+ ascii.addPos(pos); >+ ascii.addNote(f.str().c_str()); >+ >+- for (auto const posToType : posToTypeMap) { >++ for (auto const &posToType : posToTypeMap) { >+ pos=posToType.first; >+ input->seek(pos, librevenge::RVNG_SEEK_SET); >+ f.str(""); > >Property changes on: textproc/libstaroffice/files/patch-src_lib_STOFFOLEParser.cxx >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: textproc/libstaroffice/files/patch-src_lib_STOFFSpreadsheetListener.hxx >=================================================================== >--- textproc/libstaroffice/files/patch-src_lib_STOFFSpreadsheetListener.hxx (nonexistent) >+++ textproc/libstaroffice/files/patch-src_lib_STOFFSpreadsheetListener.hxx (working copy) >@@ -0,0 +1,11 @@ >+--- src/lib/STOFFSpreadsheetListener.hxx.orig 2018-04-25 09:25:45 UTC >++++ src/lib/STOFFSpreadsheetListener.hxx >+@@ -61,7 +61,7 @@ struct State; >+ } >+ >+ /** This class contents the main functions needed to create a spreadsheet processing Document */ >+-class STOFFSpreadsheetListener : public STOFFListener >++class STOFFSpreadsheetListener final : public STOFFListener >+ { >+ public: >+ /** constructor */ > >Property changes on: textproc/libstaroffice/files/patch-src_lib_STOFFSpreadsheetListener.hxx >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: textproc/libstaroffice/files/patch-src_lib_StarObjectSmallGraphic.cxx >=================================================================== >--- textproc/libstaroffice/files/patch-src_lib_StarObjectSmallGraphic.cxx (nonexistent) >+++ textproc/libstaroffice/files/patch-src_lib_StarObjectSmallGraphic.cxx (working copy) >@@ -0,0 +1,20 @@ >+--- src/lib/StarObjectSmallGraphic.cxx.orig 2018-04-25 11:44:09 UTC >++++ src/lib/StarObjectSmallGraphic.cxx >+@@ -1389,7 +1389,7 @@ bool SdrGraphicPath::send(STOFFListenerPtr &listener, >+ else { >+ shape.m_command=STOFFGraphicShape::C_Path; >+ librevenge::RVNGPropertyListVector path; >+- for (auto const poly : m_pathPolygons) >++ for (auto const &poly : m_pathPolygons) >+ poly.addToPath(path, isClosed, state.m_global->m_relativeUnit, state.m_global->m_offset); >+ shape.m_propertyList.insert("svg:d", path); >+ } >+@@ -1402,7 +1402,7 @@ bool SdrGraphicPath::send(STOFFListenerPtr &listener, >+ >+ //////////////////////////////////////// >+ //! Internal: virtual class to store a Sdr graphic uno >+-class SdrGraphicUno : public SdrGraphicRect >++class SdrGraphicUno final : public SdrGraphicRect >+ { >+ public: >+ //! constructor > >Property changes on: textproc/libstaroffice/files/patch-src_lib_StarObjectSmallGraphic.cxx >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244402
: 211933