summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-07 21:47:19 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-07 21:55:51 -0500
commit503b7191737eafa5621dc0aa552092793676c998 (patch)
tree07b6ebebad3abc4a09b8ad66d1873b73388e3746
parent27251f37e564ed7b83891875d7d269ff21f18fd9 (diff)
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
-rw-r--r--xmloff/source/style/cdouthdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/cdouthdl.cxx b/xmloff/source/style/cdouthdl.cxx
index e2bf0e29e3ab..d559eb866fcd 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 );