vcl/source/app/salvtables.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0b73990b2f1e0ea4312d29ef530ad6ca7134c470
Author:     Arnold Dumas <arn...@dumas.at>
AuthorDate: Thu Aug 9 23:54:18 2018 +0200
Commit:     Muhammet Kara <muhammet.k...@pardus.org.tr>
CommitDate: Fri Aug 10 09:25:11 2018 +0200

    tdf#117058: Simplify calls to Menu::CheckItem
    
    Change-Id: I2a8375eb35c86c445d04f71755aef0cdbb051024
    Reviewed-on: https://gerrit.libreoffice.org/58802
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.k...@pardus.org.tr>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index dfe3cf552e81..e4a0f8d8d720 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -464,7 +464,7 @@ public:
     }
     virtual void set_active(const OString& rIdent, bool bActive) override
     {
-        m_xMenu->CheckItem(m_xMenu->GetItemId(rIdent), bActive);
+        m_xMenu->CheckItem(rIdent, bActive);
     }
     virtual void show(const OString& rIdent, bool bShow) override
     {
@@ -1059,7 +1059,7 @@ public:
     virtual void set_item_active(const OString& rIdent, bool bActive) override
     {
         PopupMenu* pMenu = m_xMenuButton->GetPopupMenu();
-        pMenu->CheckItem(pMenu->GetItemId(rIdent), bActive);
+        pMenu->CheckItem(rIdent, bActive);
     }
 
     virtual void set_item_label(const OString& rIdent, const OUString& rText) 
override
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to