[Libreoffice-commits] .: oox/source

Kohei Yoshida kohei at kemper.freedesktop.org
Thu Sep 1 23:06:48 PDT 2011


 oox/source/xls/drawingfragment.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ca5a4839a6a757f79e64455785979658b40074b7
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Fri Sep 2 02:06:20 2011 -0400

    css::awt namespace is included in this file.

diff --git a/oox/source/xls/drawingfragment.cxx b/oox/source/xls/drawingfragment.cxx
index 7a95fe4..64f0164 100644
--- a/oox/source/xls/drawingfragment.cxx
+++ b/oox/source/xls/drawingfragment.cxx
@@ -285,8 +285,8 @@ void DrawingFragment::onEndElement()
                         getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Height, 0, SAL_MAX_INT32 ) );
 
                     // Make sure to set the position and size *before* calling addShape().
-                    mxShape->setPosition(::com::sun::star::awt::Point(aShapeRectEmu.X, aShapeRectEmu.Y));
-                    mxShape->setSize(::com::sun::star::awt::Size(aShapeRectEmu.Width, aShapeRectEmu.Height));
+                    mxShape->setPosition(Point(aShapeRectEmu.X, aShapeRectEmu.Y));
+                    mxShape->setSize(Size(aShapeRectEmu.Width, aShapeRectEmu.Height));
 
                     basegfx::B2DHomMatrix aTransformation;
                     mxShape->addShape( getOoxFilter(), &getTheme(), mxDrawPage, aTransformation, &aShapeRectEmu32 );


More information about the Libreoffice-commits mailing list