[Libreoffice-commits] core.git: shell/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Nov 27 12:18:24 UTC 2020
shell/source/win32/shlxthandler/util/utilities.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d52ea2baa0885d49f3b5eaa74d782315d01d36ea
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 27 10:49:33 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Nov 27 13:17:49 2020 +0100
GetShortPathNameW returns DWORD
Change-Id: I5e86f9d0fd9832d0c8500c5d38805ddef5d5304b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106727
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/shell/source/win32/shlxthandler/util/utilities.cxx b/shell/source/win32/shlxthandler/util/utilities.cxx
index 80bd6a1cb4fa..489474b53baf 100644
--- a/shell/source/win32/shlxthandler/util/utilities.cxx
+++ b/shell/source/win32/shlxthandler/util/utilities.cxx
@@ -121,7 +121,7 @@ bool HasOnlySpaces(const std::wstring& String)
std::wstring getShortPathName( const std::wstring& aLongName )
{
std::wstring shortName = aLongName;
- long length = GetShortPathNameW( aLongName.c_str(), nullptr, 0 );
+ DWORD length = GetShortPathNameW( aLongName.c_str(), nullptr, 0 );
if ( length != 0 )
{
More information about the Libreoffice-commits
mailing list