Kaydet (Commit) 71e5b1ba authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Related: #i124896# Remove Allocator from sal, too

Change-Id: I3b1c7ccb523232433421def6622e2fc75348ec5f
üst e9c5f63f
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment