From dd3e879cfdacbc8b9fff7556ae2d8698a22e9235 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 25 Feb 2013 19:09:32 +0100 Subject: remove some trivial duplicates Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad --- 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(-) diff --git a/chart2/source/inc/FillProperties.hxx b/chart2/source/inc/FillProperties.hxx index 99092c1b9ad8..2cda35fa3622 100644 --- a/chart2/source/inc/FillProperties.hxx +++ b/chart2/source/inc/FillProperties.hxx @@ -36,7 +36,6 @@ public: // FastProperty Ids for properties enum { - // com.sun.star.drawing.FillProperties // com.sun.star.drawing.FillProperties PROP_FILL_STYLE = FAST_PROPERTY_ID_START_FILL_PROP , PROP_FILL_COLOR diff --git a/connectivity/source/commontools/dbmetadata.cxx b/connectivity/source/commontools/dbmetadata.cxx index ad9a1a3c01a4..103db51025ed 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 253a9399cd89..54bf29e2ee66 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 d5a867747ca5..731026a77b94 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 79e48973c277..52547a392473 100644 --- a/embeddedobj/source/general/docholder.cxx +++ b/embeddedobj/source/general/docholder.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx index bda3f87574b3..587362cf2367 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 9e002783e64a..337bac344fcc 100644 --- a/oox/inc/oox/ole/axcontrol.hxx +++ b/oox/inc/oox/ole/axcontrol.hxx @@ -237,7 +237,6 @@ public: PropertySet& rPropMap, bool& bHorizontal ) const; - /** Converts the vertical alignment to UNO properties. */ /** Converts the vertical alignment to UNO properties. */ void convertVerticalAlign( PropertyMap& rPropMap, diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx index 7fbc12ef120d..5fccaed09ca2 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 7207e432e897..421728b71cca 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -38,7 +38,6 @@ #include -using namespace ::com::sun::star; using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::i18n; diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index 19e7c1bf08ab..1f8fbacebd94 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -41,7 +41,6 @@ #include #include #include -#include #include #include diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx index e4f90ca2636f..55639a7a4364 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 5fca937a54f1..fb6fb97973f3 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 5b53ae1e681a..2d35f761e0ad 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 af4d940ce922..a6289f9f3f28 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 a50a9f2c3623..14e3bc4960cf 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 1a47d1f91f9d..b2a84afd19d8 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 0f10c8fda7f0..115e38437187 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 988808e33ee4..070cbc8e2578 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 e5856672780e..48fd08e60507 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 818be045f3e3..8870248f9180 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 24369cc47f15..0320910844c3 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 be7c39587d8d..0497179069ed 100644 --- a/xmlsecurity/workben/signaturetest.cxx +++ b/xmlsecurity/workben/signaturetest.cxx @@ -50,7 +50,6 @@ #include -using namespace ::com::sun::star; using namespace ::com::sun::star; void Main(); -- cgit v1.2.3