[Libreoffice-commits] core.git: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 31 00:37:13 UTC 2018


 sd/source/filter/eppt/pptx-animations.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 9216d1d7a699618e91c739b7c0b66395539681d8
Author:     Mark Hung <marklh9 at gmail.com>
AuthorDate: Tue Aug 28 23:33:19 2018 +0800
Commit:     Mark Hung <marklh9 at gmail.com>
CommitDate: Fri Aug 31 02:36:47 2018 +0200

    sd/pptx export: remove unnecessary using caluses.
    
    Change-Id: I836766e308fb198f4f081837731ba1854c770f06
    Reviewed-on: https://gerrit.libreoffice.org/59733
    Tested-by: Jenkins
    Reviewed-by: Mark Hung <marklh9 at gmail.com>

diff --git a/sd/source/filter/eppt/pptx-animations.cxx b/sd/source/filter/eppt/pptx-animations.cxx
index c2fa67f36673..5e2854fadfb7 100644
--- a/sd/source/filter/eppt/pptx-animations.cxx
+++ b/sd/source/filter/eppt/pptx-animations.cxx
@@ -53,7 +53,7 @@
 #include <com/sun/star/presentation/ParagraphTarget.hpp>
 #include <com/sun/star/presentation/TextAnimationType.hpp>
 #include <com/sun/star/text/XSimpleText.hpp>
-
+#include <com/sun/star/drawing/XShape.hpp>
 #include <oox/export/utils.hxx>
 #include <oox/ppt/pptfilterhelpers.hxx>
 #include <basegfx/polygon/b2dpolypolygontools.hxx>
@@ -61,20 +61,20 @@
 #include "pptexanimations.hxx"
 #include "../ppt/pptanimations.hxx"
 
-using namespace ::com::sun::star;
 using namespace ::com::sun::star::animations;
-using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::drawing;
 using namespace ::com::sun::star::presentation;
-using namespace ::com::sun::star::text;
 using namespace ::com::sun::star::uno;
 using namespace ::ppt;
-using ::sax_fastparser::FSHelperPtr;
 using namespace oox::drawingml;
 using namespace oox::core;
 using namespace oox;
 
+using ::com::sun::star::beans::NamedValue;
+using ::com::sun::star::drawing::XShape;
+using ::com::sun::star::text::XSimpleText;
+using ::sax_fastparser::FSHelperPtr;
+
 namespace
 {
 void WriteAnimationProperty(const FSHelperPtr& pFS, const Any& rAny, sal_Int32 nToken = 0)
@@ -104,7 +104,7 @@ void WriteAnimationProperty(const FSHelperPtr& pFS, const Any& rAny, sal_Int32 n
     sal_uInt32 nRgb;
     double fDouble;
 
-    uno::TypeClass aClass = rAny.getValueType().getTypeClass();
+    TypeClass aClass = rAny.getValueType().getTypeClass();
     bool bWriteToken
         = nToken
           && (aClass == TypeClass_LONG || aClass == TypeClass_DOUBLE || aClass == TypeClass_STRING);


More information about the Libreoffice-commits mailing list