summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlcss1.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-22 23:34:40 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-07-23 07:58:38 +0000
commite934df1c0702c37a6fcee956f75250e8b736c3c5 (patch)
tree4ca9f9e79d53857370d6e8e853f84a43474dfc65 /sw/source/filter/html/htmlcss1.cxx
parent0d5d8c22f7be41d408d8ee4012ef1a6f4368423e (diff)
fdo#81276: sw: HTML import: fix inverted test in CSS import
(regression from 5089bdb234a93bcb62b597c18b8ab66048246b13) Change-Id: I5b45c4c47ba66385b2b528b5a3039bda37b060d6 (cherry picked from commit 7dff37c65e08985b80ac79e13f5571819a8e739d) Reviewed-on: https://gerrit.libreoffice.org/10477 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r--sw/source/filter/html/htmlcss1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index 50519b1a6519..e4628b66a85b 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -1690,7 +1690,7 @@ void SwHTMLParser::NewStyle()
sType = rOption.GetString();
}
- bIgnoreRawData = !sType.getLength() &&
+ bIgnoreRawData = sType.getLength() &&
!sType.getToken(0,';').equalsAscii(sCSS_mimetype);
}