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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 29 14:42:19 UTC 2018


 sd/source/ui/slideshow/slideshowimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d6a139bbb63a5b3c472b2460d15d6fdb0b7fb80
Author:     Arnold Dumas <arnold at dumas.at>
AuthorDate: Fri Aug 10 09:30:56 2018 +0200
Commit:     Muhammet Kara <muhammet.kara at pardus.org.tr>
CommitDate: Wed Aug 29 16:41:50 2018 +0200

    tdf#117058: Simplify calls to Menu::CheckItem
    
    Change-Id: Ib4cba3af376d8d031d5282a5459eaecc18e3ed9a
    Reviewed-on: https://gerrit.libreoffice.org/58811
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>

diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 36db2f809efd..cc07c9c37717 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -2036,7 +2036,7 @@ IMPL_LINK_NOARG(SlideshowImpl, ContextMenuHdl, void*, void)
             }
 
             if (nWidth == mdUserPaintStrokeWidth)
-                pWidthMenu->CheckItem(pWidthMenu->GetItemId(OString::number(nWidth)));
+                pWidthMenu->CheckItem(OString::number(nWidth));
         }
     }
 


More information about the Libreoffice-commits mailing list