[Libreoffice-commits] core.git: sal/osl
Thomas Arnhold
thomas at arnhold.org
Thu May 15 07:56:46 PDT 2014
sal/osl/w32/module.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 71e5b1ba256bd472e99118c1730fa89cc2b64dbd
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Thu May 15 16:55:58 2014 +0200
Related: #i124896# Remove Allocator from sal, too
Change-Id: I3b1c7ccb523232433421def6622e2fc75348ec5f
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index 0fd486c..86a8c4b 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 )
More information about the Libreoffice-commits
mailing list