[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - xmloff/source
Kohei Yoshida
kohei.yoshida at collabora.com
Sat Feb 8 04:33:46 PST 2014
xmloff/source/style/cdouthdl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 54583b6dec8ba17246f3422695b57795c64bc65d
Author: Kohei Yoshida <kohei.yoshida at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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 );
More information about the Libreoffice-commits
mailing list