diff options
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 7 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.src | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 3209ad6bccf3..258edd9493f9 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -810,9 +810,10 @@ IMPL_STATIC_LINK( SvtFileDialog, NewFolderHdl_Impl, PushButton*, EMPTYARG ) { pThis->_pFileView->EndInplaceEditing( false ); - INetURLObject aObj( pThis->_pFileView->GetViewURL() ); - String sFolderName = aObj.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET, RTL_TEXTENCODING_UTF8 ); - svtools::QueryFolderNameDialog aDlg( pThis, sFolderName, String( SvtResId( STR_SVT_NEW_FOLDER ) ) ); + SmartContent aContent( pThis->_pFileView->GetViewURL( ) ); + rtl::OUString aTitle; + aContent.getTitle( aTitle ); + svtools::QueryFolderNameDialog aDlg( pThis, aTitle, String( SvtResId( STR_SVT_NEW_FOLDER ) ) ); sal_Bool bHandled = sal_False; while ( !bHandled ) diff --git a/fpicker/source/office/iodlg.src b/fpicker/source/office/iodlg.src index 0c788374e107..21aa517cffc5 100644 --- a/fpicker/source/office/iodlg.src +++ b/fpicker/source/office/iodlg.src @@ -266,7 +266,7 @@ ModalDialog DLG_FPICKER_QUERYFOLDERNAME OutputSize = TRUE ; SVLook = TRUE ; Text = "Ordner" ; - Size = MAP_APPFONT ( 100 , 45 ) ; + Size = MAP_APPFONT ( 215 , 45 ) ; FixedText FT_SVT_QUERYFOLDERNAME_DLG_NAME { Pos = MAP_APPFONT ( 12 , 14 ) ; |