summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 19:09:32 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 19:34:36 +0100
commitdd3e879cfdacbc8b9fff7556ae2d8698a22e9235 (patch)
tree822b359cb4934d96a8cc78783bbf784b95baa605
parentc66e2c4836fa3780c5cabbb511968557121d5cc1 (diff)
remove some trivial duplicates
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
-rw-r--r--chart2/source/inc/FillProperties.hxx1
-rw-r--r--connectivity/source/commontools/dbmetadata.cxx1
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx1
-rw-r--r--dbaccess/source/core/api/column.cxx1
-rw-r--r--embeddedobj/source/general/docholder.cxx1
-rw-r--r--i18npool/source/nativenumber/nativenumbersupplier.cxx1
-rw-r--r--oox/inc/oox/ole/axcontrol.hxx1
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.cxx1
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx1
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx1
-rw-r--r--sot/source/sdstor/stgole.cxx2
-rw-r--r--stoc/test/javavm/jvm_interaction/interactionhandler.cxx1
-rw-r--r--stoc/test/javavm/testjavavm.cxx1
-rw-r--r--svtools/source/uno/statusbarcontroller.cxx1
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx1
-rw-r--r--svx/inc/svx/svdmodel.hxx1
-rw-r--r--svx/source/engine3d/camera3d.cxx1
-rw-r--r--uui/source/secmacrowarnings.cxx1
-rw-r--r--vcl/generic/print/text_gfx.cxx1
-rw-r--r--xmloff/source/forms/elementexport.cxx1
-rw-r--r--xmlsecurity/source/dialogs/warnings.cxx1
-rw-r--r--xmlsecurity/workben/signaturetest.cxx1
22 files changed, 0 insertions, 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
@@ -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 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 <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 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
@@ -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 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
@@ -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 19e7c1bf08ab..1f8fbacebd94 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 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
@@ -51,7 +51,6 @@
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
using namespace ::com::sun::star;
-using namespace ::com::sun::star;
void Main();