summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-02-08 11:54:52 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-02-08 17:26:37 +0100
commit977b8cf668a486cc8781cbfeebd4f9bdff3edc5f (patch)
treeafb640cfb5c267f5032e540259b61292d41f0dfc
parentd2ba2fa1123a07a9853124218342cc83c5176491 (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> (cherry picked from commit a381e87d16496d9fee98d9ff49fa2a38cc5c8fb2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163140 Tested-by: Jenkins Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-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));