summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-02-08 11:54:52 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-02-08 13:39:11 +0100
commita381e87d16496d9fee98d9ff49fa2a38cc5c8fb2 (patch)
treea3af2afc6b48aacd8d73f56804ba3c067fc2833c /svtools
parent5bf2372a7be31e905e28fd81796ccaf5e35f6366 (diff)
tdf#159637: fix position of 'Windows Share' entry
Started to happen after commit b91daea3c1a38883c06cdd63c6eababe1df9e61d Author: Michael Stahl <michael.stahl@allotropia.de> Date: Tue Nov 7 13:20:21 2023 +0100 tdf#146386 fpicker,svtools: remove FTP from Remote Files dialog Change-Id: I6ae78f96c1a1271de8cb2f0f114b92c3c213a068 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163115 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 7d0c7717e2f1..a51486e408a8 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -222,7 +222,7 @@ void PlaceEditDialog::InitDetails( )
#if defined(_WIN32)
// nPos is the position of first item that is pre-defined in svtools/uiconfig/ui/placeedit.ui,
// after other CMIS types were inserted
- m_xLBServerType->remove(nPos + 3);
+ m_xLBServerType->remove(nPos + 2);
#else
// Create Windows Share control
std::shared_ptr<DetailsContainer> xSmbDetails(std::make_shared<SmbDetailsContainer>(this));