summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-08-09 10:53:11 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-08-09 11:53:53 +0200
commit12b739aa2bf1f664acbbb4c4c815b3348c912977 (patch)
treef69048a0b5162952348774933c41586a531aa81b /writerperfect
parenta0e0b8372920e24672bb199e8e697fbc1cb8f5f2 (diff)
libepubgen: backport 3 validation fixes
A hello world ODT is now exported without validation errors. Change-Id: I2b160ee980f8ed9c80fd76945600d1edb1ee29bc Reviewed-on: https://gerrit.libreoffice.org/40908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/writer/EPUBPackage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx
index d3b51d4848da..7818f584b76f 100644
--- a/writerperfect/source/writer/EPUBPackage.cxx
+++ b/writerperfect/source/writer/EPUBPackage.cxx
@@ -125,7 +125,7 @@ void EPUBPackage::insertRule(const librevenge::RVNGString &rSelector, const libr
aStream << "}\n";
std::string aString = aStream.str();
- uno::Sequence<sal_Int8> aData(reinterpret_cast<const sal_Int8*>(aString.c_str()), aString.size());
+ uno::Sequence<sal_Int8> aData(reinterpret_cast<const sal_Int8 *>(aString.c_str()), aString.size());
mxOutputStream->writeBytes(aData);
}