[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - setup_native/source
Andras Timar
andras.timar at collabora.com
Fri Dec 27 01:32:06 PST 2013
setup_native/source/win32/customactions/sellang/sorttree.cxx | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
New commits:
commit 7f3bcb1e98cb3417594a5fd811babfc8067677f4
Author: Andras Timar <andras.timar at collabora.com>
Date: Fri Dec 27 10:26:22 2013 +0100
fdo#72945 sort languages in Windows custom install tree view
Change-Id: I9a35ee7839373b82b47c0d5cc5b329918d337073
diff --git a/setup_native/source/win32/customactions/sellang/sorttree.cxx b/setup_native/source/win32/customactions/sellang/sorttree.cxx
index 9472a49..6781036 100644
--- a/setup_native/source/win32/customactions/sellang/sorttree.cxx
+++ b/setup_native/source/win32/customactions/sellang/sorttree.cxx
@@ -34,13 +34,7 @@ extern "C" UINT __stdcall SortTree(MSIHANDLE)
OutputDebugString("SortTree: SysTreeView32 not found\n");
return ERROR_SUCCESS;
}
- HTREEITEM treeRoot = TreeView_GetRoot(hwndTV);
- if (treeRoot == NULL)
- {
- OutputDebugString("SortTree: TreeView_GetRoot failed\n");
- return ERROR_SUCCESS;
- }
- HTREEITEM optional = TreeView_GetNextSibling(hwndTV, treeRoot);
+ HTREEITEM optional = TreeView_GetRoot(hwndTV);
if (optional == NULL)
{
OutputDebugString("SortTree: Optional Components branch not found\n");
More information about the Libreoffice-commits
mailing list