[Libreoffice-commits] core.git: chart2/source connectivity/source dbaccess/source embeddedobj/source i18npool/source oox/inc sdext/source sd/source slideshow/source sot/source stoc/test svtools/source svx/inc svx/source uui/source vcl/generic xmloff/source xmlsecurity/source xmlsecurity/workben

Thomas Arnhold thomas at arnhold.org
Mon Feb 25 10:35:03 PST 2013


 chart2/source/inc/FillProperties.hxx                    |    1 -
 connectivity/source/commontools/dbmetadata.cxx          |    1 -
 connectivity/source/sdbcx/VIndex.cxx                    |    1 -
 dbaccess/source/core/api/column.cxx                     |    1 -
 embeddedobj/source/general/docholder.cxx                |    1 -
 i18npool/source/nativenumber/nativenumbersupplier.cxx   |    1 -
 oox/inc/oox/ole/axcontrol.hxx                           |    1 -
 sd/source/ui/slideshow/slideshowviewimpl.cxx            |    1 -
 sdext/source/pdfimport/tree/drawtreevisiting.cxx        |    1 -
 slideshow/source/engine/shapes/viewmediashape.cxx       |    1 -
 sot/source/sdstor/stgole.cxx                            |    2 --
 stoc/test/javavm/jvm_interaction/interactionhandler.cxx |    1 -
 stoc/test/javavm/testjavavm.cxx                         |    1 -
 svtools/source/uno/statusbarcontroller.cxx              |    1 -
 svtools/source/uno/toolboxcontroller.cxx                |    1 -
 svx/inc/svx/svdmodel.hxx                                |    1 -
 svx/source/engine3d/camera3d.cxx                        |    1 -
 uui/source/secmacrowarnings.cxx                         |    1 -
 vcl/generic/print/text_gfx.cxx                          |    1 -
 xmloff/source/forms/elementexport.cxx                   |    1 -
 xmlsecurity/source/dialogs/warnings.cxx                 |    1 -
 xmlsecurity/workben/signaturetest.cxx                   |    1 -
 22 files changed, 23 deletions(-)

New commits:
commit dd3e879cfdacbc8b9fff7556ae2d8698a22e9235
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Mon Feb 25 19:09:32 2013 +0100

    remove some trivial duplicates
    
    Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad

diff --git a/chart2/source/inc/FillProperties.hxx b/chart2/source/inc/FillProperties.hxx
index 99092c1..2cda35f 100644
--- a/chart2/source/inc/FillProperties.hxx
+++ b/chart2/source/inc/FillProperties.hxx
@@ -37,7 +37,6 @@ public:
     enum
     {
         // com.sun.star.drawing.FillProperties
-        // com.sun.star.drawing.FillProperties
         PROP_FILL_STYLE = FAST_PROPERTY_ID_START_FILL_PROP
         , PROP_FILL_COLOR
         , PROP_FILL_TRANSPARENCE
diff --git a/connectivity/source/commontools/dbmetadata.cxx b/connectivity/source/commontools/dbmetadata.cxx
index ad9a1a3..103db51 100644
--- a/connectivity/source/commontools/dbmetadata.cxx
+++ b/connectivity/source/commontools/dbmetadata.cxx
@@ -52,7 +52,6 @@ namespace dbtools
     /** === begin UNO using === **/
     using ::com::sun::star::uno::Reference;
     using ::com::sun::star::sdbc::XConnection;
-    using ::com::sun::star::sdbc::XConnection;
     using ::com::sun::star::sdbc::XDatabaseMetaData;
     using ::com::sun::star::sdbc::XDatabaseMetaData2;
     using ::com::sun::star::lang::IllegalArgumentException;
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index 253a939..54bf29e 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -26,7 +26,6 @@
 #include "TConnection.hxx"
 // -------------------------------------------------------------------------
 using namespace ::connectivity;
-using namespace ::connectivity;
 using namespace ::dbtools;
 using namespace ::connectivity::sdbcx;
 using namespace ::cppu;
diff --git a/dbaccess/source/core/api/column.cxx b/dbaccess/source/core/api/column.cxx
index d5a8677..731026a 100644
--- a/dbaccess/source/core/api/column.cxx
+++ b/dbaccess/source/core/api/column.cxx
@@ -48,7 +48,6 @@
 
 using namespace dbaccess;
 using namespace connectivity;
-using namespace connectivity;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::sdbcx;
 using namespace ::com::sun::star::beans;
diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx
index 79e4897..52547a3 100644
--- a/embeddedobj/source/general/docholder.cxx
+++ b/embeddedobj/source/general/docholder.cxx
@@ -28,7 +28,6 @@
 #include <com/sun/star/util/XCloseable.hpp>
 #include <com/sun/star/container/XNameAccess.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/beans/NamedValue.hpp>
 #include <com/sun/star/frame/XModel.hpp>
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx
index bda3f87..587362c 100644
--- a/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -27,7 +27,6 @@
 
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::lang;
 using namespace ::rtl;
 
 
diff --git a/oox/inc/oox/ole/axcontrol.hxx b/oox/inc/oox/ole/axcontrol.hxx
index 9e00278..337bac3 100644
--- a/oox/inc/oox/ole/axcontrol.hxx
+++ b/oox/inc/oox/ole/axcontrol.hxx
@@ -238,7 +238,6 @@ public:
                             bool& bHorizontal ) const;
 
     /** Converts the vertical alignment to UNO properties. */
