summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/source/sheet/xstyleloader.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/sheet/xstyleloader.cxx b/test/source/sheet/xstyleloader.cxx
index 77a5a69a0db1..41528b809002 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: */