summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-05 20:21:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-05 21:23:57 +0200
commit0a78cb8eb1ebbfe55896d603e8aa94816242c2cb (patch)
treeae7f35db63b121b62e8afd7185e3f4f70fe444e2 /winaccessibility
parent7e558cd5b90f45c67ffc4d03f1c54564aff54bbb (diff)
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@yahoo.fr>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/AccEditableText.cxx5
-rw-r--r--winaccessibility/source/service/AccObject.cxx1
-rw-r--r--winaccessibility/source/service/AccObjectWinManager.cxx1
3 files changed, 2 insertions, 5 deletions
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;