[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sw/qa

Stephan Bergmann sbergman at redhat.com
Tue Mar 31 04:06:21 PDT 2015


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

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

    RotateAngle of UNO type long
    
    Change-Id: Id3aec16d17b55366c2a35810b21b0a1c73439741
    (cherry picked from commit 44b2fb6d0ba8c3fc8aa6edb4e539c484e21b7fc5)

diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index c4bc13a..a6ba627 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -2423,7 +2423,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