summaryrefslogtreecommitdiff
path: root/sc/source/core/data/attrib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/attrib.cxx')
-rw-r--r--sc/source/core/data/attrib.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 712bd0457e5c..07e3f29c9ba4 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -51,10 +51,8 @@ TYPEINIT1(ScDoubleItem, SfxPoolItem);
TYPEINIT1(ScPageScaleToItem, SfxPoolItem);
TYPEINIT1(ScCondFormatItem, SfxPoolItem);
-
// General Help Function
-
bool ScHasPriority( const ::editeng::SvxBorderLine* pThis, const ::editeng::SvxBorderLine* pOther )
{
@@ -87,7 +85,6 @@ bool ScHasPriority( const ::editeng::SvxBorderLine* pThis, const ::editeng::SvxB
// Merge
-
ScMergeAttr::ScMergeAttr():
SfxPoolItem(ATTR_MERGE),
nColMerge(0),
@@ -143,10 +140,8 @@ SfxPoolItem* ScMergeAttr::Create( SvStream& rStream, sal_uInt16 /* nVer */ ) con
return new ScMergeAttr(static_cast<SCCOL>(nCol),static_cast<SCROW>(nRow));
}
-
// MergeFlag
-
ScMergeFlagAttr::ScMergeFlagAttr():
SfxInt16Item(ATTR_MERGE_FLAG, 0)
{
@@ -171,10 +166,8 @@ bool ScMergeFlagAttr::HasPivotPopupButton() const
return (GetValue() & SC_MF_BUTTON_POPUP) != 0;
}
-
// Protection
-
ScProtectionAttr::ScProtectionAttr():
SfxPoolItem(ATTR_PROTECTION),
bProtection(true),
@@ -396,10 +389,8 @@ bool ScProtectionAttr::SetHidePrint( bool bHPrint)
return true;
}
-
// ScRangeItem - Tabellenbereich
-
bool ScRangeItem::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==(rAttr), "unequal types" );
@@ -445,10 +436,8 @@ SfxItemPresentation ScRangeItem::GetPresentation
return ePres;
}
-
// ScTableListItem - List from Tables (-numbers)
-
ScTableListItem::ScTableListItem( const ScTableListItem& rCpy )
: SfxPoolItem ( rCpy.Which() ),
nCount ( rCpy.nCount )
@@ -464,7 +453,6 @@ ScTableListItem::ScTableListItem( const ScTableListItem& rCpy )
pTabArr = NULL;
}
-
ScTableListItem::~ScTableListItem()
{
delete [] pTabArr;
@@ -559,7 +547,6 @@ SfxItemPresentation ScTableListItem::GetPresentation
// ScPageHFItem - Dates from the Head and Foot lines
-
ScPageHFItem::ScPageHFItem( sal_uInt16 nWhichP )
: SfxPoolItem ( nWhichP ),
pLeftArea ( NULL ),
@@ -809,7 +796,6 @@ SfxPoolItem* ScPageHFItem::Create( SvStream& rStream, sal_uInt16 nVer ) const
return pItem;
}
-
void ScPageHFItem::SetLeftArea( const EditTextObject& rNew )
{
delete pLeftArea;
@@ -840,10 +826,8 @@ void ScPageHFItem::SetArea( EditTextObject *pNew, int nArea )
}
}
-
// ScViewObjectModeItem - Display Mode of View Objects
-
ScViewObjectModeItem::ScViewObjectModeItem( sal_uInt16 nWhichP )
: SfxEnumItem( nWhichP, VOBJ_MODE_SHOW )
{
@@ -949,10 +933,8 @@ SfxPoolItem* ScViewObjectModeItem::Create(
}
}
-
// double
-
ScDoubleItem::ScDoubleItem( sal_uInt16 nWhichP, double nVal )
: SfxPoolItem ( nWhichP ),
nValue ( nVal )
@@ -996,7 +978,6 @@ ScDoubleItem::~ScDoubleItem()
{
}
-
ScPageScaleToItem::ScPageScaleToItem() :
SfxPoolItem( ATTR_PAGE_SCALETO ),
mnWidth( 0 ),
@@ -1130,7 +1111,6 @@ ScCondFormatItem* ScCondFormatItem::Clone(SfxItemPool*) const
return new ScCondFormatItem(maIndex);
}
-
void ScCondFormatItem::AddCondFormatData( sal_uInt32 nIndex )
{
maIndex.push_back(nIndex);
@@ -1141,5 +1121,4 @@ void ScCondFormatItem::SetCondFormatData( const std::vector<sal_uInt32>& rIndex
maIndex = rIndex;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */