summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/qa/zip/testzipimpl.cxx4
-rw-r--r--shell/qa/zip/testzipimpl.hxx4
2 files changed, 3 insertions, 5 deletions
diff --git a/shell/qa/zip/testzipimpl.cxx b/shell/qa/zip/testzipimpl.cxx
index e669b6a8b40d..e39408f98496 100644
--- a/shell/qa/zip/testzipimpl.cxx
+++ b/shell/qa/zip/testzipimpl.cxx
@@ -48,8 +48,8 @@ TestZipImpl::~TestZipImpl() {}
bool TestZipImpl::test_directory()
{
ZipFile::DirectoryPtr_t contents = zipFile.GetDirectory();
- vector<string>& stringVector = *contents;
- sort(stringVector.begin(), stringVector.end());
+ std::vector<std::string>& stringVector = *contents;
+ std::sort(stringVector.begin(), stringVector.end());
return expectedContents == stringVector;
}
diff --git a/shell/qa/zip/testzipimpl.hxx b/shell/qa/zip/testzipimpl.hxx
index ae1ff8cedd72..cdea8b209549 100644
--- a/shell/qa/zip/testzipimpl.hxx
+++ b/shell/qa/zip/testzipimpl.hxx
@@ -26,13 +26,11 @@
#include <algorithm>
#include <sal/types.h>
-using namespace std;
-
class TestZipImpl
{
private:
ZipFile zipFile;
- vector<string> expectedContents;
+ std::vector<std::string> expectedContents;
public:
explicit TestZipImpl(StreamInterface* stream);