summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/SlideTransitionPane.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-07-05 09:03:59 +0000
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-04-17 10:47:44 +0200
commitcdb14b4f079e56243c55029e4322f587fd6335b0 (patch)
treea714d53ef7d8a37aae48adb270861b03d91bfd01 /sd/source/ui/animations/SlideTransitionPane.cxx
parent8a35cafb58c38e84541a44f8534c0511d2400e75 (diff)
tdf#100715 Slide transition sound: Remember remember last folder
Change-Id: I37bfb088a167464cdbd93a1f993a8161d12b379a Reviewed-on: https://gerrit.libreoffice.org/26937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd/source/ui/animations/SlideTransitionPane.cxx')
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 1ada6a56eac5..c7384415d1a5 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -735,12 +735,8 @@ void SlideTransitionPane::openSoundFileDialog()
SdOpenSoundFileDialog aFileDialog(GetFrameWeld());
- OUString aFile;
DBG_ASSERT( mpLB_SOUND->GetSelectedEntryPos() == 2,
"Dialog should only open when \"Other sound\" is selected" );
- aFile = SvtPathOptions().GetWorkPath();
-
- aFileDialog.SetPath( aFile );
bool bValidSoundFile( false );
bool bQuitLoop( false );
@@ -748,7 +744,7 @@ void SlideTransitionPane::openSoundFileDialog()
while( ! bQuitLoop &&
aFileDialog.Execute() == ERRCODE_NONE )
{
- aFile = aFileDialog.GetPath();
+ OUString aFile = aFileDialog.GetPath();
tSoundListType::size_type nPos = 0;
bValidSoundFile = lcl_findSoundInList( maSoundList, aFile, nPos );