[Libreoffice-commits] .: writerfilter/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Sun Sep 4 01:49:38 PDT 2011
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f4c24f051bc6ec4a106abef27b4e77df6a62e9fd
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sun Sep 4 10:47:41 2011 +0200
Related: fdo#38966 initial support for first page header/footer in RTF import
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index f4a7226..5a0122f 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1096,10 +1096,10 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
case RTF_FOOTER: nId = NS_rtf::LN_footerr; break;
case RTF_HEADERL: nId = NS_rtf::LN_headerl; break;
case RTF_HEADERR: nId = NS_rtf::LN_headerr; break;
- case RTF_HEADERF: nId = NS_rtf::LN_headerr; break; // TODO figure out how to use NS_rtf::LN_headerf
+ case RTF_HEADERF: nId = NS_rtf::LN_headerf; break;
case RTF_FOOTERL: nId = NS_rtf::LN_footerl; break;
case RTF_FOOTERR: nId = NS_rtf::LN_footerr; break;
- case RTF_FOOTERF: nId = NS_rtf::LN_footerr; break; // same here, NS_rtf::LN_footerf could be used
+ case RTF_FOOTERF: nId = NS_rtf::LN_footerf; break;
default: break;
}
m_nHeaderFooterPositions.push(make_pair(nId, nPos));
More information about the Libreoffice-commits
mailing list