summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/qa/extras/htmlexport/htmlexport.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx
index 44cf0b993d5d..30e9263e0875 100644
--- a/sw/qa/extras/htmlexport/htmlexport.cxx
+++ b/sw/qa/extras/htmlexport/htmlexport.cxx
@@ -203,13 +203,15 @@ DECLARE_HTMLEXPORT_TEST(testExportImageProperties, "HTMLImage.odt")
//
// It would make sense to switch to use CSS and use "real world" units instead
// i.e. (style="margin: 0cm 1.5cm; width: 1cm; height: 1cm")
-#if !defined(MACOSX) && !defined(_WIN64)
+
+#if 0 // disabled as it depends that the system DPI is set to 96
assertXPath(pDoc, "/html/body/p/a/font/img", "hspace", "38");
assertXPath(pDoc, "/html/body/p/a/font/img", "vspace", "19");
assertXPath(pDoc, "/html/body/p/a/font/img", "width", "222");
assertXPath(pDoc, "/html/body/p/a/font/img", "height", "222");
assertXPath(pDoc, "/html/body/p/a/font/img", "border", "3");
#endif
+
assertXPath(pDoc, "/html/body/p/a/font/img", "usemap", "#map1");
}
@@ -237,7 +239,7 @@ DECLARE_HTMLEXPORT_TEST(testExportUrlEncoding, "tdf76291.odt")
{
htmlDocPtr pDoc = parseHtml(maTempFile);
CPPUNIT_ASSERT(pDoc);
-
+
// Test URI encoded hyperlink with Chinese characters
assertXPath(pDoc, "/html/body/p/a", "href", "http://www.youtube.com/results?search_query=%E7%B2%B5%E8%AA%9Emv&sm=12");
}