Kaydet (Commit) 41b0d974 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

SetDisplayDirectory is deprecated

...and SetDisplayFolder seems correct here, anyway, given that aReccomendedDir (sic)
denotes a directory, not a file.

Change-Id: I2f77e8e9fe0948a028f344639d383726b4b8641d
üst e652ba3c
...@@ -957,7 +957,7 @@ sal_Bool ModelData_Impl::OutputFileDialog( sal_Int8 nStoreMode, ...@@ -957,7 +957,7 @@ sal_Bool ModelData_Impl::OutputFileDialog( sal_Int8 nStoreMode,
::rtl::OUString aReccomendedDir = GetReccomendedDir( aSuggestedDir ); ::rtl::OUString aReccomendedDir = GetReccomendedDir( aSuggestedDir );
if ( !aReccomendedDir.isEmpty() ) if ( !aReccomendedDir.isEmpty() )
pFileDlg->SetDisplayDirectory( aReccomendedDir ); pFileDlg->SetDisplayFolder( aReccomendedDir );
::rtl::OUString aReccomendedName = GetReccomendedName( aSuggestedName, aAdjustToType ); ::rtl::OUString aReccomendedName = GetReccomendedName( aSuggestedName, aAdjustToType );
if ( !aReccomendedName.isEmpty() ) if ( !aReccomendedName.isEmpty() )
pFileDlg->SetFileName( aReccomendedName ); pFileDlg->SetFileName( aReccomendedName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment