summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/stylesbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/stylesbuffer.cxx')
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx47
1 files changed, 0 insertions, 47 deletions
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index 7c3cb20d424c..9b273722f441 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -2305,12 +2305,6 @@ Xf::Xf( const WorkbookHelper& rHelper ) :
{
}
-void Xf::setAllUsedFlags( bool bUsed )
-{
- maModel.mbAlignUsed = maModel.mbProtUsed = maModel.mbFontUsed =
- maModel.mbNumFmtUsed = maModel.mbBorderUsed = maModel.mbAreaUsed = bUsed;
-}
-
void Xf::importXf( const AttributeList& rAttribs, bool bCellXf )
{
maModel.mbCellXf = bCellXf;
@@ -2815,39 +2809,6 @@ void CellStyle::importCellStyle( SequenceInputStream& rStrm )
maModel.mbHidden = getFlag( nFlags, BIFF12_CELLSTYLE_HIDDEN );
}
-void CellStyle::importStyle( BiffInputStream& rStrm )
-{
- sal_uInt16 nStyleXf;
- rStrm >> nStyleXf;
- maModel.mnXfId = static_cast< sal_Int32 >( nStyleXf & BIFF_STYLE_XFMASK );
- maModel.mbBuiltin = getFlag( nStyleXf, BIFF_STYLE_BUILTIN );
- if( maModel.mbBuiltin )
- {
- maModel.mnBuiltinId = rStrm.readInt8();
- maModel.mnLevel = rStrm.readInt8();
- }
- else
- {
- maModel.maName = (getBiff() == BIFF8) ?
- rStrm.readUniString() : rStrm.readByteStringUC( false, getTextEncoding() );
- // #i103281# check if this is a new built-in style introduced in XL2007
- if( (getBiff() == BIFF8) && (rStrm.getNextRecId() == BIFF_ID_STYLEEXT) && rStrm.startNextRecord() )
- {
- sal_uInt8 nExtFlags;
- rStrm.skip( 12 );
- rStrm >> nExtFlags;
- maModel.mbBuiltin = getFlag( nExtFlags, BIFF_STYLEEXT_BUILTIN );
- maModel.mbCustom = getFlag( nExtFlags, BIFF_STYLEEXT_CUSTOM );
- maModel.mbHidden = getFlag( nExtFlags, BIFF_STYLEEXT_HIDDEN );
- if( maModel.mbBuiltin )
- {
- maModel.mnBuiltinId = rStrm.readInt8();
- maModel.mnLevel = rStrm.readInt8();
- }
- }
- }
-}
-
void CellStyle::createCellStyle()
{
@@ -2916,14 +2877,6 @@ CellStyleRef CellStyleBuffer::importCellStyle( SequenceInputStream& rStrm )
return xCellStyle;
}
-CellStyleRef CellStyleBuffer::importStyle( BiffInputStream& rStrm )
-{
- CellStyleRef xCellStyle( new CellStyle( *this ) );
- xCellStyle->importStyle( rStrm );
- insertCellStyle( xCellStyle );
- return xCellStyle;
-}
-
void CellStyleBuffer::finalizeImport()
{
// calculate final names of all styles