You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.6 KiB
40 lines
1.6 KiB
From eb6322f6217e3571329d04da512a98f86f5829c8 Mon Sep 17 00:00:00 2001
|
|
From: rpmbuild <rpmbuild@fedoraproject.org>
|
|
Date: Tue, 16 Feb 2016 16:55:38 +0100
|
|
Subject: [PATCH] fix build with gcc 4.8
|
|
|
|
---
|
|
xmloff/source/core/RDFaExportHelper.cxx | 2 +-
|
|
xmloff/source/core/RDFaImportHelper.cxx | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx
|
|
index 42a25f0..3f054eb 100644
|
|
--- a/xmloff/source/core/RDFaExportHelper.cxx
|
|
+++ b/xmloff/source/core/RDFaExportHelper.cxx
|
|
@@ -165,7 +165,7 @@ RDFaExportHelper::AddRDFa(
|
|
xContent->getValue());
|
|
}
|
|
|
|
- auto aStatementToCURIE = [this](rdf::Statement const& aStatement) {
|
|
+ std::function<OUString(rdf::Statement const&)> aStatementToCURIE = [this](rdf::Statement const& aStatement) {
|
|
return makeCURIE(&this->m_rExport, aStatement.Predicate);
|
|
};
|
|
OUStringBuffer property;
|
|
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
|
|
index 96d784d..f78f17c 100644
|
|
--- a/xmloff/source/core/RDFaImportHelper.cxx
|
|
+++ b/xmloff/source/core/RDFaImportHelper.cxx
|
|
@@ -328,7 +328,7 @@ void RDFaInserter::InsertRDFaEntry(
|
|
|
|
predicates.reserve(i_rEntry.m_xRDFaAttributes->m_Properties.size());
|
|
|
|
- auto aPropertyToXURI = [this](OUString const& aProperty) { return this->MakeURI(aProperty); };
|
|
+ std::function<uno::Reference<rdf::XURI>(OUString const &)> aPropertyToXURI = [this](OUString const& aProperty) { return this->MakeURI(aProperty); };
|
|
// Store as variable so the type matches in both calls.
|
|
|
|
::std::remove_copy_if(
|
|
--
|
|
2.5.0
|
|
|