xmloff/source/style/cdouthdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 54583b6dec8ba17246f3422695b57795c64bc65d Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Fri Feb 7 21:47:19 2014 -0500 fdo#73281: Why!? This restriction makes absolutely no sense. It was likely someone's temporarily hack that was totally forgotten in the past 10 years... Not to mention removing this fixes my bug. Change-Id: I7394cccdc9fe486fda6cdd9b7eaf98fd291895a9 (cherry picked from commit 503b7191737eafa5621dc0aa552092793676c998) Reviewed-on: https://gerrit.libreoffice.org/7942 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/xmloff/source/style/cdouthdl.cxx b/xmloff/source/style/cdouthdl.cxx index e2bf0e2..d559eb8 100644 --- a/xmloff/source/style/cdouthdl.cxx +++ b/xmloff/source/style/cdouthdl.cxx @@ -135,7 +135,7 @@ bool XMLCrossedOutTypePropHdl::exportXML( OUString& rStrExpValue, const uno::Any sal_Int16 nValue = sal_Int16(); OUStringBuffer aOut; - if( (rValue >>= nValue) && awt::FontStrikeout::DOUBLE==nValue ) + if (rValue >>= nValue) { bRet = SvXMLUnitConverter::convertEnum( aOut, (sal_uInt16)nValue, pXML_CrossedoutType_Enum );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits