summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorArnold Dumas <arnold@dumas.at>2018-08-10 09:30:56 +0200
committerMuhammet Kara <muhammet.kara@pardus.org.tr>2018-08-29 16:41:50 +0200
commit7d6a139bbb63a5b3c472b2460d15d6fdb0b7fb80 (patch)
treef118222618b4219af2dbe79ce3fdee382e037bce /sd/source
parent1eeda4a32f33b9f37f093c6e9905c3ce9523b81a (diff)
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@pardus.org.tr>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
1 files changed, 1 insertions, 1 deletions
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));
}
}