diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-19 22:37:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-20 10:02:46 +0100 |
commit | ac923c54738b77e1988c19127cdcfbaaca8cedfa (patch) | |
tree | 4c9794c97bb0abc49eb3b2f14db8c09c9599a744 | |
parent | ca9fe5dff457794e55a6bb68633d2a4c2606bd63 (diff) |
callcatcher: XColorList, your time has cometh to an end
-rw-r--r-- | svx/inc/svx/xtable.hxx | 27 | ||||
-rw-r--r-- | svx/source/xoutdev/xtabcolr.cxx | 82 |
2 files changed, 0 insertions, 109 deletions
diff --git a/svx/inc/svx/xtable.hxx b/svx/inc/svx/xtable.hxx index b00fbaa337d2..b35979d12790 100644 --- a/svx/inc/svx/xtable.hxx +++ b/svx/inc/svx/xtable.hxx @@ -327,33 +327,6 @@ public: static XColorTable& GetStdColorTable(); }; -// ------------------- -// class XColorList -// ------------------- - -class XColorList : public XPropertyList -{ -public: - explicit XColorList( - const String& rPath, - XOutdevItemPool* pXPool = NULL - ); - virtual ~XColorList(); - - using XPropertyList::Replace; - XColorEntry* Replace(XColorEntry* pEntry, long nIndex ); - using XPropertyList::Remove; - XColorEntry* Remove(long nIndex); - using XPropertyList::Get; - XColorEntry* GetColor(long nIndex) const; - - virtual sal_Bool Load(); - virtual sal_Bool Save(); - virtual sal_Bool Create(); - virtual sal_Bool CreateBitmapsForUI(); - virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True ); -}; - // -------------------- // class XLineEndTable // -------------------- diff --git a/svx/source/xoutdev/xtabcolr.cxx b/svx/source/xoutdev/xtabcolr.cxx index 67c3136ba98b..4bb68120b97a 100644 --- a/svx/source/xoutdev/xtabcolr.cxx +++ b/svx/source/xoutdev/xtabcolr.cxx @@ -457,86 +457,4 @@ Bitmap* XColorTable::CreateBitmapForUI( long /*nIndex*/, sal_Bool /*bDelete*/) return( NULL ); } -// -------------------- -// class XColorList -// -------------------- - -/************************************************************************* -|* -|* XColorList::XColorList() -|* -*************************************************************************/ - -XColorList::XColorList( - const String& rPath, - XOutdevItemPool* pInPool -) : XPropertyList( rPath, pInPool ) -{ - // pBmpList = new List( nInitSize, nReSize ); -} - -/************************************************************************/ - -XColorList::~XColorList() -{ -} - -/************************************************************************/ - -XColorEntry* XColorList::Replace(XColorEntry* pEntry, long nIndex ) -{ - return (XColorEntry*) XPropertyList::Replace(pEntry, nIndex); -} - -/************************************************************************/ - -XColorEntry* XColorList::Remove(long nIndex) -{ - return (XColorEntry*) XPropertyList::Remove(nIndex); -} - -/************************************************************************/ - -XColorEntry* XColorList::GetColor(long nIndex) const -{ - return (XColorEntry*) XPropertyList::Get(nIndex, 0); -} - -/************************************************************************/ - -sal_Bool XColorList::Load() -{ - return( sal_False ); -} - -/************************************************************************/ - -sal_Bool XColorList::Save() -{ - return( sal_False ); -} - -/************************************************************************/ - -sal_Bool XColorList::Create() -{ - return( sal_False ); -} - -/************************************************************************/ - -sal_Bool XColorList::CreateBitmapsForUI() -{ - return( sal_False ); -} - -/************************************************************************/ - -Bitmap* XColorList::CreateBitmapForUI( long /*nIndex*/, sal_Bool /*bDelete*/) -{ - return( NULL ); -} - -// eof - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |