[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 20 20:34:54 UTC 2019


 sw/source/ui/misc/bookmark.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4908a4585ca36af159ae5fcd1ab361abc5b32e02
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 20 15:55:41 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 20 22:33:42 2019 +0200

    fix putting ; between entries
    
    broken since...
    
    commit 8bddb3c77048814b370351e0eb72c31f289fb34f
    Author: Caolán McNamara <caolanm at redhat.com>
    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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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<sw::mark::IMark*>(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())


More information about the Libreoffice-commits mailing list