[Libreoffice-commits] core.git: sw/source writerperfect/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Aug 22 07:17:50 UTC 2017
sw/source/filter/ww8/rtfattributeoutput.cxx | 2 +-
writerperfect/source/writer/EPUBExportFilter.cxx | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit ed282695edb6e6d9b636211ba4aa43fd0924c858
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Aug 22 09:09:33 2017 +0200
writerperfect: make sure EPUBExportFilter.hxx is self-contained
By including it first in its implementation file.
Change-Id: I8eda0cc8a7e8c37883dbecc84f3f315cff8c3146
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 96000d7c0c65..e0020a473856 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -2659,7 +2659,7 @@ void RtfAttributeOutput::TextFootnote_Impl(const SwFormatFootnote& rFootnote)
m_aRun->append("{" OOO_STRING_SVTOOLS_RTF_SUPER " ");
WriteTextFootnoteNumStr(rFootnote);
m_aRun->append("{" OOO_STRING_SVTOOLS_RTF_IGNORE OOO_STRING_SVTOOLS_RTF_FOOTNOTE);
- if ( rFootnote.IsEndNote() || m_rExport.m_pDoc->GetFootnoteInfo().ePos == FTNPOS_CHAPTER )
+ if (rFootnote.IsEndNote() || m_rExport.m_pDoc->GetFootnoteInfo().ePos == FTNPOS_CHAPTER)
m_aRun->append(OOO_STRING_SVTOOLS_RTF_FTNALT);
m_aRun->append(' ');
WriteTextFootnoteNumStr(rFootnote);
diff --git a/writerperfect/source/writer/EPUBExportFilter.cxx b/writerperfect/source/writer/EPUBExportFilter.cxx
index a3e490428143..7f4ce28aa5ad 100644
--- a/writerperfect/source/writer/EPUBExportFilter.cxx
+++ b/writerperfect/source/writer/EPUBExportFilter.cxx
@@ -11,6 +11,8 @@
#include "EPUBExportFilter.hxx"
+#include "config_libepubgen.h"
+
#include <libepubgen/EPUBTextGenerator.h>
#include <com/sun/star/lang/XInitialization.hpp>
More information about the Libreoffice-commits
mailing list