summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2023-02-14 23:34:19 +0100
committerGabor Kelemen <kelemeng@ubuntu.com>2023-02-16 08:14:21 +0000
commit79176694ddc7bce40ce2b82d3f332be8642a5167 (patch)
tree7a2760db137310e6316f4917e3c845dbe6d8a9b7 /sd
parenta38f13e364f9416a1a6d1163eba431eb1c6d5908 (diff)
Drop 'using namespace ::std' in dirs s*
Change-Id: If3119a1f2274aac0bf70576458e3adb4505a2a45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147076 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/console/PresenterBitmapContainer.cxx1
-rw-r--r--sd/source/console/PresenterTheme.cxx7
-rw-r--r--sd/source/ui/dlg/RemoteDialog.cxx1
-rw-r--r--sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx1
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx1
-rw-r--r--sd/source/ui/view/frmview.cxx1
6 files changed, 3 insertions, 9 deletions
diff --git a/sd/source/console/PresenterBitmapContainer.cxx b/sd/source/console/PresenterBitmapContainer.cxx
index e435c8dbac69..b25dacdf1101 100644
--- a/sd/source/console/PresenterBitmapContainer.cxx
+++ b/sd/source/console/PresenterBitmapContainer.cxx
@@ -27,7 +27,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::std;
namespace sdext::presenter {
diff --git a/sd/source/console/PresenterTheme.cxx b/sd/source/console/PresenterTheme.cxx
index 59c340d8627a..4ea59a5fa8cd 100644
--- a/sd/source/console/PresenterTheme.cxx
+++ b/sd/source/console/PresenterTheme.cxx
@@ -30,7 +30,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::std;
namespace sdext::presenter {
@@ -51,7 +50,7 @@ public:
sal_Int32 mnRight;
sal_Int32 mnBottom;
- vector<sal_Int32> ToVector()
+ std::vector<sal_Int32> ToVector()
{
return
{
@@ -199,7 +198,7 @@ public:
OUString GetStyleName (const OUString& rsResourceName) const;
private:
- typedef map<OUString, OUString> StyleAssociations;
+ typedef std::map<OUString, OUString> StyleAssociations;
StyleAssociations maStyleAssociations;
void ProcessStyleAssociation(
@@ -227,7 +226,7 @@ public:
StyleAssociationContainer maStyleAssociations;
Reference<container::XHierarchicalNameAccess> mxThemeRoot;
std::shared_ptr<PresenterBitmapContainer> mpIconContainer;
- typedef map<OUString,SharedFontDescriptor> FontContainer;
+ typedef std::map<OUString,SharedFontDescriptor> FontContainer;
FontContainer maFontContainer;
SharedPaneStyle GetPaneStyle (const OUString& rsStyleName) const;
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index e28f57ecdecc..411e4ea621bc 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -11,7 +11,6 @@
#include <RemoteServer.hxx>
using namespace ::sd;
-using namespace ::std;
RemoteDialog::RemoteDialog(weld::Window* pWindow)
: GenericDialogController(pWindow, "modules/simpress/ui/remotedialog.ui", "RemoteDialog")
diff --git a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx
index 268658823423..8e3fcff143a4 100644
--- a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx
+++ b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx
@@ -33,7 +33,6 @@
#include <osl/doublecheckedlocking.h>
#include <osl/getglobalmutex.hxx>
-using namespace ::std;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index c64d72cb609c..3dd4c4c65478 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -49,7 +49,6 @@
#include <memory>
-using namespace ::std;
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 7df57671014e..2e2d742d9579 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -45,7 +45,6 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
-using namespace ::std;
namespace sd {