[Libreoffice-commits] .: writerfilter/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Wed Nov 16 02:59:27 PST 2011
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c2439ecdd4ad42c4a23cba12611d5bfcdcd5e165
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Wed Nov 16 11:59:05 2011 +0100
Related: i#113308 null pointer check for the unit test
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 61add03..e6e9ad0 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2835,10 +2835,11 @@ void DomainMapper_Impl::CloseFieldCommand()
case FIELD_NUMCHARS:
case FIELD_NUMWORDS:
case FIELD_NUMPAGES:
+ if (xFieldProperties.is())
xFieldProperties->setPropertyValue(
rPropNameSupplier.GetName(PROP_NUMBERING_TYPE),
uno::makeAny( lcl_ParseNumberingType(pContext->GetCommand()) ));
- break;
+ break;
}
}
More information about the Libreoffice-commits
mailing list