openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1595333 - /openoffice/trunk/main/sal/osl/w32/module.cxx
Date Fri, 16 May 2014 20:11:37 GMT
Author: hdu
Date: Fri May 16 20:11:36 2014
New Revision: 1595333

URL: http://svn.apache.org/r1595333
Log:
#i124896# use default allocator for w32 ShortPathName buffer

Modified:
    openoffice/trunk/main/sal/osl/w32/module.cxx

Modified: openoffice/trunk/main/sal/osl/w32/module.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/osl/w32/module.cxx?rev=1595333&r1=1595332&r2=1595333&view=diff
==============================================================================
--- openoffice/trunk/main/sal/osl/w32/module.cxx (original)
+++ openoffice/trunk/main/sal/osl/w32/module.cxx Fri May 16 20:11:36 2014
@@ -74,7 +74,7 @@ oslModule SAL_CALL osl_loadModule(rtl_uS
     //on Windows XP and ERROR_INSUFFICIENT_BUFFER on Windows 7 (64bit)
 	if (hInstance == 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), 
                                       &vec[0], Module->length + 1);
 		if (len )



Mime
View raw message