fpicker: folder creation dialog fixes
Change-Id: I9122de6c04561f72c633b05983590871d9ec3a73
This commit is contained in:
parent
a57fca1bca
commit
99465489aa
2 changed files with 5 additions and 4 deletions
|
@ -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 )
|
||||
|
|
|
@ -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 ) ;
|
||||
|
|
Loading…
Reference in a new issue