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 > vec(Module->length + 1); + std::vector vec(Module->length + 1); DWORD len = GetShortPathNameW(reinterpret_cast(Module->buffer), reinterpret_cast(&vec[0]), Module->length + 1); if (len )