summaryrefslogtreecommitdiff
path: root/external/libstaroffice/0001-error-C2512-StarObject-no-appropriate-default-constr.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/libstaroffice/0001-error-C2512-StarObject-no-appropriate-default-constr.patch.1')
-rw-r--r--external/libstaroffice/0001-error-C2512-StarObject-no-appropriate-default-constr.patch.154
1 files changed, 54 insertions, 0 deletions
diff --git a/external/libstaroffice/0001-error-C2512-StarObject-no-appropriate-default-constr.patch.1 b/external/libstaroffice/0001-error-C2512-StarObject-no-appropriate-default-constr.patch.1
new file mode 100644
index 000000000000..1c579b30170e
--- /dev/null
+++ b/external/libstaroffice/0001-error-C2512-StarObject-no-appropriate-default-constr.patch.1
@@ -0,0 +1,54 @@
+From 1bbb89aff70e81d47af617bb1407e70545a2f99a Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Wed, 10 Aug 2016 18:52:46 +0200
+Subject: [PATCH] error C2512: 'StarObject' : no appropriate default
+ constructor available
+
+---
+ src/lib/StarObjectChart.cxx | 2 +-
+ src/lib/StarObjectDraw.cxx | 2 +-
+ src/lib/StarObjectSpreadsheet.cxx | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/lib/StarObjectChart.cxx b/src/lib/StarObjectChart.cxx
+index 3438beb..d9b1604 100644
+--- a/src/lib/StarObjectChart.cxx
++++ b/src/lib/StarObjectChart.cxx
+@@ -71,7 +71,7 @@ struct State {
+ ////////////////////////////////////////////////////////////
+ // constructor/destructor, ...
+ ////////////////////////////////////////////////////////////
+-StarObjectChart::StarObjectChart(StarObject const &orig, bool duplicateState) : StarObject::StarObject(orig, duplicateState), m_chartState(new StarObjectChartInternal::State)
++StarObjectChart::StarObjectChart(StarObject const &orig, bool duplicateState) : StarObject(orig, duplicateState), m_chartState(new StarObjectChartInternal::State)
+ {
+ }
+
+diff --git a/src/lib/StarObjectDraw.cxx b/src/lib/StarObjectDraw.cxx
+index bb660a9..4e4fdc2 100644
+--- a/src/lib/StarObjectDraw.cxx
++++ b/src/lib/StarObjectDraw.cxx
+@@ -76,7 +76,7 @@ struct State {
+ ////////////////////////////////////////////////////////////
+ // constructor/destructor, ...
+ ////////////////////////////////////////////////////////////
+-StarObjectDraw::StarObjectDraw(StarObject const &orig, bool duplicateState) : StarObject::StarObject(orig, duplicateState), m_drawState(new StarObjectDrawInternal::State)
++StarObjectDraw::StarObjectDraw(StarObject const &orig, bool duplicateState) : StarObject(orig, duplicateState), m_drawState(new StarObjectDrawInternal::State)
+ {
+ }
+
+diff --git a/src/lib/StarObjectSpreadsheet.cxx b/src/lib/StarObjectSpreadsheet.cxx
+index 58409c8..c8bd71b 100644
+--- a/src/lib/StarObjectSpreadsheet.cxx
++++ b/src/lib/StarObjectSpreadsheet.cxx
+@@ -521,7 +521,7 @@ void SubDocument::parse(STOFFListenerPtr &listener, libstoff::SubDocumentType /*
+ ////////////////////////////////////////////////////////////
+ // constructor/destructor, ...
+ ////////////////////////////////////////////////////////////
+-StarObjectSpreadsheet::StarObjectSpreadsheet(StarObject const &orig, bool duplicateState) : StarObject::StarObject(orig, duplicateState), m_spreadsheetState(new StarObjectSpreadsheetInternal::State)
++StarObjectSpreadsheet::StarObjectSpreadsheet(StarObject const &orig, bool duplicateState) : StarObject(orig, duplicateState), m_spreadsheetState(new StarObjectSpreadsheetInternal::State)
+ {
+ }
+
+--
+2.7.4
+