[Libreoffice-commits] core.git: writerfilter/source
Jacobo Aragunde Pérez
jaragunde at igalia.com
Fri Jul 11 02:19:38 PDT 2014
writerfilter/source/dmapper/SdtHelper.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 053b17cb6fe7c0e138ac926d57daf415fbb2527e
Author: Jacobo Aragunde Pérez <jaragunde at igalia.com>
Date: Fri Jul 11 11:14:39 2014 +0200
writerfilter: remove unlocalized help text
In general, it's not a good idea to add a help text for a widget on
the importer code. And in this case is consistent with MS Office
behavior: help text shown only when the field is empty.
Change-Id: I18b640549f558a190c0fdada825e80e6a730f69d
diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index 14ad767..aeb129d 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -116,7 +116,6 @@ void SdtHelper::createDateControl(OUString& rContentText, beans::PropertyValue a
{
utl::extractDate(aDateTime, aDate);
xPropertySet->setPropertyValue("Date", uno::makeAny(aDate));
- xPropertySet->setPropertyValue("HelpText", uno::makeAny(OUString("Click here to enter a date")));
}
else
xPropertySet->setPropertyValue("HelpText", uno::makeAny(rContentText));
More information about the Libreoffice-commits
mailing list