summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-15 16:55:58 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-15 16:55:58 +0200
commit71e5b1ba256bd472e99118c1730fa89cc2b64dbd (patch)
tree4fbc0a0139a37a4aa9926ecf8ea4c845409d1178 /sal
parente9c5f63f80ea54aea9963a6c268ed03881d7b734 (diff)
Related: #i124896# Remove Allocator from sal, too
Change-Id: I3b1c7ccb523232433421def6622e2fc75348ec5f
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index 0fd486cfdda9..86a8c4be0816 100644
--- a/sal/osl/w32/module.cxx
+++ b/sal/osl/w32/module.cxx
@@ -69,7 +69,7 @@ oslModule SAL_CALL osl_loadModule(rtl_uString *strModuleName, sal_Int32 /*nRtldM
//on Windows XP and ERROR_INSUFFICIENT_BUFFER on Windows 7 (64bit)
if (h == NULL && Module->length > 260)
{
- std::vector<WCHAR, rtl::Allocator<WCHAR> > vec(Module->length + 1);
+ std::vector<WCHAR> vec(Module->length + 1);
DWORD len = GetShortPathNameW(reinterpret_cast<LPCWSTR>(Module->buffer),
reinterpret_cast<LPWSTR>(&vec[0]), Module->length + 1);
if (len )