[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann sbergman at redhat.com
Wed Jan 21 05:51:42 PST 2015


 sw/qa/extras/ooxmlimport/ooxmlimport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 44b2fb6d0ba8c3fc8aa6edb4e539c484e21b7fc5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 21 14:51:11 2015 +0100

    RotateAngle of UNO type long
    
    Change-Id: Id3aec16d17b55366c2a35810b21b0a1c73439741

diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index c1b0d95..5202899 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -2588,7 +2588,7 @@ DECLARE_OOXMLIMPORT_TEST(testFdo87488, "fdo87488.docx")
     {
         uno::Reference<beans::XPropertySet> props(group->getByIndex(0), uno::UNO_QUERY);
         CPPUNIT_ASSERT_EQUAL(props->getPropertyValue("RotateAngle"),
-                             uno::makeAny(270 * 100));
+                             uno::makeAny<sal_Int32>(270 * 100));
         comphelper::SequenceAsHashMap geom(props->getPropertyValue("CustomShapeGeometry"));
         CPPUNIT_ASSERT_EQUAL(sal_Int32(90), geom["TextPreRotateAngle"].get<sal_Int32>());
     }


More information about the Libreoffice-commits mailing list