[Libreoffice-commits] core.git: test/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Thu Aug 7 17:38:25 PDT 2014
test/source/sheet/xstyleloader.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 932e37abca820479db439cd883859d0d5f4a3709
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Fri Aug 8 02:29:03 2014 +0200
fix ambiguity in argument
Change-Id: I00146441b1271d7a3c866ad58d1b3c72b845dc0c
diff --git a/test/source/sheet/xstyleloader.cxx b/test/source/sheet/xstyleloader.cxx
index 77a5a69..41528b8 100644
--- a/test/source/sheet/xstyleloader.cxx
+++ b/test/source/sheet/xstyleloader.cxx
@@ -57,7 +57,7 @@ void XStyleLoader::testLoadStylesFromURL()
OUString aCellStyleName("CellBackColor");
uno::Any aBackColor = xPropSet->getPropertyValue(aCellStyleName);
- uno::Any expectedBackColor(16724787);
+ uno::Any expectedBackColor(sal_Int32(16724787));
CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong CellBackColor" , expectedBackColor, aBackColor);
@@ -89,7 +89,7 @@ void XStyleLoader::testLoadStylesFromDocument()
OUString aCellStyleName("CellBackColor");
uno::Any aBackColor = xPropSet->getPropertyValue(aCellStyleName);
- uno::Any expectedBackColor(16724787);
+ uno::Any expectedBackColor(sal_Int32(16724787));
CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong CellBackColor" , expectedBackColor, aBackColor);
@@ -97,4 +97,4 @@ void XStyleLoader::testLoadStylesFromDocument()
}
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list