[Libreoffice-commits] core.git: Branch 'aoo/trunk' - oox/source

Steve Yin steve_y at apache.org
Tue Jan 14 00:08:38 PST 2014


 oox/source/ppt/timenodelistcontext.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a7eedd28dd66cec1a668c3df6a8568dcad0f858f
Author: Steve Yin <steve_y at apache.org>
Date:   Tue Jan 14 08:03:55 2014 +0000

    Bug 119844 - [From Symphony]The Spin effect's amount property losts when saved pptx to odp

diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx
index 7c15d53..0112889 100644
--- a/oox/source/ppt/timenodelistcontext.cxx
+++ b/oox/source/ppt/timenodelistcontext.cxx
@@ -804,7 +804,7 @@ namespace oox { namespace ppt {
                 if(attribs.hasAttribute( XML_by ) )
                 {
                     sal_Int32 nBy = attribs.getInteger( XML_by, 0 );
-                    pNode->setBy( makeAny( nBy ) );
+                    pNode->setBy( makeAny( (double)nBy ) );
                 }
                 if(attribs.hasAttribute( XML_from ) )
                 {


More information about the Libreoffice-commits mailing list