diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-19 13:48:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-22 10:49:25 +0200 |
commit | 7df895abf5219332217cea25698a99eb7fd10143 (patch) | |
tree | 7270f143150ba51761f56742b8caaafc6dbf9604 /include/svtools | |
parent | 2174567506a196f0d347967f72470839baf79249 (diff) |
convert include/svtools/file*.hxx from String to OUString
Change-Id: Ie0e07c61caba1e15475900622c97e0f0426558d6
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/filectrl.hxx | 4 | ||||
-rw-r--r-- | include/svtools/fileurlbox.hxx | 4 | ||||
-rw-r--r-- | include/svtools/fileview.hxx | 28 |
3 files changed, 18 insertions, 18 deletions
diff --git a/include/svtools/filectrl.hxx b/include/svtools/filectrl.hxx index 5654f004f69c..838bcf807753 100644 --- a/include/svtools/filectrl.hxx +++ b/include/svtools/filectrl.hxx @@ -45,8 +45,8 @@ private: Edit maEdit; PushButton maButton; - String maButtonText; - sal_Bool mbOpenDlg; + OUString maButtonText; + sal_Bool mbOpenDlg; Link maDialogCreatedHdl; diff --git a/include/svtools/fileurlbox.hxx b/include/svtools/fileurlbox.hxx index 768d12ee24c3..4dcb037c8ef2 100644 --- a/include/svtools/fileurlbox.hxx +++ b/include/svtools/fileurlbox.hxx @@ -34,7 +34,7 @@ namespace svt class SVT_DLLPUBLIC FileURLBox : public SvtURLBox { private: - String m_sPreservedText; + OUString m_sPreservedText; public: FileURLBox( Window* _pParent, WinBits _nStyle ); @@ -56,7 +56,7 @@ namespace svt @see SvtURLBox::GetURL */ - void DisplayURL( const String& _rURL ); + void DisplayURL( const OUString& _rURL ); }; //......................................................................... diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx index 917cfabab462..57f027cdef1d 100644 --- a/include/svtools/fileview.hxx +++ b/include/svtools/fileview.hxx @@ -83,12 +83,12 @@ public: SvtFileView( Window* pParent, const ResId& rResId, sal_uInt8 nFlags ); ~SvtFileView(); - const String& GetViewURL() const; - String GetURL( SvTreeListEntry* pEntry ) const; - String GetCurrentURL() const; + const OUString& GetViewURL() const; + OUString GetURL( SvTreeListEntry* pEntry ) const; + OUString GetCurrentURL() const; - sal_Bool GetParentURL( String& _rParentURL ) const; - void CreatedFolder( const String& rUrl, const String& rNewFolder ); + sal_Bool GetParentURL( OUString& _rParentURL ) const; + void CreatedFolder( const OUString& rUrl, const OUString& rNewFolder ); void SetHelpId( const OString& rHelpId ); const OString& GetHelpId( ) const; @@ -108,15 +108,15 @@ public: action asynchronously. */ FileViewResult Initialize( - const String& rFolderURL, - const String& rFilter, + const OUString& rFolderURL, + const OUString& rFilter, const FileViewAsyncAction* pAsyncDescriptor, const ::com::sun::star::uno::Sequence< OUString >& rBlackList ); FileViewResult Initialize( - const String& rFolderURL, - const String& rFilter, + const OUString& rFolderURL, + const OUString& rFilter, const FileViewAsyncAction* pAsyncDescriptor ); /** initialze the view with a sequence of contents, which have already been obtained elsewhere @@ -128,7 +128,7 @@ public: /** initializes the view with the content of a folder given by an UCB content */ sal_Bool Initialize( const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent>& _xContent, - const String& rFilter ); + const OUString& rFilter ); /** reads the current content of the current folder again, and applies the given filter to it @@ -145,7 +145,7 @@ public: action asynchronously. */ FileViewResult ExecuteFilter( - const String& rFilter, + const OUString& rFilter, const FileViewAsyncAction* pAsyncDescriptor ); @@ -188,8 +188,8 @@ public: // EnableContextMenu( sal_True )/EnableDelete(sal_True) disable name replacing! // save and load column size and sort order - String GetConfigString() const; - void SetConfigString( const String& rCfgStr ); + OUString GetConfigString() const; + void SetConfigString( const OUString& rCfgStr ); void EndInplaceEditing( bool _bCancel ); @@ -242,7 +242,7 @@ private: public: QueryDeleteDlg_Impl( Window* pParent, - const String& rName ); + const OUString& rName ); void EnableAllButton() { _aAllButton.Enable( sal_True ); } QueryDeleteResult_Impl GetResult() const { return _eResult; } |