summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-07 21:47:19 -0500
committerCaolán McNamara <caolanm@redhat.com>2014-02-08 12:33:20 +0000
commit54583b6dec8ba17246f3422695b57795c64bc65d (patch)
treea111992d8b90a65c1140c24d80cb9d319e97f413
parent2b3605bc8b2390bdde0d5ea52996fb4db42b0ce7 (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 (cherry picked from commit 503b7191737eafa5621dc0aa552092793676c998) Reviewed-on: https://gerrit.libreoffice.org/7942 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 );