cid#1643100 DLS: Dead local store

since:

commit a2888a8f5a
CommitDate: Tue Feb 18 16:06:22 2025 +0100

    tdf#161144 Fix ambiguous sorting in Query Wizard

Change-Id: I965675a0b8c36dd65c6a637471a61eb32dd1a908
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181868
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara
2025-02-19 08:38:46 +00:00
parent dbff1a3506
commit 3fe202579f

View File

@ -162,7 +162,6 @@ public class SQLQueryComposer
{
String sSortValue = CurDBMetaData.getSortFieldNames()[_SortIndex][0];
String currentOrder = m_queryComposer.getOrder();
XPropertySet xColumn = CurDBMetaData.getColumnObjectByFieldName(sSortValue, _baddAliasFieldNames);
String sSort = "ASC";
if(CurDBMetaData.getSortFieldNames()[_SortIndex].length > 1)