diff options
29 files changed, 75 insertions, 72 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 2d980fe76031..05f5c1051d8c 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -260,9 +260,10 @@ bool CheckBox::IsChecked( sal_uLong nPos ) const //---------------------------------------------------------------------------- -void CheckBox::InitEntry( SvTreeListEntry* pEntry, const XubString& rTxt, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind ) +void CheckBox::InitEntry(SvTreeListEntry* pEntry, const OUString& rTxt, + const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind ) { - SvTabListBox::InitEntry( pEntry, rTxt, rImg1, rImg2, eButtonKind ); + SvTabListBox::InitEntry(pEntry, rTxt, rImg1, rImg2, eButtonKind); if (eMode == ObjectMode::Module) { diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index 156f0ad66058..34de345f8964 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -140,7 +140,7 @@ public: void CheckEntryPos( sal_uLong nPos ); bool IsChecked( sal_uLong nPos ) const; - virtual void InitEntry( SvTreeListEntry*, const XubString&, const Image&, const Image&, SvLBoxButtonKind eButtonKind ); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind eButtonKind); virtual sal_Bool EditingEntry( SvTreeListEntry* pEntry, Selection& rSel ); virtual sal_Bool EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewText ); diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 0d6eb9e4a5ab..a3ac4500cc61 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -663,13 +663,13 @@ void SfxAccCfgLBoxString_Impl::Paint( } //----------------------------------------------- -void SfxAccCfgTabListBox_Impl::InitEntry( SvTreeListEntry* pEntry , - const XubString& sText , - const Image& aImage1, - const Image& aImage2, - SvLBoxButtonKind eButtonKind) +void SfxAccCfgTabListBox_Impl::InitEntry(SvTreeListEntry* pEntry, + const OUString& rText, + const Image& rImage1, + const Image& rImage2, + SvLBoxButtonKind eButtonKind) { - SvTabListBox::InitEntry(pEntry, sText, aImage1, aImage2, eButtonKind); + SvTabListBox::InitEntry(pEntry, rText, rImage1, rImage2, eButtonKind); } //----------------------------------------------- diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx index b2309e947da9..a837b8d2d441 100644 --- a/cui/source/inc/acccfg.hxx +++ b/cui/source/inc/acccfg.hxx @@ -61,7 +61,8 @@ class SfxAccCfgTabListBox_Impl : public SvTabListBox void KeyInput( const KeyEvent &rKEvt ); protected: - virtual void InitEntry( SvTreeListEntry*, const XubString&, const Image&, const Image&, SvLBoxButtonKind eButtonKind ); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, + const Image&, SvLBoxButtonKind eButtonKind); public: SfxAccCfgTabListBox_Impl( diff --git a/cui/source/options/optHeaderTabListbox.cxx b/cui/source/options/optHeaderTabListbox.cxx index 6149c15b8f1c..32ba1070735e 100644 --- a/cui/source/options/optHeaderTabListbox.cxx +++ b/cui/source/options/optHeaderTabListbox.cxx @@ -57,7 +57,7 @@ OptHeaderTabListBox::OptHeaderTabListBox( Window* pParent, WinBits nWinStyle ) : } // ----------------------------------------------------------------------- -void OptHeaderTabListBox::InitEntry( SvTreeListEntry* pEntry, const XubString& rTxt, +void OptHeaderTabListBox::InitEntry( SvTreeListEntry* pEntry, const OUString& rTxt, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind ) { diff --git a/cui/source/options/optHeaderTabListbox.hxx b/cui/source/options/optHeaderTabListbox.hxx index 472dcc13449b..8124a1c3205d 100644 --- a/cui/source/options/optHeaderTabListbox.hxx +++ b/cui/source/options/optHeaderTabListbox.hxx @@ -30,7 +30,7 @@ namespace svx public: OptHeaderTabListBox( Window* pParent, WinBits nBits ); - virtual void InitEntry( SvTreeListEntry*, const XubString&, const Image&, const Image&, SvLBoxButtonKind ); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); }; } // svx #endif // SVX_OPTHEADERTABLISTBOX_HXX diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 96b5ce3e5944..c62068e533fc 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -156,7 +156,7 @@ void DBTreeListBox::RequestingChildren( SvTreeListEntry* pParent ) } // ------------------------------------------------------------------------- -void DBTreeListBox::InitEntry( SvTreeListEntry* _pEntry, const XubString& aStr, const Image& _rCollEntryBmp, const Image& _rExpEntryBmp, SvLBoxButtonKind eButtonKind) +void DBTreeListBox::InitEntry(SvTreeListEntry* _pEntry, const OUString& aStr, const Image& _rCollEntryBmp, const Image& _rExpEntryBmp, SvLBoxButtonKind eButtonKind) { SvTreeListBox::InitEntry( _pEntry, aStr, _rCollEntryBmp,_rExpEntryBmp, eButtonKind); SvLBoxItem* pTextItem(_pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 94b2d32652d4..a2d41151c00e 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -422,7 +422,7 @@ void OTableTreeListBox::implEmphasize(SvTreeListEntry* _pEntry, sal_Bool _bCheck } //------------------------------------------------------------------------ -void OTableTreeListBox::InitEntry(SvTreeListEntry* _pEntry, const XubString& _rString, const Image& _rCollapsedBitmap, const Image& _rExpandedBitmap, SvLBoxButtonKind _eButtonKind) +void OTableTreeListBox::InitEntry(SvTreeListEntry* _pEntry, const OUString& _rString, const Image& _rCollapsedBitmap, const Image& _rExpandedBitmap, SvLBoxButtonKind _eButtonKind) { OMarkableTreeListBox::InitEntry(_pEntry, _rString, _rCollapsedBitmap, _rExpandedBitmap, _eButtonKind); diff --git a/dbaccess/source/ui/inc/WNameMatch.hxx b/dbaccess/source/ui/inc/WNameMatch.hxx index 038b7032a8e6..0beb95559bee 100644 --- a/dbaccess/source/ui/inc/WNameMatch.hxx +++ b/dbaccess/source/ui/inc/WNameMatch.hxx @@ -35,7 +35,7 @@ namespace dbaui { sal_Bool m_bReadOnly; protected: - virtual void InitEntry(SvTreeListEntry* pEntry, const String& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind); + virtual void InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind); public: OColumnTreeBox( Window* pParent, const ResId& rResId ); diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx index de6e45a9d6e3..f61c8ad7e30b 100644 --- a/dbaccess/source/ui/inc/dbtreelistbox.hxx +++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx @@ -123,7 +123,7 @@ namespace dbaui virtual void KeyInput( const KeyEvent& rKEvt ); virtual void StateChanged( StateChangedType nStateChange ); - virtual void InitEntry( SvTreeListEntry* pEntry, const XubString& aStr, const Image& aCollEntryBmp, const Image& aExpEntryBmp, SvLBoxButtonKind eButtonKind); + virtual void InitEntry(SvTreeListEntry* pEntry, const OUString& aStr, const Image& aCollEntryBmp, const Image& aExpEntryBmp, SvLBoxButtonKind eButtonKind); // enable editing for tables/views and queries virtual sal_Bool EditingEntry( SvTreeListEntry* pEntry, Selection& ); diff --git a/dbaccess/source/ui/inc/tabletree.hxx b/dbaccess/source/ui/inc/tabletree.hxx index 50688d9a8519..960f426d7e04 100644 --- a/dbaccess/source/ui/inc/tabletree.hxx +++ b/dbaccess/source/ui/inc/tabletree.hxx @@ -145,7 +145,7 @@ public: sal_Bool isWildcardChecked(SvTreeListEntry* _pEntry) const; protected: - virtual void InitEntry(SvTreeListEntry* _pEntry, const XubString& _rString, const Image& _rCollapsedBitmap, const Image& _rExpandedBitmap, SvLBoxButtonKind _eButtonKind); + virtual void InitEntry(SvTreeListEntry* _pEntry, const OUString& _rString, const Image& _rCollapsedBitmap, const Image& _rExpandedBitmap, SvLBoxButtonKind _eButtonKind); virtual void checkedButton_noBroadcast(SvTreeListEntry* _pEntry); diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx index 44d8da76293d..6a40a71f7f4e 100644 --- a/dbaccess/source/ui/misc/WNameMatch.cxx +++ b/dbaccess/source/ui/misc/WNameMatch.cxx @@ -358,9 +358,9 @@ OColumnTreeBox::OColumnTreeBox( Window* pParent, const ResId& rResId ) SetSelectionMode( SINGLE_SELECTION ); } //------------------------------------------------------------------------ -void OColumnTreeBox::InitEntry(SvTreeListEntry* pEntry, const String& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind) +void OColumnTreeBox::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind) { - DBTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2, eButtonKind ); + DBTreeListBox::InitEntry(pEntry, rStr, rImg1, rImg2, eButtonKind); SvLBoxString* pString = new OColumnString(pEntry, 0, rStr,sal_False); if (pString) pEntry->ReplaceItem( pString, pEntry->ItemCount() - 1 ); diff --git a/helpcontent2 b/helpcontent2 -Subproject a5dda4966fe9f77fb767cf084d7113a4393d69d +Subproject 5bfa0312c389fab33dde8bc3d196dc51764b12b diff --git a/svtools/inc/svtools/svtabbx.hxx b/svtools/inc/svtools/svtabbx.hxx index a10fb4c2c73b..b8d5b0732dfa 100644 --- a/svtools/inc/svtools/svtabbx.hxx +++ b/svtools/inc/svtools/svtabbx.hxx @@ -65,7 +65,7 @@ protected: static const sal_Unicode* GetToken( const sal_Unicode* pPtr, sal_uInt16& rLen ); virtual void SetTabs(); - virtual void InitEntry( SvTreeListEntry*, const XubString&, const Image&, const Image&, SvLBoxButtonKind ); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); String GetTabEntryText( sal_uLong nPos, sal_uInt16 nCol ) const; SvTreeListEntry* GetEntryOnPos( sal_uLong _nEntryPos ) const; diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx index 82842609be6e..6cd21625350c 100644 --- a/svtools/inc/svtools/treelistbox.hxx +++ b/svtools/inc/svtools/treelistbox.hxx @@ -579,7 +579,7 @@ protected: SvLBoxTab* GetTab( SvTreeListEntry*, SvLBoxItem* ) const; void ClearTabList(); - virtual void InitEntry(SvTreeListEntry*,const XubString&,const Image&,const Image&,SvLBoxButtonKind); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); virtual void NotifyBeginScroll(); virtual void NotifyEndScroll(); diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index d9f0c55d18af..ab3bf5cb101d 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -79,10 +79,10 @@ void SvTabListBox::SetTabs() } } -void SvTabListBox::InitEntry( SvTreeListEntry* pEntry, const XubString& rStr, - const Image& rColl, const Image& rExp, SvLBoxButtonKind eButtonKind ) +void SvTabListBox::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, + const Image& rColl, const Image& rExp, SvLBoxButtonKind eButtonKind) { - SvTreeListBox::InitEntry( pEntry, rStr, rColl, rExp, eButtonKind ); + SvTreeListBox::InitEntry(pEntry, rStr, rColl, rExp, eButtonKind); XubString aToken; const sal_Unicode* pCurToken = aCurEntry.GetBuffer(); diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 2806d30f55f4..9b773e52536b 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -1750,9 +1750,9 @@ void SvTreeListBox::SetTabs() pImp->NotifyTabsChanged(); } -void SvTreeListBox::InitEntry( SvTreeListEntry* pEntry, - const XubString& aStr, const Image& aCollEntryBmp, const Image& aExpEntryBmp, - SvLBoxButtonKind eButtonKind) +void SvTreeListBox::InitEntry(SvTreeListEntry* pEntry, + const OUString& aStr, const Image& aCollEntryBmp, const Image& aExpEntryBmp, + SvLBoxButtonKind eButtonKind) { DBG_CHKTHIS(SvTreeListBox,0); SvLBoxButton* pButton; diff --git a/svx/inc/svx/ctredlin.hxx b/svx/inc/svx/ctredlin.hxx index 2d7563b6d737..2eabe080f7a2 100644 --- a/svx/inc/svx/ctredlin.hxx +++ b/svx/inc/svx/ctredlin.hxx @@ -116,7 +116,7 @@ private: protected: virtual StringCompare ColCompare(SvTreeListEntry*,SvTreeListEntry*); - virtual void InitEntry(SvTreeListEntry*,const XubString&,const Image&,const Image&,SvLBoxButtonKind); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); diff --git a/svx/inc/svx/fontlb.hxx b/svx/inc/svx/fontlb.hxx index 422e99cacd92..5781e3a93a86 100644 --- a/svx/inc/svx/fontlb.hxx +++ b/svx/inc/svx/fontlb.hxx @@ -104,10 +104,10 @@ protected: @descr Uses current value of maEntryFont to set the entry font (if mbUseFont is true). */ virtual void InitEntry( SvTreeListEntry* pEntry, - const XubString& rEntryText, + const OUString& rEntryText, const Image& rCollImg, const Image& rExpImg, - SvLBoxButtonKind eButtonKind ); + SvLBoxButtonKind eButtonKind); }; // ============================================================================ diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index aad70d4ff44b..0b106cc48e84 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -440,8 +440,8 @@ SvTreeListEntry* SvxRedlinTable::CreateEntry() const return new SvxRedlinEntry; } -void SvxRedlinTable::InitEntry( SvTreeListEntry* pEntry, const XubString& rStr, - const Image& rColl, const Image& rExp, SvLBoxButtonKind eButtonKind ) +void SvxRedlinTable::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, + const Image& rColl, const Image& rExp, SvLBoxButtonKind eButtonKind) { SvLBoxButton* pButton; SvLBoxString* pString; diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index cde54e5dcbaa..553a4af49e77 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -211,9 +211,9 @@ sal_Bool RecoveryCore::isBrokenTempEntry(const TURLInfo& rInfo) } //=============================================== -void RecoveryCore::saveBrokenTempEntries(const ::rtl::OUString& sPath) +void RecoveryCore::saveBrokenTempEntries(const OUString& rPath) { - if (sPath.isEmpty()) + if (rPath.isEmpty()) return; if (!m_xRealCore.is()) @@ -225,7 +225,7 @@ void RecoveryCore::saveBrokenTempEntries(const ::rtl::OUString& sPath) lCopyArgs[0].Name = PROP_DISPATCHASYNCHRON; lCopyArgs[0].Value <<= sal_False; lCopyArgs[1].Name = PROP_SAVEPATH; - lCopyArgs[1].Value <<= sPath; + lCopyArgs[1].Value <<= rPath; lCopyArgs[2].Name = PROP_ENTRYID; // lCopyArgs[2].Value will be changed during next loop ... @@ -249,9 +249,9 @@ void RecoveryCore::saveBrokenTempEntries(const ::rtl::OUString& sPath) } //=============================================== -void RecoveryCore::saveAllTempEntries(const ::rtl::OUString& sPath) +void RecoveryCore::saveAllTempEntries(const OUString& rPath) { - if (sPath.isEmpty()) + if (rPath.isEmpty()) return; if (!m_xRealCore.is()) @@ -263,7 +263,7 @@ void RecoveryCore::saveAllTempEntries(const ::rtl::OUString& sPath) lCopyArgs[0].Name = PROP_DISPATCHASYNCHRON; lCopyArgs[0].Value <<= sal_False; lCopyArgs[1].Name = PROP_SAVEPATH; - lCopyArgs[1].Value <<= sPath; + lCopyArgs[1].Value <<= rPath; lCopyArgs[2].Name = PROP_ENTRYID; // lCopyArgs[2].Value will be changed during next loop ... @@ -506,12 +506,12 @@ void SAL_CALL RecoveryCore::statusChanged(const css::frame::FeatureStateEvent& a aNew.ID = lInfo.getUnpackedValueOrDefault(STATEPROP_ID , (sal_Int32)0 ); aNew.DocState = lInfo.getUnpackedValueOrDefault(STATEPROP_STATE , (sal_Int32)0 ); - aNew.OrgURL = lInfo.getUnpackedValueOrDefault(STATEPROP_ORGURL , ::rtl::OUString()); - aNew.TempURL = lInfo.getUnpackedValueOrDefault(STATEPROP_TEMPURL , ::rtl::OUString()); - aNew.FactoryURL = lInfo.getUnpackedValueOrDefault(STATEPROP_FACTORYURL , ::rtl::OUString()); - aNew.TemplateURL = lInfo.getUnpackedValueOrDefault(STATEPROP_TEMPLATEURL, ::rtl::OUString()); - aNew.DisplayName = lInfo.getUnpackedValueOrDefault(STATEPROP_TITLE , ::rtl::OUString()); - aNew.Module = lInfo.getUnpackedValueOrDefault(STATEPROP_MODULE , ::rtl::OUString()); + aNew.OrgURL = lInfo.getUnpackedValueOrDefault(STATEPROP_ORGURL , OUString()); + aNew.TempURL = lInfo.getUnpackedValueOrDefault(STATEPROP_TEMPURL , OUString()); + aNew.FactoryURL = lInfo.getUnpackedValueOrDefault(STATEPROP_FACTORYURL , OUString()); + aNew.TemplateURL = lInfo.getUnpackedValueOrDefault(STATEPROP_TEMPLATEURL, OUString()); + aNew.DisplayName = lInfo.getUnpackedValueOrDefault(STATEPROP_TITLE , OUString()); + aNew.Module = lInfo.getUnpackedValueOrDefault(STATEPROP_MODULE , OUString()); // search for already existing items and update her nState value ... TURLList::iterator pIt; @@ -897,7 +897,7 @@ void RecovDocListEntry::Paint(const Point& aPos , SvTreeListEntry* pEntry ) { const Image* pImg = 0; - const String* pTxt = 0; + const OUString* pTxt = 0; RecovDocList* pList = static_cast< RecovDocList* >(&aDevice); TURLInfo* pInfo = (TURLInfo*)pEntry->GetUserData(); @@ -970,13 +970,13 @@ RecovDocList::~RecovDocList() } //=============================================== -void RecovDocList::InitEntry( SvTreeListEntry* pEntry , - const XubString& sText , - const Image& aImage1, - const Image& aImage2, - SvLBoxButtonKind eButtonKind) +void RecovDocList::InitEntry(SvTreeListEntry* pEntry, + const OUString& rText, + const Image& rImage1, + const Image& rImage2, + SvLBoxButtonKind eButtonKind) { - SvTabListBox::InitEntry(pEntry, sText, aImage1, aImage2, eButtonKind); + SvTabListBox::InitEntry(pEntry, rText, rImage1, rImage2, eButtonKind); DBG_ASSERT( TabCount() == 2, "*RecovDocList::InitEntry(): structure missmatch" ); SvLBoxString* pCol = (SvLBoxString*)pEntry->GetItem(2); diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index 2f877b1b532a..bcfc2e0f4fec 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -138,9 +138,9 @@ XubString SvxFontListBox::GetSelectEntry() const } void SvxFontListBox::InitEntry( - SvTreeListEntry* pEntry, const XubString& rEntryText, + SvTreeListEntry* pEntry, const OUString& rEntryText, const Image& rCollImg, const Image& rExpImg, - SvLBoxButtonKind eButtonKind ) + SvLBoxButtonKind eButtonKind) { if( mbUseFont ) { diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 4b2cec0b4b35..919ec65ea37a 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -1450,10 +1450,10 @@ sal_Int8 FmFilterNavigator::ExecuteDrop( const ExecuteDropEvent& rEvt ) //------------------------------------------------------------------------ void FmFilterNavigator::InitEntry(SvTreeListEntry* pEntry, - const XubString& rStr, + const OUString& rStr, const Image& rImg1, const Image& rImg2, - SvLBoxButtonKind eButtonKind) + SvLBoxButtonKind eButtonKind) { SvTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2, eButtonKind ); SvLBoxString* pString = NULL; diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index e037ea4fecfc..5c3b2f01c43f 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -591,11 +591,11 @@ class RecovDocList : public SvxSimpleTable Image m_aYellowCheckImg; Image m_aRedCrossImg; - String m_aSuccessRecovStr; - String m_aOrigDocRecovStr; - String m_aRecovFailedStr; - String m_aRecovInProgrStr; - String m_aNotRecovYetStr; + OUString m_aSuccessRecovStr; + OUString m_aOrigDocRecovStr; + OUString m_aRecovFailedStr; + OUString m_aRecovInProgrStr; + OUString m_aNotRecovYetStr; //------------------------------------------- // interface @@ -610,11 +610,11 @@ class RecovDocList : public SvxSimpleTable //--------------------------------------- /** @short TODO */ - virtual void InitEntry( SvTreeListEntry* pEntry , - const XubString& sText , - const Image& aImage1, - const Image& aImage2, - SvLBoxButtonKind eButtonKind); + virtual void InitEntry(SvTreeListEntry* pEntry, + const OUString& rText, + const Image& rImage1, + const Image& rImage2, + SvLBoxButtonKind eButtonKind); }; //=============================================== diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index 816ed67bdcdf..805cd8c3311a 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -284,7 +284,7 @@ protected: virtual void KeyInput( const KeyEvent& rKEvt ); virtual void Command( const CommandEvent& rEvt ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); - virtual void InitEntry(SvTreeListEntry* pEntry, const XubString& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind); + virtual void InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, const Image& rImg1, const Image& rImg2, SvLBoxButtonKind eButtonKind); virtual sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True ); virtual sal_Bool EditingEntry( SvTreeListEntry* pEntry, Selection& rSelection ); virtual sal_Bool EditedEntry( SvTreeListEntry* pEntry, const rtl::OUString& rNewText ); diff --git a/svx/workben/msview/msview.cxx b/svx/workben/msview/msview.cxx index 01a721f516b5..657f78e493d4 100644 --- a/svx/workben/msview/msview.cxx +++ b/svx/workben/msview/msview.cxx @@ -535,7 +535,7 @@ public: SvTreeListEntry* findAtom( Atom* pAtom ); - virtual void InitEntry(SvTreeListEntry*,const XubString&,const Image&,const Image&); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&); virtual void SetTabs(); private: @@ -591,7 +591,8 @@ void AtomContainerTreeListBox::SetTabs() AddTab( nStartPos, SV_LBOXTAB_DYNAMIC|SV_LBOXTAB_ADJUST_LEFT | SV_LBOXTAB_SHOW_SELECTION ); } -void AtomContainerTreeListBox::InitEntry(SvTreeListEntry* pEntry,const XubString& aStr,const Image& aCollEntryBmp,const Image& aExpEntryBmp) +void AtomContainerTreeListBox::InitEntry(SvTreeListEntry* pEntry, const OUString& aStr, + const Image& aCollEntryBmp, const Image& aExpEntryBmp) { pEntry->AddItem( new SvLBoxContextBmp( pEntry,0, aCollEntryBmp,aExpEntryBmp, SVLISTENTRYFLAG_EXPANDED ) ); pEntry->AddItem( new SvLBoxContextBmp( pEntry,0, maImgAtom, maImgAtom, SVLISTENTRYFLAG_EXPANDED ) ); diff --git a/sw/source/ui/inc/conttree.hxx b/sw/source/ui/inc/conttree.hxx index 29445acf584d..3d2686322e16 100644 --- a/sw/source/ui/inc/conttree.hxx +++ b/sw/source/ui/inc/conttree.hxx @@ -110,7 +110,7 @@ class SwContentTree : public SvTreeListBox protected: virtual void RequestHelp( const HelpEvent& rHEvt ); - virtual void InitEntry(SvTreeListEntry*,const XubString&,const Image&,const Image&,SvLBoxButtonKind); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); virtual void DataChanged( const DataChangedEvent& rDCEvt ); SwNavigationPI* GetParentWindow(){return @@ -292,7 +292,7 @@ protected: virtual void GetFocus(); virtual void SelectHdl(); virtual void DeselectHdl(); - virtual void InitEntry(SvTreeListEntry*,const XubString&,const Image&,const Image&,SvLBoxButtonKind); + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind); void Clear(); diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx index 86f8718c62b6..78a749db98f1 100644 --- a/sw/source/ui/utlui/content.cxx +++ b/sw/source/ui/utlui/content.cxx @@ -3135,7 +3135,7 @@ public: }; void SwContentTree::InitEntry(SvTreeListEntry* pEntry, - const XubString& rStr ,const Image& rImg1,const Image& rImg2, + const OUString& rStr ,const Image& rImg1,const Image& rImg2, SvLBoxButtonKind eButtonKind) { sal_uInt16 nColToHilite = 1; //0==Bitmap;1=="Spalte1";2=="Spalte2" diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx index 4d2d08cd3390..c086b4f44947 100644 --- a/sw/source/ui/utlui/glbltree.cxx +++ b/sw/source/ui/utlui/glbltree.cxx @@ -1224,7 +1224,7 @@ IMPL_STATIC_LINK_NOINSTANCE(SwGlobalTree, ShowFrameHdl, SwGlobalTree*, EMPTYARG) } void SwGlobalTree::InitEntry(SvTreeListEntry* pEntry, - const XubString& rStr ,const Image& rImg1,const Image& rImg2, + const OUString& rStr ,const Image& rImg1,const Image& rImg2, SvLBoxButtonKind eButtonKind) { sal_uInt16 nColToHilite = 1; //0==Bitmap;1=="Spalte1";2=="Spalte2" |