summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpreader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hwpreader.cxx')
-rw-r--r--hwpfilter/source/hwpreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 916017854364..d0ba9b0abf82 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -2467,7 +2467,7 @@ void HwpReader::makeFStyle(FBoxStyle * fstyle)
padd("fo:padding", sXML_CDATA, "0cm");
}
- if( !(fstyle->boxtype == 'G' && fstyle->cap_len > 0 ))
+ if( fstyle->boxtype != 'G' || fstyle->cap_len <= 0 )
{
padd("fo:margin-left", sXML_CDATA,
Double2Str(WTMM(fstyle->margin[0][0]) ) + "mm");