[Libreoffice-commits] .: writerfilter/source
Noel Power
noelp at kemper.freedesktop.org
Tue Mar 1 05:07:23 PST 2011
writerfilter/source/dmapper/FormControlHelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a99a64ff58caa0efa8aaefc26c6a82cb4944229e
Author: Noel Power <noel.power at novell.com>
Date: Tue Mar 1 13:06:37 2011 +0000
fix incorrect test for name ( was using default name )
diff --git a/writerfilter/source/dmapper/FormControlHelper.cxx b/writerfilter/source/dmapper/FormControlHelper.cxx
index d26fae4..7546f14 100644
--- a/writerfilter/source/dmapper/FormControlHelper.cxx
+++ b/writerfilter/source/dmapper/FormControlHelper.cxx
@@ -233,7 +233,7 @@ bool FormControlHelper::processField(uno::Reference<text::XFormField> xFormField
if (m_pImpl->m_eFieldId == FIELD_FORMTEXT )
{
xFormField->setFieldType( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ODF_FORMTEXT)));
- if ( m_pFFData->getTextDefault().getLength() )
+ if ( m_pFFData->getName().getLength() )
{
xNamed->setName( m_pFFData->getName() );
}
More information about the Libreoffice-commits
mailing list