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/cuiimapwnd.cxx | |
parent | 183f260e7ed86c30d99313cdb3267c18abb65bd3 (diff) |
convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
Diffstat (limited to 'cui/source/dialogs/cuiimapwnd.cxx')
-rw-r--r-- | cui/source/dialogs/cuiimapwnd.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/cuiimapwnd.cxx b/cui/source/dialogs/cuiimapwnd.cxx index 7f1455d921f8..2eeacbdaa459 100644 --- a/cui/source/dialogs/cuiimapwnd.cxx +++ b/cui/source/dialogs/cuiimapwnd.cxx @@ -48,7 +48,7 @@ |* \************************************************************************/ -URLDlg::URLDlg( Window* pWindow, const String& rURL, const String& rAlternativeText, const String& rDescription, const String& rTarget, const String& rName, TargetList& rTargetList ) +URLDlg::URLDlg( Window* pWindow, const OUString& rURL, const OUString& rAlternativeText, const OUString& rDescription, const OUString& rTarget, const OUString& rName, TargetList& rTargetList ) : ModalDialog(pWindow, "IMapDialog", "cui/ui/cuiimapdlg.ui") { get(m_pEdtURL, "urlentry"); @@ -67,8 +67,8 @@ URLDlg::URLDlg( Window* pWindow, const String& rURL, const String& rAlternativeT for( size_t i = 0, n = rTargetList.size(); i < n; ++i ) m_pCbbTargets->InsertEntry( rTargetList[ i ] ); - if( !rTarget.Len() ) - m_pCbbTargets->SetText( OUString("_self") ); + if( rTarget.isEmpty() ) + m_pCbbTargets->SetText( "_self"); else m_pCbbTargets->SetText( rTarget ); } |