From 79176694ddc7bce40ce2b82d3f332be8642a5167 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 14 Feb 2023 23:34:19 +0100 Subject: 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 --- sd/source/console/PresenterBitmapContainer.cxx | 1 - sd/source/console/PresenterTheme.cxx | 7 +++---- sd/source/ui/dlg/RemoteDialog.cxx | 1 - sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx | 1 - sd/source/ui/unoidl/DrawController.cxx | 1 - sd/source/ui/view/frmview.cxx | 1 - 6 files changed, 3 insertions(+), 9 deletions(-) (limited to 'sd') 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 ToVector() + std::vector ToVector() { return { @@ -199,7 +198,7 @@ public: OUString GetStyleName (const OUString& rsResourceName) const; private: - typedef map StyleAssociations; + typedef std::map StyleAssociations; StyleAssociations maStyleAssociations; void ProcessStyleAssociation( @@ -227,7 +226,7 @@ public: StyleAssociationContainer maStyleAssociations; Reference mxThemeRoot; std::shared_ptr mpIconContainer; - typedef map FontContainer; + typedef std::map 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 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 #include -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 -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 { -- cgit