From b9a8ac48d7a57f5dcb8dfa9c0400fb9e977c4bf8 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 14 Sep 2017 17:09:01 +0200 Subject: Rename GetSelectEntryData -> GetSelectedEntryData Change-Id: Ia6402f6d2c978cbd5557052a43e9728ca9e11173 Reviewed-on: https://gerrit.libreoffice.org/42285 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- sd/source/ui/animations/CustomAnimationPane.cxx | 4 ++-- sd/source/ui/dlg/PhotoAlbumDialog.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 8a05b20669ae..6e4fd747d427 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1820,7 +1820,7 @@ void CustomAnimationPane::onAdd() return; mpLBAnimation->SelectEntryPos(nFirstEffect); - void* pEntryData = mpLBAnimation->GetSelectEntryData(); + void* pEntryData = mpLBAnimation->GetSelectedEntryData(); if( pEntryData ) pDescriptor = *static_cast< CustomAnimationPresetPtr* >( pEntryData ); @@ -2112,7 +2112,7 @@ IMPL_LINK_NOARG(CustomAnimationPane, AnimationSelectHdl, ListBox&, void) { if( maListSelection.size() == 1 ) { - CustomAnimationPresetPtr* pPreset = static_cast< CustomAnimationPresetPtr* >(mpLBAnimation->GetSelectEntryData()); + CustomAnimationPresetPtr* pPreset = static_cast< CustomAnimationPresetPtr* >(mpLBAnimation->GetSelectedEntryData()); PathKind ePathKind = getCreatePathKind(); // tdf#99137, the selected entry may also be a subcategory title, so not an effect diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx index 1c2b5f0c370c..82b8f323d601 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx @@ -575,7 +575,7 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, DownHdl, Button*, void) if (!pImagesLst->GetEntry(nActPos + 1).isEmpty()) { OUString sActEntry( pImagesLst->GetSelectedEntry() ); - OUString* pActData = static_cast(pImagesLst->GetSelectEntryData()); + OUString* pActData = static_cast(pImagesLst->GetSelectedEntryData()); OUString sAct(*pActData); OUString sDownEntry( pImagesLst->GetEntry(nActPos + 1) ); @@ -607,7 +607,7 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, RemoveHdl, Button*, void) IMPL_LINK_NOARG(SdPhotoAlbumDialog, SelectHdl, ListBox&, void) { - OUString* pData = static_cast(pImagesLst->GetSelectEntryData()); + OUString* pData = static_cast(pImagesLst->GetSelectedEntryData()); OUString sImgUrl = pData ? *pData : ""; if (sImgUrl != SdResId(STR_PHOTO_ALBUM_TEXTBOX)) -- cgit ue='distro/collabora/co-24.04.4'>distro/collabora/co-24.04.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-01-10Fix typosAndrea Gelmini
2014-04-30Many spelling fixes: directories h* - p*.Pedro Giffuni
2013-06-04*api: fix loads of badly documented parametersMichael Stahl
2013-06-04*api: convert <TRUE/> <FALSE/> <VOID/> <NULL/>Michael Stahl
2013-06-04*api: convert <method scope="foo">Michael Stahl
2013-06-04*api: convert <type scope="bar">Foo</type>Michael Stahl
2013-06-04*api: convert <type>Foo</type>Michael Stahl
2012-09-27re-base on ALv2 code. Includes:Michael Meeks