commit 9c2bd745cde4a6d635b0f0083d40f702ce1e66cc Author: Julien Nabet Date: Thu Feb 24 15:22:42 2011 +0100 Remove "using namespace ::rtl" diff --git a/sc/source/core/tool/appoptio.cxx b/sc/source/core/tool/appoptio.cxx index ec2369b..d30a77d 100644 --- a/sc/source/core/tool/appoptio.cxx +++ b/sc/source/core/tool/appoptio.cxx @@ -49,9 +49,10 @@ #include "miscuno.hxx" using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + // STATIC DATA ----------------------------------------------------------- #define SC_VERSION ((USHORT)304) diff --git a/sc/source/core/tool/docoptio.cxx b/sc/source/core/tool/docoptio.cxx index b9d34a5..5cd8b27 100644 --- a/sc/source/core/tool/docoptio.cxx +++ b/sc/source/core/tool/docoptio.cxx @@ -48,10 +48,10 @@ #include "global.hxx" using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; using ::com::sun::star::lang::Locale; using ::com::sun::star::i18n::LocaleDataItem; +using ::rtl::OUString; //------------------------------------------------------------------------ diff --git a/sc/source/core/tool/filtopt.cxx b/sc/source/core/tool/filtopt.cxx index 3e92221..c1a8787 100644 --- a/sc/source/core/tool/filtopt.cxx +++ b/sc/source/core/tool/filtopt.cxx @@ -42,9 +42,10 @@ #include "miscuno.hxx" using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + //------------------------------------------------------------------ #define CFGPATH_FILTER "Office.Calc/Filter/Import" @@ -112,7 +113,7 @@ void ScFilterOptions::Commit() DBG_ERROR("trying to commit changed ScFilterOptions?"); } -void ScFilterOptions::Notify( const Sequence& /* aPropertyNames */ ) +void ScFilterOptions::Notify( const Sequence& /* aPropertyNames */ ) { DBG_ERROR("properties have been changed"); } diff --git a/sc/source/core/tool/inputopt.cxx b/sc/source/core/tool/inputopt.cxx index 1fba9fb..6adba88 100644 --- a/sc/source/core/tool/inputopt.cxx +++ b/sc/source/core/tool/inputopt.cxx @@ -47,9 +47,10 @@ #include "miscuno.hxx" using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + //------------------------------------------------------------------ // Version, ab der das Item kompatibel ist @@ -255,7 +256,7 @@ void ScInputCfg::Commit() PutProperties(aNames, aValues); } -void ScInputCfg::Notify( const Sequence& /* aPropertyNames */ ) +void ScInputCfg::Notify( const Sequence& /* aPropertyNames */ ) { DBG_ERROR("properties have been changed"); } diff --git a/sc/source/core/tool/printopt.cxx b/sc/source/core/tool/printopt.cxx index 4f7ef93..e8f9262 100644 --- a/sc/source/core/tool/printopt.cxx +++ b/sc/source/core/tool/printopt.cxx @@ -38,9 +38,10 @@ #include "miscuno.hxx" using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + // ----------------------------------------------------------------------- TYPEINIT1(ScTpPrintItem, SfxPoolItem); @@ -204,6 +205,6 @@ void ScPrintCfg::SetOptions( const ScPrintOptions& rNew ) SetModified(); } -void ScPrintCfg::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {} +void ScPrintCfg::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/core/tool/unitconv.cxx b/sc/source/core/tool/unitconv.cxx index 49957eb..28063f1 100644 --- a/sc/source/core/tool/unitconv.cxx +++ b/sc/source/core/tool/unitconv.cxx @@ -39,9 +39,10 @@ #include "viewopti.hxx" //! move ScLinkConfigItem to separate header! using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + // -------------------------------------------------------------------- const sal_Unicode cDelim = 0x01; // Delimiter zwischen From und To diff --git a/sc/source/core/tool/viewopti.cxx b/sc/source/core/tool/viewopti.cxx index 70711ba..f09437e 100644 --- a/sc/source/core/tool/viewopti.cxx +++ b/sc/source/core/tool/viewopti.cxx @@ -46,9 +46,10 @@ #include "miscuno.hxx" using namespace utl; -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + //------------------------------------------------------------------ TYPEINIT1(ScTpViewItem, SfxPoolItem); diff --git a/sc/source/filter/xml/XMLCodeNameProvider.cxx b/sc/source/filter/xml/XMLCodeNameProvider.cxx index 9cfe67d..3f74d06 100644 --- a/sc/source/filter/xml/XMLCodeNameProvider.cxx +++ b/sc/source/filter/xml/XMLCodeNameProvider.cxx @@ -34,9 +34,10 @@ #include "XMLCodeNameProvider.hxx" #include "document.hxx" -using namespace rtl; using namespace com::sun::star; +using ::rtl::OUString; + sal_Bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, String& rCodeName ) { uno::Sequence aProps; @@ -131,7 +132,7 @@ uno::Sequence< OUString > SAL_CALL XMLCodeNameProvider::getElementNames( ) throw (uno::RuntimeException) { SCTAB nCount = mpDoc->GetTableCount() + 1; - uno::Sequence< rtl::OUString > aNames( nCount ); + uno::Sequence< OUString > aNames( nCount ); sal_Int32 nRealCount = 0; if( mpDoc->GetCodeName().Len() ) diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx index 0262fbd..09b121f 100644 --- a/sc/source/ui/dbgui/csvruler.cxx +++ b/sc/source/ui/dbgui/csvruler.cxx @@ -40,9 +40,10 @@ #include #include "miscuno.hxx" -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + // ============================================================================ diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index 2a9e071..4a39149 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -56,9 +56,10 @@ const SCSIZE ASCIIDLG_MAXROWS = MAXROWCOUNT; #endif -using namespace rtl; using namespace com::sun::star::uno; +using ::rtl::OUString; + // Defines - CSV Import Preserve Options #define FIXED_WIDTH "FixedWidth" #define FROM_ROW "FromRow"