Kaydet (Commit) eb2bc3ca authored tarafından Noel Grandin's avatar Noel Grandin

convert svx/.../chinese_dictionarydialog.hxx from String to OUString

Change-Id: I66fd209297e8550495a0f99de573eae6e54768c3
üst b7b50269
...@@ -80,7 +80,7 @@ DictionaryList::DictionaryList( Window* pParent ) ...@@ -80,7 +80,7 @@ DictionaryList::DictionaryList( Window* pParent )
{ {
} }
String DictionaryList::getPropertyTypeName( sal_Int16 nConversionPropertyType ) const OUString DictionaryList::getPropertyTypeName( sal_Int16 nConversionPropertyType ) const
{ {
if(!m_pPropertyTypeNameListBox || !m_pPropertyTypeNameListBox->GetEntryCount()) if(!m_pPropertyTypeNameListBox || !m_pPropertyTypeNameListBox->GetEntryCount())
return String(); return String();
...@@ -91,7 +91,7 @@ String DictionaryList::getPropertyTypeName( sal_Int16 nConversionPropertyType ) ...@@ -91,7 +91,7 @@ String DictionaryList::getPropertyTypeName( sal_Int16 nConversionPropertyType )
return m_pPropertyTypeNameListBox->GetEntry(0); return m_pPropertyTypeNameListBox->GetEntry(0);
} }
String DictionaryList::makeTabString( const DictionaryEntry& rEntry ) const OUString DictionaryList::makeTabString( const DictionaryEntry& rEntry ) const
{ {
String aStr( rEntry.m_aTerm ); String aStr( rEntry.m_aTerm );
aStr += '\t'; aStr += '\t';
...@@ -315,7 +315,7 @@ void DictionaryList::activate( HeaderBar* pHeaderBar ) ...@@ -315,7 +315,7 @@ void DictionaryList::activate( HeaderBar* pHeaderBar )
Show(); Show();
} }
HeaderBar* DictionaryList::createHeaderBar( const String& rColumn1, const String& rColumn2, const String& rColumn3 HeaderBar* DictionaryList::createHeaderBar( const OUString& rColumn1, const OUString& rColumn2, const OUString& rColumn3
, long nWidth1, long nWidth2, long nWidth3 ) , long nWidth1, long nWidth2, long nWidth3 )
{ {
HeaderBar* pHeaderBar = new HeaderBar( Control::GetParent(), WB_BUTTONSTYLE | WB_BOTTOMBORDER ); HeaderBar* pHeaderBar = new HeaderBar( Control::GetParent(), WB_BUTTONSTYLE | WB_BOTTOMBORDER );
......
...@@ -69,7 +69,7 @@ public: ...@@ -69,7 +69,7 @@ public:
DictionaryList( Window* pParent ); DictionaryList( Window* pParent );
virtual ~DictionaryList(); virtual ~DictionaryList();
HeaderBar* createHeaderBar( const String& rColumn1, const String& rColumn2, const String& rColumn3 HeaderBar* createHeaderBar( const OUString& rColumn1, const OUString& rColumn2, const OUString& rColumn3
, long nWidth1, long nWidth2, long nWidth3 ); , long nWidth1, long nWidth2, long nWidth3 );
void initDictionaryControl( const ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XConversionDictionary>& xDictionary void initDictionaryControl( const ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XConversionDictionary>& xDictionary
...@@ -95,8 +95,8 @@ public: ...@@ -95,8 +95,8 @@ public:
virtual void Resize(); virtual void Resize();
private: private:
String getPropertyTypeName( sal_Int16 nConversionPropertyType /*linguistic2::ConversionPropertyType*/ ) const; OUString getPropertyTypeName( sal_Int16 nConversionPropertyType /*linguistic2::ConversionPropertyType*/ ) const;
String makeTabString( const DictionaryEntry& rEntry ) const; OUString makeTabString( const DictionaryEntry& rEntry ) const;
DECL_LINK( CompareHdl, SvSortData* ); DECL_LINK( CompareHdl, SvSortData* );
StringCompare ColumnCompare( SvTreeListEntry* pLeft, SvTreeListEntry* pRight ); StringCompare ColumnCompare( SvTreeListEntry* pLeft, SvTreeListEntry* pRight );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment