diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-04-27 14:34:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-27 14:39:26 +0200 |
commit | 41b0d974e40ba777955dd22a09a0bfe44d17fdeb (patch) | |
tree | b3bdf6068bc21a9fc51577c705b22a164b95f12e /sfx2 | |
parent | e652ba3c7357e0396498629891a1391ace67c4d7 (diff) |
SetDisplayDirectory is deprecated
...and SetDisplayFolder seems correct here, anyway, given that aReccomendedDir (sic)
denotes a directory, not a file.
Change-Id: I2f77e8e9fe0948a028f344639d383726b4b8641d
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 4009639e8a9c..3231bdea1a6a 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -957,7 +957,7 @@ sal_Bool ModelData_Impl::OutputFileDialog( sal_Int8 nStoreMode, ::rtl::OUString aReccomendedDir = GetReccomendedDir( aSuggestedDir ); if ( !aReccomendedDir.isEmpty() ) - pFileDlg->SetDisplayDirectory( aReccomendedDir ); + pFileDlg->SetDisplayFolder( aReccomendedDir ); ::rtl::OUString aReccomendedName = GetReccomendedName( aSuggestedName, aAdjustToType ); if ( !aReccomendedName.isEmpty() ) pFileDlg->SetFileName( aReccomendedName ); |