diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-26 08:30:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-01 10:08:42 +0200 |
commit | ea2c80bdcd862f91dd7429184aea29d9a77f9774 (patch) | |
tree | be34aa41cac74b86ae6bcdd4e9b6b3563121a9b3 /cui/source/dialogs/passwdomdlg.cxx | |
parent | 183f260e7ed86c30d99313cdb3267c18abb65bd3 (diff) |
convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
Diffstat (limited to 'cui/source/dialogs/passwdomdlg.cxx')
-rw-r--r-- | cui/source/dialogs/passwdomdlg.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/dialogs/passwdomdlg.cxx b/cui/source/dialogs/passwdomdlg.cxx index 9c7ce0cfb4ff..a7645088fe27 100644 --- a/cui/source/dialogs/passwdomdlg.cxx +++ b/cui/source/dialogs/passwdomdlg.cxx @@ -36,7 +36,7 @@ class PasswordReenterEdit_Impl : public Edit { - String m_aDefaultTxt; + OUString m_aDefaultTxt; // disallow use of copy c-tor and assignment operator PasswordReenterEdit_Impl( const PasswordReenterEdit_Impl & ); @@ -100,10 +100,10 @@ struct PasswordToOpenModifyDialog_Impl FixedText m_aReenterPasswdToModifyFT; PasswordReenterEdit_Impl m_aReenterPasswdToModifyED; - String m_aOneMismatch; - String m_aTwoMismatch; - String m_aInvalidStateForOkButton; - String m_aInvalidStateForOkButton_v2; + OUString m_aOneMismatch; + OUString m_aTwoMismatch; + OUString m_aInvalidStateForOkButton; + OUString m_aInvalidStateForOkButton_v2; bool m_bIsPasswordToModify; @@ -144,8 +144,8 @@ PasswordToOpenModifyDialog_Impl::PasswordToOpenModifyDialog_Impl( m_aInvalidStateForOkButton_v2( CUI_RES( STR_INVALID_STATE_FOR_OK_BUTTON_V2 ) ), m_bIsPasswordToModify( bIsPasswordToModify ) { - m_aMoreFewerOptionsBTN.SetMoreText( String( CUI_RES( STR_MORE_OPTIONS ) ) ); - m_aMoreFewerOptionsBTN.SetLessText( String( CUI_RES( STR_FEWER_OPTIONS ) ) ); + m_aMoreFewerOptionsBTN.SetMoreText( CUI_RES( STR_MORE_OPTIONS ) ); + m_aMoreFewerOptionsBTN.SetLessText( CUI_RES( STR_FEWER_OPTIONS ) ); m_aOk.SetClickHdl( LINK( this, PasswordToOpenModifyDialog_Impl, OkBtnClickHdl ) ); @@ -194,7 +194,7 @@ IMPL_LINK( PasswordToOpenModifyDialog_Impl, OkBtnClickHdl, OKButton *, EMPTYARG Edit &rEdit = !bToOpenMatch? m_aPasswdToOpenED : m_aPasswdToModifyED; PasswordReenterEdit_Impl &rRepeatEdit = !bToOpenMatch? m_aReenterPasswdToOpenED : m_aReenterPasswdToModifyED; - String aEmpty; + OUString aEmpty; if (nMismatch == 1) { rEdit.SetText( aEmpty ); @@ -240,7 +240,7 @@ PasswordToOpenModifyDialog::~PasswordToOpenModifyDialog() } -String PasswordToOpenModifyDialog::GetPasswordToOpen() const +OUString PasswordToOpenModifyDialog::GetPasswordToOpen() const { const bool bPasswdOk = !m_pImpl->m_aPasswdToOpenED.GetText().isEmpty() && @@ -249,7 +249,7 @@ String PasswordToOpenModifyDialog::GetPasswordToOpen() const } -String PasswordToOpenModifyDialog::GetPasswordToModify() const +OUString PasswordToOpenModifyDialog::GetPasswordToModify() const { const bool bPasswdOk = !m_pImpl->m_aPasswdToModifyED.GetText().isEmpty() && |