From 4908a4585ca36af159ae5fcd1ab361abc5b32e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 20 Jun 2019 15:55:41 +0100 Subject: [PATCH] fix putting ; between entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit broken since... commit 8bddb3c77048814b370351e0eb72c31f289fb34f Author: Caolán McNamara Date: Thu Mar 14 12:51:31 2019 +0000 weld SwInsertBookmarkDlg Change-Id: I2a07820dd5ea13976a1044323a5b52835fd711f1 Reviewed-on: https://gerrit.libreoffice.org/74458 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/ui/misc/bookmark.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index 260bb6e6bc49..11144f55b703 100644 --- a/sw/source/ui/misc/bookmark.cxx +++ b/sw/source/ui/misc/bookmark.cxx @@ -152,7 +152,7 @@ IMPL_LINK_NOARG(SwInsertBookmarkDlg, SelectionChangedHdl, weld::TreeView&, void) sw::mark::IMark* pBookmark = reinterpret_cast(m_xBookmarksBox->get_id(nRow).toInt64()); const OUString& sEntryName = pBookmark->GetName(); sEditBoxText.append(sEntryName); - if (nRow > 1) + if (i > 1) sEditBoxText.append(";"); } if (!aSelectedRows.empty())