From bbbc20bd5f4ca5ff726667869b7b7537606b2a77 Mon Sep 17 00:00:00 2001 From: Joseph Powers Date: Mon, 29 Aug 2011 06:29:06 -0700 Subject: Rename class XColorTable to XColorList The class is now based on XPropertyList instead of XPropertyTable and all of the other classed based on XPropertyList are named X..List. --- reportdesign/source/ui/dlg/Condition.cxx | 2 +- reportdesign/source/ui/misc/UITools.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'reportdesign') diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx index 2825cba14163..aad4c9bc5fd0 100644 --- a/reportdesign/source/ui/dlg/Condition.cxx +++ b/reportdesign/source/ui/dlg/Condition.cxx @@ -151,7 +151,7 @@ OColorPopup::OColorPopup(Window* _pParent,Condition* _pCondition) m_aColorSet.SetHelpId( HID_RPT_POPUP_COLOR_CTRL ); SetHelpId( HID_RPT_POPUP_COLOR ); const Size aSize12( 13, 13 ); - ::std::auto_ptr pColorTable(new XColorTable( SvtPathOptions().GetPalettePath() )); + ::std::auto_ptr pColorTable(new XColorList( SvtPathOptions().GetPalettePath() )); short i = 0; long nCount = pColorTable->Count(); XColorEntry* pEntry = NULL; diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index 6fafee3d07ca..abde2bced493 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -50,7 +50,7 @@ #include #include #include -#include // XColorTable +#include // XColorList #include #include #include @@ -657,7 +657,7 @@ bool openCharDialog( const uno::Reference& _rxRep }; Window* pParent = VCLUnoHelper::GetWindow( _rxParentWindow ); ::std::auto_ptr pFontList(new FontList( pParent )); - ::std::auto_ptr pColorTable( new XColorTable( SvtPathOptions().GetPalettePath() )); + ::std::auto_ptr pColorTable( new XColorList( SvtPathOptions().GetPalettePath() )); SfxPoolItem* pDefaults[] = { new SvxFontItem(ITEMID_FONT), @@ -771,7 +771,7 @@ bool openAreaDialog( const uno::Reference& _xShape,const uno::R // #i74099# by default, the dialog deletes the current color table if a different one is loaded // (see SwDrawShell::ExecDrawDlg) const SvxColorTableItem* pColorItem = static_cast( pDescriptor->GetItem(SID_COLOR_TABLE) ); - if (pColorItem && pColorItem->GetColorTable() == &XColorTable::GetStdColorTable()) + if (pColorItem && pColorItem->GetColorTable() == &XColorList::GetStdColorTable()) pDialog->DontDeleteColorTable(); bSuccess = ( RET_OK == pDialog->Execute() ); if ( bSuccess ) -- cgit