diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-03 20:19:02 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-04 07:06:07 +0200 |
commit | e05620e5b9326d9555497efb9be867003c5c5a83 (patch) | |
tree | 2a26e1e609ea87ec2a2bcb8d80644a2a2c084b62 /sd/source | |
parent | b32c9fb3d10af285dc353a27b760a427e81da311 (diff) |
drop 'using namespace std' in sd + ucb
Change-Id: I7d15e9a8c37c29cd6d51c2000f72d1961cd6ff62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123029
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/html/pubdlg.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Receiver.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Server.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Transmitter.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/view/SlideSorterView.cxx | 1 |
7 files changed, 2 insertions, 9 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index c746ad7340a9..257021d96dc9 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -46,7 +46,6 @@ #include "buttonset.hxx" #include <strings.hxx> -using namespace std; using namespace com::sun::star::uno; using namespace com::sun::star::beans; diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index f437f498e46a..64ad5eb8d597 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -24,7 +24,6 @@ #include <unistd.h> #endif using namespace sd; -using namespace std; using namespace osl; BufferedStreamSocket::BufferedStreamSocket( const osl::StreamSocket &aSocket ): @@ -89,7 +88,7 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) while ( true ) { // Process buffer first in case data already present. - vector<char>::iterator aIt; + std::vector<char>::iterator aIt; if ( (aIt = find( aBuffer.begin(), aBuffer.end(), '\n' )) != aBuffer.end() ) { diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index 3d24f1714307..1e6514b98d63 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -27,7 +27,6 @@ #include <RemoteServer.hxx> using namespace sd; -using namespace std; using namespace com::sun::star; using namespace osl; @@ -93,7 +92,7 @@ void Communicator::execute() } sal_uInt64 aRet; - vector<OString> aCommand; + std::vector<OString> aCommand; while ( true ) { OString aLine; diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx index 1ba8f1c02678..3f2a1119fbc4 100644 --- a/sd/source/ui/remotecontrol/Receiver.cxx +++ b/sd/source/ui/remotecontrol/Receiver.cxx @@ -21,7 +21,6 @@ using namespace sd; using namespace ::osl; -using namespace std; using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index 9bd8eb9e1b09..1a53e682eca6 100644 --- a/sd/source/ui/remotecontrol/Server.cxx +++ b/sd/source/ui/remotecontrol/Server.cxx @@ -33,7 +33,6 @@ #include "Communicator.hxx" #include "BufferedStreamSocket.hxx" -using namespace std; using namespace sd; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/remotecontrol/Transmitter.cxx b/sd/source/ui/remotecontrol/Transmitter.cxx index 1ed8cc9767c3..cca6a3bee460 100644 --- a/sd/source/ui/remotecontrol/Transmitter.cxx +++ b/sd/source/ui/remotecontrol/Transmitter.cxx @@ -10,7 +10,6 @@ #include "IBluetoothSocket.hxx" #include <sal/log.hxx> -using namespace std; using namespace osl; // Sockets etc. using namespace sd; diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index 2e7d9a35137b..390541e3712d 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -55,7 +55,6 @@ #include <vector> #endif -using namespace std; using namespace ::sd::slidesorter::model; using namespace ::drawinglayer::primitive2d; |