summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuifmsearch.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-26 08:30:52 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:42 +0200
commitea2c80bdcd862f91dd7429184aea29d9a77f9774 (patch)
treebe34aa41cac74b86ae6bcdd4e9b6b3563121a9b3 /cui/source/inc/cuifmsearch.hxx
parent183f260e7ed86c30d99313cdb3267c18abb65bd3 (diff)
convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
Diffstat (limited to 'cui/source/inc/cuifmsearch.hxx')
-rw-r--r--cui/source/inc/cuifmsearch.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx
index a04f5ed860d8..c663309d45e6 100644
--- a/cui/source/inc/cuifmsearch.hxx
+++ b/cui/source/inc/cuifmsearch.hxx
@@ -80,8 +80,8 @@ class FmSearchDialog : public ModalDialog
PushButton m_pbSearchAgain;
CancelButton m_pbClose;
HelpButton m_pbHelp;
- String m_sSearch;
- String m_sCancel;
+ OUString m_sSearch;
+ OUString m_sCancel;
Window* m_pPreSearchFocus;
@@ -91,7 +91,7 @@ class FmSearchDialog : public ModalDialog
Link m_lnkContextSupplier; ///< for search in contexts
/// memorize the currently selected field for every context
- ::std::vector<String> m_arrContextFields;
+ ::std::vector<OUString> m_arrContextFields;
FmSearchEngine* m_pSearchEngine;
@@ -135,7 +135,7 @@ public:
*/
void SetCanceledNotFoundHdl(const Link& lnk) { m_lnkCanceledNotFoundHdl = lnk; }
- inline void SetActiveField(const String& strField);
+ inline void SetActiveField(const OUString& strField);
protected:
virtual sal_Bool Close();
@@ -186,7 +186,7 @@ private:
void initCommon( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& _rxCursor );
};
-inline void FmSearchDialog::SetActiveField(const String& strField)
+inline void FmSearchDialog::SetActiveField(const OUString& strField)
{
sal_uInt16 nInitialField = m_lbField.GetEntryPos(strField);
if (nInitialField == COMBOBOX_ENTRY_NOTFOUND)