diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/PhotoAlbumDialog.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
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<OUString*>(pImagesLst->GetSelectEntryData()); + OUString* pActData = static_cast<OUString*>(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<OUString*>(pImagesLst->GetSelectEntryData()); + OUString* pData = static_cast<OUString*>(pImagesLst->GetSelectedEntryData()); OUString sImgUrl = pData ? *pData : ""; if (sImgUrl != SdResId(STR_PHOTO_ALBUM_TEXTBOX)) |