[Libreoffice-commits] .: linguistic/source linguistic/workben
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Feb 26 06:55:20 PST 2011
linguistic/source/convdic.cxx | 3 ++-
linguistic/source/convdiclist.cxx | 3 ++-
linguistic/source/convdicxml.cxx | 3 ++-
linguistic/source/dicimp.cxx | 3 ++-
linguistic/source/dlistimp.cxx | 3 ++-
linguistic/source/hhconvdic.cxx | 3 ++-
linguistic/source/hyphdsp.cxx | 4 +++-
linguistic/source/hyphdta.cxx | 3 ++-
linguistic/source/iprcache.cxx | 2 +-
linguistic/source/lngopt.cxx | 3 ++-
linguistic/source/lngprophelp.cxx | 3 ++-
linguistic/source/misc.cxx | 3 ++-
linguistic/source/spelldsp.cxx | 3 ++-
linguistic/source/spelldta.cxx | 3 ++-
linguistic/source/thesdsp.cxx | 3 ++-
linguistic/source/thesdta.cxx | 2 +-
linguistic/workben/sprophelp.cxx | 2 +-
linguistic/workben/sspellimp.cxx | 2 +-
18 files changed, 33 insertions(+), 18 deletions(-)
New commits:
commit 459c75b0cd610fef54b7a481601493517df0e68f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Feb 26 15:54:59 2011 +0100
Remove "using namespace ::rtl"
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index 83349db..303b0af 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -73,13 +73,14 @@
using namespace std;
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
#define SN_CONV_DICTIONARY "com.sun.star.linguistic2.ConversionDictionary"
#define SN_HCD_CONV_DICTIONARY "com.sun.star.linguistic2.HangulHanjaConversionDictionary"
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index 71ca82b..dd127f1 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -56,7 +56,6 @@
#include "defs.hxx"
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
@@ -64,6 +63,8 @@ using namespace com::sun::star::container;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
#define SN_CONV_DICTIONARY_LIST "com.sun.star.linguistic2.ConversionDictionaryList"
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index d2196d4..5e0a3e3 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -63,13 +63,14 @@
using namespace std;
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
#define XML_NAMESPACE_TCD_STRING "http://openoffice.org/2003/text-conversion-dictionary"
#define CONV_TYPE_HANGUL_HANJA "Hangul / Hanja"
#define CONV_TYPE_SCHINESE_TCHINESE "Chinese simplified / Chinese traditional"
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 4974efc..db0b0a2 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -55,13 +55,14 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
///////////////////////////////////////////////////////////////////////////
#define BUFSIZE 4096
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index 16b6881..366e8aa 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -61,13 +61,14 @@
#include "lngopt.hxx"
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
///////////////////////////////////////////////////////////////////////////
static BOOL IsVers2OrNewer( const String& rFileURL, USHORT& nLng, BOOL& bNeg );
diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx
index 45d6192..5a2d887 100644
--- a/linguistic/source/hhconvdic.cxx
+++ b/linguistic/source/hhconvdic.cxx
@@ -52,13 +52,14 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
#define SN_HH_CONV_DICTIONARY "com.sun.star.linguistic2.HangulHanjaConversionDictionary"
///////////////////////////////////////////////////////////////////////////
diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index 2239a14..3dae95d 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -50,7 +50,6 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -58,6 +57,9 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
+
///////////////////////////////////////////////////////////////////////////
HyphenatorDispatcher::HyphenatorDispatcher( LngSvcMgr &rLngSvcMgr ) :
diff --git a/linguistic/source/hyphdta.cxx b/linguistic/source/hyphdta.cxx
index 241b448..7b97865 100644
--- a/linguistic/source/hyphdta.cxx
+++ b/linguistic/source/hyphdta.cxx
@@ -41,12 +41,13 @@
#include <unotools/localedatawrapper.hxx>
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
+using ::rtl::OUString;
+
namespace linguistic
{
///////////////////////////////////////////////////////////////////////////
diff --git a/linguistic/source/iprcache.cxx b/linguistic/source/iprcache.cxx
index dcfa48f..f7d9387 100644
--- a/linguistic/source/iprcache.cxx
+++ b/linguistic/source/iprcache.cxx
@@ -42,13 +42,13 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
+using ::rtl::OUString;
namespace linguistic
{
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index a683e7f..f623052 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -50,7 +50,6 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::container;
using namespace com::sun::star::beans;
@@ -61,6 +60,8 @@ using namespace linguistic;
using namespace com::sun::star::registry;
+using ::rtl::OUString;
+
///////////////////////////////////////////////////////////////////////////
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index a95ebea..daae4f9 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -44,7 +44,6 @@
#include <lngprophelp.hxx>
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -52,6 +51,8 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
namespace linguistic
{
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx
index a107d7f..0888853 100644
--- a/linguistic/source/misc.cxx
+++ b/linguistic/source/misc.cxx
@@ -63,7 +63,6 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -71,6 +70,8 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::i18n;
using namespace com::sun::star::linguistic2;
+using ::rtl::OUString;
+
namespace linguistic
{
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 700d905..cd7e622 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -51,7 +51,6 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -59,6 +58,8 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
///////////////////////////////////////////////////////////////////////////
// ProposalList: list of proposals for misspelled words
// The order of strings in the array should be left unchanged because the
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index 32a763f..adfc4f1 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -44,13 +44,14 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
+using ::rtl::OUString;
+
namespace linguistic
{
diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx
index f91c5dc..7e4f094 100644
--- a/linguistic/source/thesdsp.cxx
+++ b/linguistic/source/thesdsp.cxx
@@ -43,7 +43,6 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -51,6 +50,8 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
+
///////////////////////////////////////////////////////////////////////////
static BOOL SvcListHasLanguage(
diff --git a/linguistic/source/thesdta.cxx b/linguistic/source/thesdta.cxx
index 31f66f4..1bd4759 100644
--- a/linguistic/source/thesdta.cxx
+++ b/linguistic/source/thesdta.cxx
@@ -36,7 +36,6 @@
#include "thesdta.hxx"
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -44,6 +43,7 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
namespace linguistic
{
diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx
index d887e57..b9fe0d4 100644
--- a/linguistic/workben/sprophelp.cxx
+++ b/linguistic/workben/sprophelp.cxx
@@ -43,7 +43,6 @@
#include <osl/mutex.hxx>
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -51,6 +50,7 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
#define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x ))
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx
index e8d1ef9..381c5ef 100644
--- a/linguistic/workben/sspellimp.cxx
+++ b/linguistic/workben/sspellimp.cxx
@@ -45,7 +45,6 @@
using namespace utl;
using namespace osl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
@@ -53,6 +52,7 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::linguistic2;
using namespace linguistic;
+using ::rtl::OUString;
///////////////////////////////////////////////////////////////////////////
More information about the Libreoffice-commits
mailing list