summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ww8export/ww8export2.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:13:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:13:41 +0100
commit0ae2d98d1f6d29c80bd1ee830db4c333e4ee1e1d (patch)
treed9b77eece17b7b144a4ea50592b639b9f7c87095 /sw/qa/extras/ww8export/ww8export2.cxx
parent506856ca50e676520bcc80a8b498355663d0388f (diff)
More loplugin:cstylecast: sw
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I0f49d21dfdf82742f11b27709f74294feb1e419e
Diffstat (limited to 'sw/qa/extras/ww8export/ww8export2.cxx')
-rw-r--r--sw/qa/extras/ww8export/ww8export2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/extras/ww8export/ww8export2.cxx b/sw/qa/extras/ww8export/ww8export2.cxx
index 0695c309951b..3d977881c677 100644
--- a/sw/qa/extras/ww8export/ww8export2.cxx
+++ b/sw/qa/extras/ww8export/ww8export2.cxx
@@ -270,8 +270,8 @@ DECLARE_WW8EXPORT_TEST(testTdf91687, "tdf91687.doc")
// Exported Watermarks were resized
uno::Reference<drawing::XShape> xWatermark = getShape(1);
- CPPUNIT_ASSERT_EQUAL((sal_Int32)5172, xWatermark->getSize().Height);
- CPPUNIT_ASSERT_EQUAL((sal_Int32)18105, xWatermark->getSize().Width);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(5172), xWatermark->getSize().Height);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(18105), xWatermark->getSize().Width);
}
DECLARE_WW8EXPORT_TEST(testTdf114308, "tdf114308.doc")
@@ -279,7 +279,7 @@ DECLARE_WW8EXPORT_TEST(testTdf114308, "tdf114308.doc")
// Watermark with no additional padding
uno::Reference<drawing::XShape> xWatermark = getShape(1);
- CPPUNIT_ASSERT_EQUAL((sal_Int32)8729, xWatermark->getSize().Height);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(8729), xWatermark->getSize().Height);
}
DECLARE_WW8EXPORT_TEST(testTdf111480, "tdf111480.doc")