summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-24 09:57:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-25 14:19:01 +0100
commit344baf17a11772ab265e159796b3d7c49a16c080 (patch)
tree80d404d19fd4aabd4ae0532697fc4faf798ca1b4 /sc
parent810a01c5cf67f276f37ecda954363cf3c3b5385c (diff)
ScCondFrmtItem appears to be a oxbox lake
Change-Id: I9c89d06ec8a96de04d68725c97b102edb77fec38
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/uiitems.cxx54
-rw-r--r--sc/source/ui/inc/uiitems.hxx25
2 files changed, 0 insertions, 79 deletions
diff --git a/sc/source/ui/app/uiitems.cxx b/sc/source/ui/app/uiitems.cxx
index 1d7568d0e7e7..a03fb39a6375 100644
--- a/sc/source/ui/app/uiitems.cxx
+++ b/sc/source/ui/app/uiitems.cxx
@@ -45,7 +45,6 @@ TYPEINIT1(ScConsolidateItem, SfxPoolItem);
TYPEINIT1(ScPivotItem, SfxPoolItem);
TYPEINIT1(ScSolveItem, SfxPoolItem);
TYPEINIT1(ScTabOpItem, SfxPoolItem);
-TYPEINIT1(ScCondFrmtItem, SfxPoolItem);
TYPEINIT1(ScTablesHint, SfxHint);
TYPEINIT1(ScEditViewHint, SfxHint);
@@ -678,57 +677,4 @@ SfxPoolItem* ScTabOpItem::Clone( SfxItemPool * ) const
return new ScTabOpItem( *this );
}
-
-// -----------------------------------------------------------------------
-// ScCondFrmtItem - Daten fuer den Dialog bedingte Formatierung
-// -----------------------------------------------------------------------
-
-ScCondFrmtItem::ScCondFrmtItem( sal_uInt16 nWhichP,
-//! const ScConditionalFormat* pCondFrmt )
- const ScConditionalFormat& rCondFrmt )
- : SfxPoolItem ( nWhichP ),
- theCondFrmtData ( rCondFrmt ) //!
-{
-//! if ( pCondFrmt ) theCondFrmtData = *pCondFrmt;
-}
-
-//------------------------------------------------------------------------
-
-ScCondFrmtItem::ScCondFrmtItem( const ScCondFrmtItem& rItem )
- : SfxPoolItem ( rItem ),
- theCondFrmtData ( rItem.theCondFrmtData )
-{
-}
-
-//------------------------------------------------------------------------
-
-ScCondFrmtItem::~ScCondFrmtItem()
-{
-}
-
-//------------------------------------------------------------------------
-
-String ScCondFrmtItem::GetValueText() const
-{
- return String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("ScCondFrmtItem"));
-}
-
-//------------------------------------------------------------------------
-
-int ScCondFrmtItem::operator==( const SfxPoolItem& rItem ) const
-{
- OSL_ENSURE( SfxPoolItem::operator==( rItem ), "unequal Which or Type" );
-
- const ScCondFrmtItem& rPItem = (const ScCondFrmtItem&)rItem;
-
- return ( theCondFrmtData == rPItem.theCondFrmtData );
-}
-
-//------------------------------------------------------------------------
-
-SfxPoolItem* ScCondFrmtItem::Clone( SfxItemPool * ) const
-{
- return new ScCondFrmtItem( *this );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 2e8258a46852..6158a49b2d53 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -348,31 +348,6 @@ private:
ScTabOpParam theTabOpData;
};
-//----------------------------------------------------------------------------
-// Parameter-Item fuer den Dialog bedingte Formatierung
-
-class ScCondFrmtItem : public SfxPoolItem
-{
-public:
- TYPEINFO();
- ScCondFrmtItem( sal_uInt16 nWhich,
-//! const ScConditionalFormat* pCondFrmt );
- const ScConditionalFormat& rCondFrmt );
- ScCondFrmtItem( const ScCondFrmtItem& rItem );
- ~ScCondFrmtItem();
-
- virtual String GetValueText() const;
- virtual int operator==( const SfxPoolItem& ) const;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
-
- const ScConditionalFormat& GetData() const { return theCondFrmtData; }
-
-private:
- ScConditionalFormat theCondFrmtData;
-};
-
-
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */