Kaydet (Commit) a7f84fc4 authored tarafından Noel Grandin's avatar Noel Grandin

convert include/svtools/QueryFolderName.hxx from String to OUString

Change-Id: Iec274c35c3ce4f1f9d5f17bd5562b52b788595d4
üst 04f72ace
......@@ -388,7 +388,6 @@
#include <svl/urihelper.hxx>
#include <svl/urlbmk.hxx>
#include <svl/zforlist.hxx>
#include <svtools/QueryFolderName.hxx>
#include <svtools/cliplistener.hxx>
#include <svtools/editbrowsebox.hxx>
#include <svtools/ehdl.hxx>
......
......@@ -27,7 +27,6 @@
#include <comphelper/interaction.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <svtools/QueryFolderName.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
......
......@@ -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 ) );
......
......@@ -45,10 +45,10 @@ private:
public:
QueryFolderNameDialog( Window* _pParent,
const String& rTitle,
const String& rDefaultText,
String* pGroupName = NULL );
String GetName() const { return aNameEdit.GetText(); }
const OUString& rTitle,
const OUString& rDefaultText,
OUString* pGroupName = NULL );
OUString GetName() const { return aNameEdit.GetText(); }
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment