[Libreoffice-commits] core.git: winaccessibility/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 5 19:24:31 UTC 2021
winaccessibility/source/UAccCOM/AccEditableText.cxx | 5 ++---
winaccessibility/source/service/AccObject.cxx | 1 -
winaccessibility/source/service/AccObjectWinManager.cxx | 1 -
3 files changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 0a78cb8eb1ebbfe55896d603e8aa94816242c2cb
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Oct 5 20:21:37 2021 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Oct 5 21:23:57 2021 +0200
drop 'using namespace std' in winaccessibility
Change-Id: Ibb6c4b747a706e126f5469d8348cd78a70561075
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123116
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/winaccessibility/source/UAccCOM/AccEditableText.cxx b/winaccessibility/source/UAccCOM/AccEditableText.cxx
index c290098d33dc..6c2962074e37 100644
--- a/winaccessibility/source/UAccCOM/AccEditableText.cxx
+++ b/winaccessibility/source/UAccCOM/AccEditableText.cxx
@@ -48,7 +48,6 @@ using namespace com::sun::star::accessibility;
using namespace com::sun::star::uno;
using namespace com::sun::star::awt;
using namespace com::sun::star::beans;
-using namespace std;
/**
* Copy a range of text to the clipboard.
@@ -228,7 +227,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP CAccEditableText::setAttributes(long startOffs
OUString ouStr(o3tl::toU(*attributes));
- vector< OUString > vecAttr;
+ std::vector< OUString > vecAttr;
for (sal_Int32 nIndex {0}; nIndex >= 0; )
vecAttr.push_back(ouStr.getToken(0, ';', nIndex));
@@ -315,7 +314,7 @@ void CAccEditableText::get_AnyFromOLECHAR(std::u16string_view ouName, const OUSt
{
// Convert to the Sequence with TabStop element.
- vector< css::style::TabStop > vecTabStop;
+ std::vector< css::style::TabStop > vecTabStop;
css::style::TabStop tabStop;
OUString ouSubValue;
sal_Int32 pos = 0, posComma = 0;
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index 877d33cc0e37..f03b853c9e84 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -46,7 +46,6 @@
#pragma clang diagnostic pop
#endif
-using namespace std;
using namespace com::sun::star::uno;
using namespace com::sun::star::accessibility;
using namespace com::sun::star::accessibility::AccessibleRole;
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index cbf50ac343b4..f180127acf65 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -45,7 +45,6 @@
#include <unomsaaevent.hxx>
-using namespace std;
using namespace com::sun::star::accessibility;
using namespace com::sun::star::accessibility::AccessibleRole;
using namespace com::sun::star::accessibility::AccessibleStateType;
More information about the Libreoffice-commits
mailing list