summaryrefslogtreecommitdiff
path: root/fpicker/source/office
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-05-31 14:59:42 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-06-04 13:28:13 +0200
commit99465489aa24a2d9d81c0daccfcf512e4f82c841 (patch)
tree1a16b30bc216a2cebc24ac0cac87d0324530f87e /fpicker/source/office
parenta57fca1bcabfbf6dae93eaafb4ab2d313a69f5a4 (diff)
fpicker: folder creation dialog fixes
Change-Id: I9122de6c04561f72c633b05983590871d9ec3a73
Diffstat (limited to 'fpicker/source/office')
-rw-r--r--fpicker/source/office/iodlg.cxx7
-rw-r--r--fpicker/source/office/iodlg.src2
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 ) ;