summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 21a789110574..40693ab1ec89 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -3356,9 +3356,9 @@ namespace svtools {
QueryFolderNameDialog::QueryFolderNameDialog
(
Window* _pParent,
- const String& rTitle,
- const String& rDefaultText,
- String* pGroupName
+ const OUString& rTitle,
+ const OUString& rDefaultText,
+ OUString* pGroupName
) :
ModalDialog( _pParent, SvtResId( DLG_FPICKER_QUERYFOLDERNAME ) ),
@@ -3371,7 +3371,7 @@ QueryFolderNameDialog::QueryFolderNameDialog
FreeResource();
SetText( rTitle );
aNameEdit.SetText( rDefaultText );
- aNameEdit.SetSelection( Selection( 0, rDefaultText.Len() ) );
+ aNameEdit.SetSelection( Selection( 0, rDefaultText.getLength() ) );
aOKBtn.SetClickHdl( LINK( this, QueryFolderNameDialog, OKHdl ) );
aNameEdit.SetModifyHdl( LINK( this, QueryFolderNameDialog, NameHdl ) );