-    /** Converts the vertical alignment to UNO properties. */
     void                convertVerticalAlign(
                             PropertyMap& rPropMap,
                             sal_Int32 nVerticalAlign ) const;
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx
index 7fbc12e..5fccaed 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx
@@ -46,7 +46,6 @@ using ::comphelper::ImplementationReference;
 
 using ::rtl::OUString;
 using namespace ::com::sun::star;
-using namespace ::com::sun::star;
 
 namespace sd
 {
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 7207e43..421728b 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -39,7 +39,6 @@
 #include <string.h>
 
 using namespace ::com::sun::star;
-using namespace ::com::sun::star;
 using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::i18n;
 using namespace ::com::sun::star::uno;
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index 19e7c1b..1f8fbac 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -41,7 +41,6 @@
 #include <canvas/canvastools.hxx>
 #include <cppcanvas/vclfactory.hxx>
 #include <cppcanvas/basegfxfactory.hxx>
-#include <cppcanvas/basegfxfactory.hxx>
 #include <avmedia/mediawindow.hxx>
 
 #include <com/sun/star/media/XManager.hpp>
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index e4f90ca..55639a7 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -17,8 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-
-#include "rtl/string.h"
 #include "rtl/string.h"
 #include "stgole.hxx"
 #include "sot/storinfo.hxx"     // Read/WriteClipboardFormat()
diff --git a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
index 5fca937..fb6fb97 100644
--- a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
+++ b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx
@@ -53,7 +53,6 @@ using namespace std;
 using namespace cppu;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
-using namespace com::sun::star::lang;
 using namespace com::sun::star::registry;
 using namespace com::sun::star::java;
 using namespace com::sun::star::task;
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx
index 5b53ae1..2d35f76 100644
--- a/stoc/test/javavm/testjavavm.cxx
+++ b/stoc/test/javavm/testjavavm.cxx
@@ -39,7 +39,6 @@ using namespace std;
 using namespace cppu;
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
-using namespace com::sun::star::lang;
 using namespace com::sun::star::registry;
 using namespace com::sun::star::java;
 
diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx
index af4d940..a6289f9 100644
--- a/svtools/source/uno/statusbarcontroller.cxx
+++ b/svtools/source/uno/statusbarcontroller.cxx
@@ -40,7 +40,6 @@ using namespace ::com::sun::star::util;
 using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::frame;
 
 namespace svt
 {
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index a50a9f2..14e3bc4 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star::util;
 using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::lang;
 using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::frame;
 
 namespace svt
 {
diff --git a/svx/inc/svx/svdmodel.hxx b/svx/inc/svx/svdmodel.hxx
index 1a47d1f..b2a84af 100644
--- a/svx/inc/svx/svdmodel.hxx
+++ b/svx/inc/svx/svdmodel.hxx
@@ -377,7 +377,6 @@ public:
     //   MAP_100TH_MM, Fraction(1,10)    : 1 log Einh = 1/1000mm
     //   MAP_MM,       Fraction(1000,1)  : 1 log Einh = 1000mm     = 1m
     //   MAP_CM,       Fraction(100,1)   : 1 log Einh = 100cm      = 1m
-    //   MAP_CM,       Fraction(100,1)   : 1 log Einh = 100cm      = 1m
     //   MAP_CM,       Fraction(100000,1): 1 log Einh = 100000cm   = 1km
     // (PS: Lichtjahre sind somit also nicht darstellbar).
     // Die Skalierungseinheit wird benoetigt, damit die Engine das Clipboard
diff --git a/svx/source/engine3d/camera3d.cxx b/svx/source/engine3d/camera3d.cxx
index 0f10c8f..115e384 100644
--- a/svx/source/engine3d/camera3d.cxx
+++ b/svx/source/engine3d/camera3d.cxx
@@ -118,7 +118,6 @@ void Camera3D::SetBankAngle(double fAngle)
 
     // Calculate from aDiff to uppwards pointing View-Up-Vector
     aPrj = aPrj.getPerpendicular(aDiff);
-    aPrj = aPrj.getPerpendicular(aDiff);
     aDiff.normalize();
 
     // Rotate on Z axis, to rotate the BankAngle and back
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 988808e..070cbc8 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -39,7 +39,6 @@ using namespace ::com::sun::star::security;
 #endif
 
 using namespace ::com::sun::star;
-using namespace ::com::sun::star;
 
 
 // HACK!!! copied from xmlsecurity/source/dialog/resourcemanager.cxx
diff --git a/vcl/generic/print/text_gfx.cxx b/vcl/generic/print/text_gfx.cxx
index e585667..48fd08e 100644
--- a/vcl/generic/print/text_gfx.cxx
+++ b/vcl/generic/print/text_gfx.cxx
@@ -529,7 +529,6 @@ PrinterGfx::LicenseWarning(const Point& rPoint, const sal_Unicode* pStr,
     // printer. This is not so unlikely as it may seem; no print embedding
     // licensed fonts are often used (or so they say) in companies:
     // they are installed on displays and printers, but get not embedded in
-    // they are installed on displays and printers, but get not embedded in
     // print files or documents because they are not licensed for use outside
     // the company.
     rtl::OString aMessage( "The font " );
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 818be04..8870248 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -82,7 +82,6 @@ namespace xmloff
     using namespace ::com::sun::star::awt;
     using namespace ::com::sun::star::form;
     using namespace ::com::sun::star::lang;
-    using namespace ::com::sun::star::lang;
     using namespace ::com::sun::star::beans;
     using namespace ::com::sun::star::container;
     using namespace ::com::sun::star::script;
diff --git a/xmlsecurity/source/dialogs/warnings.cxx b/xmlsecurity/source/dialogs/warnings.cxx
index 24369cc..0320910 100644
--- a/xmlsecurity/source/dialogs/warnings.cxx
+++ b/xmlsecurity/source/dialogs/warnings.cxx
@@ -38,7 +38,6 @@ using namespace ::com::sun::star::security;
 #endif
 
 using namespace ::com::sun::star;
-using namespace ::com::sun::star;
 
 
 MacroWarning::MacroWarning( Window* _pParent, uno::Reference< dcss::xml::crypto::XSecurityEnvironment >& _rxSecurityEnvironment, cssu::Reference< dcss::security::XCertificate >& _rxCert )
diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx
index be7c395..0497179 100644
--- a/xmlsecurity/workben/signaturetest.cxx
+++ b/xmlsecurity/workben/signaturetest.cxx
@@ -51,7 +51,6 @@
 #include <com/sun/star/security/DocumentDigitalSignatures.hpp>
 
 using namespace ::com::sun::star;
-using namespace ::com::sun::star;
 
 void Main();
 


More information about the Libreoffice-commits mailing list