[Libreoffice-commits] .: writerfilter/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Nov 18 02:16:38 PST 2011


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit cde0485eae048ca2ca8c2d68b48303a1f5031f09
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Fri Nov 18 11:08:17 2011 +0100

    Related: i#2593 fix RTF import of REF fields

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index e39eec4..df47858 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2724,6 +2724,7 @@ void DomainMapper_Impl::CloseFieldCommand()
                     break;
                     case FIELD_PAGEREF:
                     case FIELD_REF:
+                    if (xFieldProperties.is())
                     {
                         bool bPageRef = aIt->second.eFieldId == FIELD_PAGEREF;
                         ::rtl::OUString sBookmark = lcl_ExtractParameter(pContext->GetCommand(),


More information about the Libreoffice-commits mailing list