summaryrefslogtreecommitdiff
path: root/svx/source/unodialogs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-04 12:31:28 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:55:03 +0200
commit70a267b6ad1bffe09953cc8f1c0920f219b03789 (patch)
treea9db5d1647c9110eb07937f70dcd417e18b0cf95 /svx/source/unodialogs
parent6940ce5c17762c9ce40525766bb2aa059e5d9e95 (diff)
convert svx/source/unodialogs/*.cxx from String to OUString
Change-Id: I8496c6bdef2e68898221aef41aa69f70868abff8
Diffstat (limited to 'svx/source/unodialogs')
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
index ebe6f5569194..4b7b3032567f 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
@@ -83,7 +83,7 @@ DictionaryList::DictionaryList( Window* pParent )
OUString DictionaryList::getPropertyTypeName( sal_Int16 nConversionPropertyType ) const
{
if(!m_pPropertyTypeNameListBox || !m_pPropertyTypeNameListBox->GetEntryCount())
- return String();
+ return OUString();
sal_uInt16 nPos = static_cast<sal_uInt16>( nConversionPropertyType )-1;
if(nPos<m_pPropertyTypeNameListBox->GetEntryCount())
@@ -93,10 +93,10 @@ OUString DictionaryList::getPropertyTypeName( sal_Int16 nConversionPropertyType
OUString DictionaryList::makeTabString( const DictionaryEntry& rEntry ) const
{
- String aStr( rEntry.m_aTerm );
- aStr += '\t';
- aStr += String( rEntry.m_aMapping );
- aStr += '\t';
+ OUString aStr( rEntry.m_aTerm );
+ aStr += "\t";
+ aStr += rEntry.m_aMapping;
+ aStr += "\t";
aStr += getPropertyTypeName( rEntry.m_nConversionPropertyType );
return aStr;
}
@@ -547,9 +547,9 @@ ChineseDictionaryDialog::ChineseDictionaryDialog( Window* pParent )
//init HeaderBar and set tabs
{
- String aColumn1( OutputDevice::GetNonMnemonicString( m_aFT_Term.GetText() ) );
- String aColumn2( OutputDevice::GetNonMnemonicString( m_aFT_Mapping.GetText() ) );
- String aColumn3( OutputDevice::GetNonMnemonicString( m_aFT_Property.GetText() ) );
+ OUString aColumn1( OutputDevice::GetNonMnemonicString( m_aFT_Term.GetText() ) );
+ OUString aColumn2( OutputDevice::GetNonMnemonicString( m_aFT_Mapping.GetText() ) );
+ OUString aColumn3( OutputDevice::GetNonMnemonicString( m_aFT_Property.GetText() ) );
long nWidth1 = m_aED_Mapping.GetPosPixel().X() - m_aED_Term.GetPosPixel().X();
long nWidth2 = m_aLB_Property.GetPosPixel().X() - m_aED_Mapping.GetPosPixel().X();