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 @@ ...@@ -388,7 +388,6 @@
#include <svl/urihelper.hxx> #include <svl/urihelper.hxx>
#include <svl/urlbmk.hxx> #include <svl/urlbmk.hxx>
#include <svl/zforlist.hxx> #include <svl/zforlist.hxx>
#include <svtools/QueryFolderName.hxx>
#include <svtools/cliplistener.hxx> #include <svtools/cliplistener.hxx>
#include <svtools/editbrowsebox.hxx> #include <svtools/editbrowsebox.hxx>
#include <svtools/ehdl.hxx> #include <svtools/ehdl.hxx>
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <comphelper/interaction.hxx> #include <comphelper/interaction.hxx>
#include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/exc_hlp.hxx>
#include <toolkit/helper/vclunohelper.hxx> #include <toolkit/helper/vclunohelper.hxx>
#include <svtools/QueryFolderName.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XChild.hpp> #include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XNameContainer.hpp>
......
...@@ -3356,9 +3356,9 @@ namespace svtools { ...@@ -3356,9 +3356,9 @@ namespace svtools {
QueryFolderNameDialog::QueryFolderNameDialog QueryFolderNameDialog::QueryFolderNameDialog
( (
Window* _pParent, Window* _pParent,
const String& rTitle, const OUString& rTitle,
const String& rDefaultText, const OUString& rDefaultText,
String* pGroupName OUString* pGroupName
) : ) :
ModalDialog( _pParent, SvtResId( DLG_FPICKER_QUERYFOLDERNAME ) ), ModalDialog( _pParent, SvtResId( DLG_FPICKER_QUERYFOLDERNAME ) ),
...@@ -3371,7 +3371,7 @@ QueryFolderNameDialog::QueryFolderNameDialog ...@@ -3371,7 +3371,7 @@ QueryFolderNameDialog::QueryFolderNameDialog
FreeResource(); FreeResource();
SetText( rTitle ); SetText( rTitle );
aNameEdit.SetText( rDefaultText ); aNameEdit.SetText( rDefaultText );
aNameEdit.SetSelection( Selection( 0, rDefaultText.Len() ) ); aNameEdit.SetSelection( Selection( 0, rDefaultText.getLength() ) );
aOKBtn.SetClickHdl( LINK( this, QueryFolderNameDialog, OKHdl ) ); aOKBtn.SetClickHdl( LINK( this, QueryFolderNameDialog, OKHdl ) );
aNameEdit.SetModifyHdl( LINK( this, QueryFolderNameDialog, NameHdl ) ); aNameEdit.SetModifyHdl( LINK( this, QueryFolderNameDialog, NameHdl ) );
......
...@@ -45,10 +45,10 @@ private: ...@@ -45,10 +45,10 @@ private:
public: public:
QueryFolderNameDialog( Window* _pParent, QueryFolderNameDialog( Window* _pParent,
const String& rTitle, const OUString& rTitle,
const String& rDefaultText, const OUString& rDefaultText,
String* pGroupName = NULL ); OUString* pGroupName = NULL );
String GetName() const { return aNameEdit.GetText(); } 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