summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/autofmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/miscdlgs/autofmt.cxx')
-rw-r--r--sc/source/ui/miscdlgs/autofmt.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx
index 281acd237a58..67920b735475 100644
--- a/sc/source/ui/miscdlgs/autofmt.cxx
+++ b/sc/source/ui/miscdlgs/autofmt.cxx
@@ -52,8 +52,6 @@
#define FRAME_OFFSET 4
-
-
// ScAutoFmtPreview
ScAutoFmtPreview::ScAutoFmtPreview(Window* pParent)
@@ -157,8 +155,6 @@ rFont.MethodName( Value ); rCJKFont.MethodName( Value ); rCTLFont.MethodName( Va
}
}
-
-
sal_uInt16 ScAutoFmtPreview::GetFormatIndex( size_t nCol, size_t nRow ) const
{
static const sal_uInt16 pnFmtMap[] =
@@ -184,8 +180,6 @@ const SvxLineItem& ScAutoFmtPreview::GetDiagItem( size_t nCol, size_t nRow, bool
return *static_cast< const SvxLineItem* >( pCurData->GetItem( GetFormatIndex( nCol, nRow ), bTLBR ? ATTR_BORDER_TLBR : ATTR_BORDER_BLTR ) );
}
-
-
void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
{
if ( pCurData )
@@ -369,8 +363,6 @@ void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow )
#undef FRAME_OFFSET
-
-
void ScAutoFmtPreview::DrawStrings()
{
for( size_t nRow = 0; nRow < 5; ++nRow )
@@ -378,8 +370,6 @@ void ScAutoFmtPreview::DrawStrings()
DrawString( nCol, nRow );
}
-
-
void ScAutoFmtPreview::DrawBackground()
{
if( pCurData )
@@ -401,8 +391,6 @@ void ScAutoFmtPreview::DrawBackground()
}
}
-
-
void ScAutoFmtPreview::PaintCells()
{
if ( pCurData )
@@ -451,8 +439,6 @@ void ScAutoFmtPreview::CalcCellArray( bool bFitWidthP )
aPrvSize.Height() = maArray.GetHeight() + 4;
}
-
-
inline void lclSetStyleFromBorder( svx::frame::Style& rStyle, const ::editeng::SvxBorderLine* pBorder )
{
rStyle.Set( pBorder, 1.0 / TWIPS_PER_POINT, 5 );
@@ -531,8 +517,6 @@ void ScAutoFmtPreview::DoPaint( const Rectangle& /* rRect */ )
aVD.SetDrawMode( nOldDrawMode );
}
-
-
void ScAutoFmtPreview::Paint( const Rectangle& rRect )
{
DoPaint( rRect );