summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /sc/source/filter/oox
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/filter/oox')
-rw-r--r--sc/source/filter/oox/addressconverter.cxx10
-rw-r--r--sc/source/filter/oox/autofilterbuffer.cxx4
-rw-r--r--sc/source/filter/oox/biffcodec.cxx4
-rw-r--r--sc/source/filter/oox/commentsbuffer.cxx2
-rw-r--r--sc/source/filter/oox/condformatbuffer.cxx4
-rw-r--r--sc/source/filter/oox/connectionsbuffer.cxx4
-rw-r--r--sc/source/filter/oox/defnamesbuffer.cxx2
-rw-r--r--sc/source/filter/oox/drawingbase.cxx2
-rw-r--r--sc/source/filter/oox/drawingfragment.cxx2
-rw-r--r--sc/source/filter/oox/excelfilter.cxx2
-rw-r--r--sc/source/filter/oox/excelhandlers.cxx4
-rw-r--r--sc/source/filter/oox/externallinkbuffer.cxx2
-rw-r--r--sc/source/filter/oox/formulabase.cxx20
-rw-r--r--sc/source/filter/oox/formulaparser.cxx12
-rw-r--r--sc/source/filter/oox/numberformatsbuffer.cxx14
-rw-r--r--sc/source/filter/oox/ooxformulaparser.cxx2
-rw-r--r--sc/source/filter/oox/pagesettings.cxx10
-rw-r--r--sc/source/filter/oox/pivotcachebuffer.cxx18
-rw-r--r--sc/source/filter/oox/pivotcachefragment.cxx2
-rw-r--r--sc/source/filter/oox/pivottablebuffer.cxx16
-rw-r--r--sc/source/filter/oox/querytablebuffer.cxx4
-rw-r--r--sc/source/filter/oox/richstring.cxx10
-rw-r--r--sc/source/filter/oox/scenariobuffer.cxx6
-rw-r--r--sc/source/filter/oox/sheetdatabuffer.cxx6
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx30
-rw-r--r--sc/source/filter/oox/unitconverter.cxx4
-rw-r--r--sc/source/filter/oox/viewsettings.cxx8
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx2
-rw-r--r--sc/source/filter/oox/worksheethelper.cxx10
29 files changed, 108 insertions, 108 deletions
diff --git a/sc/source/filter/oox/addressconverter.cxx b/sc/source/filter/oox/addressconverter.cxx
index 59028bacd59d..cac8530468b3 100644
--- a/sc/source/filter/oox/addressconverter.cxx
+++ b/sc/source/filter/oox/addressconverter.cxx
@@ -163,7 +163,7 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) :
}
}
-// ----------------------------------------------------------------------------
+
bool AddressConverter::parseOoxAddress2d(
sal_Int32& ornColumn, sal_Int32& ornRow,
@@ -309,7 +309,7 @@ bool AddressConverter::parseOoxRange2d(
return false;
}
-// ----------------------------------------------------------------------------
+
bool AddressConverter::checkCol( sal_Int32 nCol, bool bTrackOverflow )
{
@@ -335,7 +335,7 @@ bool AddressConverter::checkTab( sal_Int16 nSheet, bool bTrackOverflow )
return bValid;
}
-// ----------------------------------------------------------------------------
+
bool AddressConverter::checkCellAddress( const CellAddress& rAddress, bool bTrackOverflow )
{
@@ -418,7 +418,7 @@ CellAddress AddressConverter::createValidCellAddress(
return aAddress;
}
-// ----------------------------------------------------------------------------
+
bool AddressConverter::checkCellRange( const CellRangeAddress& rRange, bool bAllowOverflow, bool bTrackOverflow )
{
@@ -477,7 +477,7 @@ bool AddressConverter::convertToCellRange( CellRangeAddress& orRange,
return validateCellRange( orRange, bAllowOverflow, bTrackOverflow );
}
-// ----------------------------------------------------------------------------
+
void AddressConverter::validateCellRangeList( ApiCellRangeList& orRanges, bool bTrackOverflow )
{
diff --git a/sc/source/filter/oox/autofilterbuffer.cxx b/sc/source/filter/oox/autofilterbuffer.cxx
index 3b98ba7a591e..12193a0a5200 100644
--- a/sc/source/filter/oox/autofilterbuffer.cxx
+++ b/sc/source/filter/oox/autofilterbuffer.cxx
@@ -59,7 +59,7 @@ const sal_uInt8 BIFF_FILTER_DATATYPE_BOOLEAN = 8;
const sal_uInt8 BIFF_FILTER_DATATYPE_EMPTY = 12;
const sal_uInt8 BIFF_FILTER_DATATYPE_NOTEMPTY = 14;
-// ----------------------------------------------------------------------------
+
bool lclGetApiOperatorFromToken( sal_Int32& rnApiOperator, sal_Int32 nToken )
{
@@ -381,7 +381,7 @@ void FilterCriterionModel::readBiffData( SequenceInputStream& rStrm )
}
}
-// ----------------------------------------------------------------------------
+
CustomFilter::CustomFilter( const WorkbookHelper& rHelper ) :
FilterSettingsBase( rHelper ),
diff --git a/sc/source/filter/oox/biffcodec.cxx b/sc/source/filter/oox/biffcodec.cxx
index 51e9fce72d76..9e44c140e4c8 100644
--- a/sc/source/filter/oox/biffcodec.cxx
+++ b/sc/source/filter/oox/biffcodec.cxx
@@ -148,7 +148,7 @@ sal_Int32 lclGetRcfOffset( sal_Int64 nStreamPos )
} // namespace
-// ----------------------------------------------------------------------------
+
BiffDecoder_RCF::BiffDecoder_RCF( const BiffDecoder_RCF& rDecoder ) :
BiffDecoderBase(), // must be called to prevent compiler warning
@@ -231,7 +231,7 @@ void BiffDecoder_RCF::implDecode( sal_uInt8* pnDestData, const sal_uInt8* pnSrcD
}
}
-// ----------------------------------------------------------------------------
+
BiffCodecHelper::BiffCodecHelper( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper )
diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx
index e9489d7a320d..7a4218e18c4a 100644
--- a/sc/source/filter/oox/commentsbuffer.cxx
+++ b/sc/source/filter/oox/commentsbuffer.cxx
@@ -92,7 +92,7 @@ CommentModel::CommentModel() :
{
}
-// ----------------------------------------------------------------------------
+
Comment::Comment( const WorksheetHelper& rHelper ) :
WorksheetHelper( rHelper )
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index d14ff5dc465d..a3c17e0dd3a2 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -120,7 +120,7 @@ const sal_uInt16 BIFF12_CFRULE_ABOVEAVERAGE = 0x0004;
const sal_uInt16 BIFF12_CFRULE_BOTTOM = 0x0008;
const sal_uInt16 BIFF12_CFRULE_PERCENT = 0x0010;
-// ----------------------------------------------------------------------------
+
template< typename Type >
void lclAppendProperty( ::std::vector< PropertyValue >& orProps, const OUString& rPropName, const Type& rValue )
@@ -130,7 +130,7 @@ void lclAppendProperty( ::std::vector< PropertyValue >& orProps, const OUString&
orProps.back().Value <<= rValue;
}
-//------------------------------------------------------------------------------
+
void SetCfvoData( ColorScaleRuleModelEntry* pEntry, const AttributeList& rAttribs )
{
diff --git a/sc/source/filter/oox/connectionsbuffer.cxx b/sc/source/filter/oox/connectionsbuffer.cxx
index 9f81107d342a..631a333cbf72 100644
--- a/sc/source/filter/oox/connectionsbuffer.cxx
+++ b/sc/source/filter/oox/connectionsbuffer.cxx
@@ -84,7 +84,7 @@ WebPrModel::WebPrModel() :
{
}
-// ----------------------------------------------------------------------------
+
ConnectionModel::ConnectionModel() :
mnId( -1 ),
@@ -110,7 +110,7 @@ WebPrModel& ConnectionModel::createWebPr()
return *mxWebPr;
}
-// ----------------------------------------------------------------------------
+
Connection::Connection( const WorkbookHelper& rHelper, sal_Int32 nConnId ) :
WorkbookHelper( rHelper )
diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index 94203a852c7f..ef142cfaa2eb 100644
--- a/sc/source/filter/oox/defnamesbuffer.cxx
+++ b/sc/source/filter/oox/defnamesbuffer.cxx
@@ -63,7 +63,7 @@ const sal_uInt16 BIFF_REFFLAG_ROW1REL = 0x0002;
const sal_uInt16 BIFF_REFFLAG_COL2REL = 0x0004;
const sal_uInt16 BIFF_REFFLAG_ROW2REL = 0x0008;
-// ----------------------------------------------------------------------------
+
const sal_Char* const spcOoxPrefix = "_xlnm.";
diff --git a/sc/source/filter/oox/drawingbase.cxx b/sc/source/filter/oox/drawingbase.cxx
index bbfd7537ccfa..0661e32a3dbe 100644
--- a/sc/source/filter/oox/drawingbase.cxx
+++ b/sc/source/filter/oox/drawingbase.cxx
@@ -63,7 +63,7 @@ CellAnchorModel::CellAnchorModel() :
{
}
-// ----------------------------------------------------------------------------
+
AnchorClientDataModel::AnchorClientDataModel() :
mbLocksWithSheet( true ),
diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx
index a3ca08f9425b..890a6ff0d9c1 100644
--- a/sc/source/filter/oox/drawingfragment.cxx
+++ b/sc/source/filter/oox/drawingfragment.cxx
@@ -320,7 +320,7 @@ private:
sal_Int32 mnRow;
};
-// ----------------------------------------------------------------------------
+
VmlFindNoteFunc::VmlFindNoteFunc( const CellAddress& rPos ) :
mnCol( rPos.Column ),
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx
index 819270548c47..7e61c72131c0 100644
--- a/sc/source/filter/oox/excelfilter.cxx
+++ b/sc/source/filter/oox/excelfilter.cxx
@@ -64,7 +64,7 @@ Reference< XInterface > ExcelFilter_create(
return static_cast< ::cppu::OWeakObject* >( new ExcelFilter( rxContext ) );
}
-// ----------------------------------------------------------------------------
+
ExcelFilter::ExcelFilter( const Reference< XComponentContext >& rxContext ) throw( RuntimeException ) :
XmlFilterBase( rxContext ),
diff --git a/sc/source/filter/oox/excelhandlers.cxx b/sc/source/filter/oox/excelhandlers.cxx
index 406781bf4ebd..df1a8cb6a065 100644
--- a/sc/source/filter/oox/excelhandlers.cxx
+++ b/sc/source/filter/oox/excelhandlers.cxx
@@ -56,7 +56,7 @@ BiffContextHandler::~BiffContextHandler()
{
}
-// ----------------------------------------------------------------------------
+
BiffWorksheetContextBase::BiffWorksheetContextBase( const WorksheetHelper& rHelper ) :
WorksheetHelper( rHelper )
@@ -95,7 +95,7 @@ BiffWorkbookFragmentBase::BiffWorkbookFragmentBase( const WorkbookHelper& rHelpe
getCodecHelper().cloneDecoder( getInputStream() );
}
-// ----------------------------------------------------------------------------
+
} // namespace xls
} // namespace oox
diff --git a/sc/source/filter/oox/externallinkbuffer.cxx b/sc/source/filter/oox/externallinkbuffer.cxx
index c454ae89682d..e4e5d00b9732 100644
--- a/sc/source/filter/oox/externallinkbuffer.cxx
+++ b/sc/source/filter/oox/externallinkbuffer.cxx
@@ -640,7 +640,7 @@ void RefSheetsModel::readBiff12Data( SequenceInputStream& rStrm )
rStrm >> mnExtRefId >> mnTabId1 >> mnTabId2;
}
-// ----------------------------------------------------------------------------
+
ExternalLinkBuffer::ExternalLinkBuffer( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/formulabase.cxx b/sc/source/filter/oox/formulabase.cxx
index 0fd11295274a..c66dfc4160ba 100644
--- a/sc/source/filter/oox/formulabase.cxx
+++ b/sc/source/filter/oox/formulabase.cxx
@@ -119,7 +119,7 @@ void BinSingleRef2d::readBiff8Data( BiffInputStream& rStrm, bool bRelativeAsOffs
setBiff8Data( nCol, nRow, bRelativeAsOffset );
}
-// ----------------------------------------------------------------------------
+
void BinComplexRef2d::readBiff12Data( SequenceInputStream& rStrm, bool bRelativeAsOffset )
{
@@ -912,7 +912,7 @@ static const FunctionData saFuncTableOOoLO[] =
// Other functions.
{ "ORG.OPENOFFICE.CONVERT", "ORG.OPENOFFICE.CONVERT", NOID, NOID, 3, 3, V, { VR }, FUNCFLAG_MACROCALL_NEW }
};
-// ----------------------------------------------------------------------------
+
const sal_Unicode API_TOKEN_OPEN = '(';
const sal_Unicode API_TOKEN_CLOSE = ')';
@@ -988,7 +988,7 @@ private:
sal_uInt8 nMaxParam, bool bImportFilter, FilterType eFilter );
};
-// ----------------------------------------------------------------------------
+
FunctionProviderImpl::FunctionProviderImpl( FilterType eFilter, BiffType eBiff, bool bImportFilter,
bool bCallerKnowsAboutMacroExport )
@@ -1101,7 +1101,7 @@ void FunctionProviderImpl::initFuncs( const FunctionData* pBeg, const FunctionDa
initFunc( *pIt, nMaxParam );
}
-// ----------------------------------------------------------------------------
+
FunctionProvider::FunctionProvider( FilterType eFilter, BiffType eBiff, bool bImportFilter,
bool bCallerKnowsAboutMacroExport ) :
@@ -1185,7 +1185,7 @@ private:
bool initFuncOpCodes( const ApiTokenMap& rIntFuncTokenMap, const ApiTokenMap& rExtFuncTokenMap, const FunctionInfoVector& rFuncInfos );
};
-// ----------------------------------------------------------------------------
+
OpCodeProviderImpl::OpCodeProviderImpl( const FunctionInfoVector& rFuncInfos,
const Reference< XMultiServiceFactory >& rxModelFactory )
@@ -1440,7 +1440,7 @@ bool OpCodeProviderImpl::initFuncOpCodes( const ApiTokenMap& rIntFuncTokenMap, c
return bIsValid;
}
-// ----------------------------------------------------------------------------
+
OpCodeProvider::OpCodeProvider( const Reference< XMultiServiceFactory >& rxModelFactory,
FilterType eFilter, BiffType eBiff, bool bImportFilter, bool bCallerKnowsAboutMacroExport ) :
@@ -1580,7 +1580,7 @@ TokenToRangeListState lclProcessClose( sal_Int32& ornParenLevel )
} // namespace
-// ----------------------------------------------------------------------------
+
FormulaProcessorBase::FormulaProcessorBase( const WorkbookHelper& rHelper ) :
OpCodeProvider( rHelper.getBaseFilter().getModelFactory(), rHelper.getFilterType(), rHelper.getBiff(), rHelper.getBaseFilter().isImportFilter() ),
@@ -1589,7 +1589,7 @@ FormulaProcessorBase::FormulaProcessorBase( const WorkbookHelper& rHelper ) :
{
}
-// ----------------------------------------------------------------------------
+
OUString FormulaProcessorBase::generateAddress2dString( const CellAddress& rAddress, bool bAbsolute )
{
@@ -1611,7 +1611,7 @@ OUString FormulaProcessorBase::generateAddress2dString( const BinAddress& rAddre
return aBuffer.makeStringAndClear();
}
-// ----------------------------------------------------------------------------
+
OUString FormulaProcessorBase::generateApiString( const OUString& rString )
{
@@ -1649,7 +1649,7 @@ OUString FormulaProcessorBase::generateApiArray( const Matrix< Any >& rMatrix )
return aBuffer.makeStringAndClear();
}
-// ----------------------------------------------------------------------------
+
Any FormulaProcessorBase::extractReference( const ApiTokenSequence& rTokens ) const
{
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx
index f6f2948e9042..25c0a260ae4d 100644
--- a/sc/source/filter/oox/formulaparser.cxx
+++ b/sc/source/filter/oox/formulaparser.cxx
@@ -573,7 +573,7 @@ private:
WhiteSpaceVec maClosingSpaces; /// List of whitespaces before closing parenthesis.
};
-// ----------------------------------------------------------------------------
+
FormulaParserImpl::FormulaParserImpl( const FormulaParser& rParent ) :
FormulaFinalizer( rParent ),
@@ -1290,7 +1290,7 @@ private:
bool mbNeedExtRefs; /// True = parser needs initialization of external reference info.
};
-// ----------------------------------------------------------------------------
+
OoxFormulaParserImpl::OoxFormulaParserImpl( const FormulaParser& rParent ) :
FormulaParserImpl( rParent ),
@@ -1842,7 +1842,7 @@ bool lclIsValidNlrRange( const BiffNlr& rNlr, const BinRange& rRange, bool bRow
} // namespace
-// ----------------------------------------------------------------------------
+
class BiffFormulaParserImpl : public FormulaParserImpl
{
@@ -1919,7 +1919,7 @@ private:
bool pushBiffFunction( sal_uInt16 nFuncId );
bool pushBiffFunction( sal_uInt16 nFuncId, sal_uInt8 nParamCount );
- // ------------------------------------------------------------------------
+
private:
typedef bool (BiffFormulaParserImpl::*ImportTokenFunc)( BiffInputStream& );
typedef bool (BiffFormulaParserImpl::*ImportRefTokenFunc)( BiffInputStream&, bool, bool );
@@ -1947,7 +1947,7 @@ private:
sal_uInt16 mnRefIdSize; /// Size of unused data following a reference identifier.
};
-// ----------------------------------------------------------------------------
+
BiffFormulaParserImpl::BiffFormulaParserImpl( const FormulaParser& rParent ) :
FormulaParserImpl( rParent ),
@@ -2764,7 +2764,7 @@ bool lclExtractRefId( sal_Int32& rnRefId, OUString& rRemainder, const OUString&
}
-// ----------------------------------------------------------------------------
+
FormulaParser::FormulaParser( const WorkbookHelper& rHelper ) :
FormulaProcessorBase( rHelper )
diff --git a/sc/source/filter/oox/numberformatsbuffer.cxx b/sc/source/filter/oox/numberformatsbuffer.cxx
index 84f44a220d45..8ec1cf59590b 100644
--- a/sc/source/filter/oox/numberformatsbuffer.cxx
+++ b/sc/source/filter/oox/numberformatsbuffer.cxx
@@ -435,7 +435,7 @@ struct BuiltinFormat
#define UTF8_KO_MIN "\353\266\204"
#define UTF8_KO_SEC "\354\264\210"
-// ----------------------------------------------------------------------------
+
/** Default number format table. Last parent of all other tables, used for unknown locales. */
static const BuiltinFormat spBuiltinFormats_BASE[] =
@@ -533,7 +533,7 @@ static const BuiltinFormat spBuiltinFormats_BASE[] =
NUMFMT_ENDTABLE()
};
-// ----------------------------------------------------------------------------
+
/** Arabic, U.A.E. */
static const BuiltinFormat spBuiltinFormats_ar_AE[] =
@@ -1634,7 +1634,7 @@ static const BuiltinFormat spBuiltinFormats_zh_TW[] =
NUMFMT_ENDTABLE()
};
-// ----------------------------------------------------------------------------
+
/** Specifies a built-in number format table for a specific locale. */
struct BuiltinFormatTable
@@ -1802,14 +1802,14 @@ NumFmtModel::NumFmtModel() :
{
}
-// ----------------------------------------------------------------------------
+
ApiNumFmtData::ApiNumFmtData() :
mnIndex( 0 )
{
}
-// ----------------------------------------------------------------------------
+
namespace {
@@ -1861,7 +1861,7 @@ sal_Int32 lclCreateFormat( const Reference< XNumberFormats >& rxNumFmts,
return nIndex;
}
-// ----------------------------------------------------------------------------
+
/** Functor for converting an XML number format to an API number format index. */
class NumberFormatFinalizer
@@ -1893,7 +1893,7 @@ NumberFormatFinalizer::NumberFormatFinalizer( const WorkbookHelper& rHelper ) :
} // namespace
-// ----------------------------------------------------------------------------
+
NumberFormat::NumberFormat( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper )
diff --git a/sc/source/filter/oox/ooxformulaparser.cxx b/sc/source/filter/oox/ooxformulaparser.cxx
index fac24f25416b..7f7a7ddb1a92 100644
--- a/sc/source/filter/oox/ooxformulaparser.cxx
+++ b/sc/source/filter/oox/ooxformulaparser.cxx
@@ -51,7 +51,7 @@ private:
ApiParserWrapper maApiParser;
};
-// ----------------------------------------------------------------------------
+
OOXMLFormulaParserImpl::OOXMLFormulaParserImpl( const Reference< XMultiServiceFactory >& rxModelFactory ) :
FormulaFinalizer( OpCodeProvider( rxModelFactory, FILTER_OOXML, BIFF_UNKNOWN, true ) ),
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx
index 90dc156b0fa7..d474de7d3eea 100644
--- a/sc/source/filter/oox/pagesettings.cxx
+++ b/sc/source/filter/oox/pagesettings.cxx
@@ -342,7 +342,7 @@ enum HFPortionId
HF_COUNT
};
-// ----------------------------------------------------------------------------
+
struct HFPortionInfo
{
@@ -441,7 +441,7 @@ private:
FontModel maFontModel; /// Font attributes of current text range.
};
-// ----------------------------------------------------------------------------
+
namespace {
@@ -468,7 +468,7 @@ static const sal_Char* const sppcItalicNames[] =
} // namespace
-// ----------------------------------------------------------------------------
+
HeaderFooterParser::HeaderFooterParser( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
@@ -881,7 +881,7 @@ void HeaderFooterParser::setNewPortion( HFPortionId ePortion )
// ============================================================================
-// ----------------------------------------------------------------------------
+
PageSettingsConverter::HFHelperData::HFHelperData( sal_Int32 nLeftPropId, sal_Int32 nRightPropId ) :
mnLeftPropId( nLeftPropId ),
@@ -894,7 +894,7 @@ PageSettingsConverter::HFHelperData::HFHelperData( sal_Int32 nLeftPropId, sal_In
{
}
-// ----------------------------------------------------------------------------
+
PageSettingsConverter::PageSettingsConverter( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx
index 8b3c15559ab2..c09abc4ae584 100644
--- a/sc/source/filter/oox/pivotcachebuffer.cxx
+++ b/sc/source/filter/oox/pivotcachebuffer.cxx
@@ -102,7 +102,7 @@ const sal_uInt8 BIFF12_PCDEFINITION_SUPPORTDRILL = 0x08;
const sal_uInt8 BIFF12_PCDWBSOURCE_HASRELID = 0x01;
const sal_uInt8 BIFF12_PCDWBSOURCE_HASSHEET = 0x02;
-// ----------------------------------------------------------------------------
+
const sal_uInt16 BIFF_PC_NOSTRING = 0xFFFF;
@@ -127,7 +127,7 @@ const sal_uInt16 BIFF_PCDEFINITION_OPTIMIZEMEMORY = 0x0008;
const sal_uInt16 BIFF_PCDEFINITION_BACKGROUNDQUERY = 0x0010;
const sal_uInt16 BIFF_PCDEFINITION_ENABLEREFRESH = 0x0020;
-// ----------------------------------------------------------------------------
+
/** Adjusts the weird date format read from binary streams.
@@ -305,7 +305,7 @@ OUString PivotCacheItem::getName() const
return OUString();
}
-// ----------------------------------------------------------------------------
+
PivotCacheItemList::PivotCacheItemList( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper )
@@ -439,7 +439,7 @@ PCFieldModel::PCFieldModel() :
{
}
-// ----------------------------------------------------------------------------
+
PCSharedItemsModel::PCSharedItemsModel() :
mbHasSemiMixed( true ),
@@ -455,7 +455,7 @@ PCSharedItemsModel::PCSharedItemsModel() :
{
}
-// ----------------------------------------------------------------------------
+
PCFieldGroupModel::PCFieldGroupModel() :
mfStartValue( 0.0 ),
@@ -478,7 +478,7 @@ void PCFieldGroupModel::setBiffGroupBy( sal_uInt8 nGroupBy )
mnGroupBy = STATIC_ARRAY_SELECT( spnGroupBy, nGroupBy, XML_range );
}
-// ----------------------------------------------------------------------------
+
PivotCacheField::PivotCacheField( const WorkbookHelper& rHelper, bool bIsDatabaseField ) :
WorkbookHelper( rHelper ),
@@ -1053,7 +1053,7 @@ PCDefinitionModel::PCDefinitionModel() :
{
}
-// ----------------------------------------------------------------------------
+
PCSourceModel::PCSourceModel() :
mnSourceType( XML_TOKEN_INVALID ),
@@ -1061,14 +1061,14 @@ PCSourceModel::PCSourceModel() :
{
}
-// ----------------------------------------------------------------------------
+
PCWorksheetSourceModel::PCWorksheetSourceModel()
{
maRange.StartColumn = maRange.StartRow = maRange.EndColumn = maRange.EndRow = -1;
}
-// ----------------------------------------------------------------------------
+
PivotCache::PivotCache( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/pivotcachefragment.cxx b/sc/source/filter/oox/pivotcachefragment.cxx
index 4ae3e1adeb3d..0b1bee51db88 100644
--- a/sc/source/filter/oox/pivotcachefragment.cxx
+++ b/sc/source/filter/oox/pivotcachefragment.cxx
@@ -340,7 +340,7 @@ bool lclSeekToPCDField( BiffInputStream& rStrm )
} // namespace
-// ----------------------------------------------------------------------------
+
BiffPivotCacheFragment::BiffPivotCacheFragment(
const WorkbookHelper& rHelper, const OUString& rStrmName, PivotCache& rPivotCache ) :
diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx
index c0e73ba00bac..0579cd322180 100644
--- a/sc/source/filter/oox/pivottablebuffer.cxx
+++ b/sc/source/filter/oox/pivottablebuffer.cxx
@@ -70,7 +70,7 @@ const sal_Int32 OOX_PT_DATALAYOUTFIELD = -2; /// Placehol
const sal_Int32 OOX_PT_PREVIOUS_ITEM = 0x001000FC; /// Calculation of data item result is based on previous item.
const sal_Int32 OOX_PT_NEXT_ITEM = 0x001000FD; /// Calculation of data item result is based on next item.
-// ----------------------------------------------------------------------------
+
const sal_uInt32 BIFF12_PTFIELD_DATAFIELD = 0x00000008;
const sal_uInt32 BIFF12_PTFIELD_DEFAULT = 0x00000100;
@@ -176,7 +176,7 @@ void PTFieldItemModel::setBiffType( sal_uInt16 nType )
mnType = STATIC_ARRAY_SELECT( spnTypes, nType, XML_data );
}
-// ----------------------------------------------------------------------------
+
PTFieldModel::PTFieldModel() :
mnAxis( XML_TOKEN_INVALID ),
@@ -224,7 +224,7 @@ void PTFieldModel::setBiffAxis( sal_uInt8 nAxis )
mnAxis = STATIC_ARRAY_SELECT( spnAxisIds, nAxis, XML_TOKEN_INVALID );
}
-// ----------------------------------------------------------------------------
+
PTPageFieldModel::PTPageFieldModel() :
mnField( -1 ),
@@ -232,7 +232,7 @@ PTPageFieldModel::PTPageFieldModel() :
{
}
-// ----------------------------------------------------------------------------
+
PTDataFieldModel::PTDataFieldModel() :
mnField( -1 ),
@@ -256,7 +256,7 @@ void PTDataFieldModel::setBiffShowDataAs( sal_Int32 nShowDataAs )
mnShowDataAs = STATIC_ARRAY_SELECT( spnShowDataAs, nShowDataAs, XML_TOKEN_INVALID );
}
-// ----------------------------------------------------------------------------
+
PivotTableField::PivotTableField( PivotTable& rPivotTable, sal_Int32 nFieldIndex ) :
WorkbookHelper( rPivotTable ),
@@ -762,7 +762,7 @@ PTFilterModel::PTFilterModel() :
{
}
-// ----------------------------------------------------------------------------
+
PivotTableFilter::PivotTableFilter( const PivotTable& rPivotTable ) :
WorkbookHelper( rPivotTable ),
@@ -902,7 +902,7 @@ PTDefinitionModel::PTDefinitionModel() :
{
}
-// ----------------------------------------------------------------------------
+
PTLocationModel::PTLocationModel() :
mnFirstHeaderRow( 0 ),
@@ -913,7 +913,7 @@ PTLocationModel::PTLocationModel() :
{
}
-// ----------------------------------------------------------------------------
+
PivotTable::PivotTable( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/querytablebuffer.cxx b/sc/source/filter/oox/querytablebuffer.cxx
index d4d489b6e79a..feaecbbaa25c 100644
--- a/sc/source/filter/oox/querytablebuffer.cxx
+++ b/sc/source/filter/oox/querytablebuffer.cxx
@@ -64,7 +64,7 @@ const sal_uInt32 BIFF12_QUERYTABLE_APPLYBORDER = 0x00020000;
const sal_uInt32 BIFF12_QUERYTABLE_APPLYFILL = 0x00040000;
const sal_uInt32 BIFF12_QUERYTABLE_APPLYPROTECTION = 0x00080000;
-// ----------------------------------------------------------------------------
+
void lclAppendWebQueryTableName( OUStringBuffer& rTables, const OUString& rTableName )
{
@@ -152,7 +152,7 @@ QueryTableModel::QueryTableModel() :
{
}
-// ----------------------------------------------------------------------------
+
QueryTable::QueryTable( const WorksheetHelper& rHelper ) :
WorksheetHelper( rHelper )
diff --git a/sc/source/filter/oox/richstring.cxx b/sc/source/filter/oox/richstring.cxx
index 98c47f12aa2d..5a73c08f5d19 100644
--- a/sc/source/filter/oox/richstring.cxx
+++ b/sc/source/filter/oox/richstring.cxx
@@ -157,7 +157,7 @@ void RichStringPortion::writeFontProperties( const Reference<XText>& rxText, con
pFont->writeToPropertySet(aPropSet, FONT_PROPTYPE_TEXT);
}
-// ----------------------------------------------------------------------------
+
void FontPortionModel::read( SequenceInputStream& rStrm )
{
@@ -165,7 +165,7 @@ void FontPortionModel::read( SequenceInputStream& rStrm )
mnFontId = rStrm.readuInt16();
}
-// ----------------------------------------------------------------------------
+
void FontPortionModelList::appendPortion( const FontPortionModel& rPortion )
{
@@ -213,7 +213,7 @@ void PhoneticDataModel::setBiffData( sal_Int32 nType, sal_Int32 nAlignment )
mnAlignment = STATIC_ARRAY_SELECT( spnAlignments, nAlignment, XML_left );
}
-// ----------------------------------------------------------------------------
+
PhoneticSettings::PhoneticSettings( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper )
@@ -270,7 +270,7 @@ void RichStringPhonetic::setBaseRange( sal_Int32 nBasePos, sal_Int32 nBaseEnd )
mnBaseEnd = nBaseEnd;
}
-// ----------------------------------------------------------------------------
+
void PhoneticPortionModel::read( SequenceInputStream& rStrm )
{
@@ -279,7 +279,7 @@ void PhoneticPortionModel::read( SequenceInputStream& rStrm )
mnBaseLen = rStrm.readuInt16();
}
-// ----------------------------------------------------------------------------
+
void PhoneticPortionModelList::appendPortion( const PhoneticPortionModel& rPortion )
{
diff --git a/sc/source/filter/oox/scenariobuffer.cxx b/sc/source/filter/oox/scenariobuffer.cxx
index cbe5672d154b..ed8801e4108a 100644
--- a/sc/source/filter/oox/scenariobuffer.cxx
+++ b/sc/source/filter/oox/scenariobuffer.cxx
@@ -50,7 +50,7 @@ ScenarioCellModel::ScenarioCellModel() :
{
}
-// ----------------------------------------------------------------------------
+
ScenarioModel::ScenarioModel() :
mbLocked( false ),
@@ -58,7 +58,7 @@ ScenarioModel::ScenarioModel() :
{
}
-// ----------------------------------------------------------------------------
+
Scenario::Scenario( const WorkbookHelper& rHelper, sal_Int16 nSheet ) :
WorkbookHelper( rHelper ),
@@ -166,7 +166,7 @@ SheetScenariosModel::SheetScenariosModel() :
{
}
-// ----------------------------------------------------------------------------
+
SheetScenarios::SheetScenarios( const WorkbookHelper& rHelper, sal_Int16 nSheet ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx
index 70787add172f..b4839b2c96dc 100644
--- a/sc/source/filter/oox/sheetdatabuffer.cxx
+++ b/sc/source/filter/oox/sheetdatabuffer.cxx
@@ -77,7 +77,7 @@ CellModel::CellModel() :
{
}
-// ----------------------------------------------------------------------------
+
CellFormulaModel::CellFormulaModel() :
mnFormulaType( XML_TOKEN_INVALID ),
@@ -101,7 +101,7 @@ bool CellFormulaModel::isValidSharedRef( const CellAddress& rCellAddr )
(maFormulaRef.StartRow <= rCellAddr.Row) && (rCellAddr.Row <= maFormulaRef.EndRow);
}
-// ----------------------------------------------------------------------------
+
DataTableModel::DataTableModel() :
mb2dTable( false ),
@@ -551,7 +551,7 @@ bool SheetDataBuffer::MergedRange::tryExpand( const CellAddress& rAddress, sal_I
return false;
}
-// ----------------------------------------------------------------------------
+
void SheetDataBuffer::setCellFormula( const CellAddress& rCellAddr, const ApiTokenSequence& rTokens )
{
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index cd0a43e5c347..13bc1f8be438 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -206,7 +206,7 @@ const sal_uInt8 BIFF_FONTUNDERL_DOUBLE = 2;
const sal_uInt8 BIFF_FONTUNDERL_SINGLE_ACC = 33;
const sal_uInt8 BIFF_FONTUNDERL_DOUBLE_ACC = 34;
-// ----------------------------------------------------------------------------
+
sal_Int32 lclReadRgbColor( BinaryInputStream& rStrm )
{
@@ -397,7 +397,7 @@ static const sal_Int32 spnDefColors8[] =
} // namespace
-// ----------------------------------------------------------------------------
+
ColorPalette::ColorPalette( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper )
@@ -491,7 +491,7 @@ void lclSetFontName( ApiScriptFontName& rFontName, const FontDescriptor& rFontDe
} // namespace
-// ----------------------------------------------------------------------------
+
FontModel::FontModel() :
mnScheme( XML_none ),
@@ -543,7 +543,7 @@ void FontModel::setBiffEscapement( sal_uInt16 nEscapement )
mnEscapement = STATIC_ARRAY_SELECT( spnEscapes, nEscapement, XML_baseline );
}
-// ----------------------------------------------------------------------------
+
ApiFontUsedFlags::ApiFontUsedFlags( bool bAllUsed ) :
mbNameUsed( bAllUsed ),
@@ -560,7 +560,7 @@ ApiFontUsedFlags::ApiFontUsedFlags( bool bAllUsed ) :
{
}
-// ----------------------------------------------------------------------------
+
ApiScriptFontName::ApiScriptFontName() :
mnFamily( ::com::sun::star::awt::FontFamily::DONTKNOW ),
@@ -568,7 +568,7 @@ ApiScriptFontName::ApiScriptFontName() :
{
}
-// ----------------------------------------------------------------------------
+
ApiFontData::ApiFontData() :
maDesc(
@@ -1146,7 +1146,7 @@ void AlignmentModel::setBiffVerAlign( sal_uInt8 nVerAlign )
mnVerAlign = STATIC_ARRAY_SELECT( spnVerAligns, nVerAlign, XML_bottom );
}
-// ----------------------------------------------------------------------------
+
ApiAlignmentData::ApiAlignmentData() :
meHorJustify( ::com::sun::star::table::CellHoriJustify_STANDARD ),
@@ -1399,7 +1399,7 @@ ProtectionModel::ProtectionModel() :
{
}
-// ----------------------------------------------------------------------------
+
ApiProtectionData::ApiProtectionData() :
maCellProt( sal_True, sal_False, sal_False, sal_False )
@@ -1478,7 +1478,7 @@ void BorderLineModel::setBiffStyle( sal_Int32 nLineStyle )
mnStyle = STATIC_ARRAY_SELECT( spnStyleIds, nLineStyle, XML_none );
}
-// ----------------------------------------------------------------------------
+
BorderModel::BorderModel( bool bDxf ) :
maLeft( bDxf ),
@@ -1491,7 +1491,7 @@ BorderModel::BorderModel( bool bDxf ) :
{
}
-// ----------------------------------------------------------------------------
+
ApiBorderData::ApiBorderData() :
mbBorderUsed( false ),
@@ -1548,7 +1548,7 @@ inline void lclSetBorderLineWidth( BorderLine& rBorderLine,
} // namespace
-// ----------------------------------------------------------------------------
+
Border::Border( const WorkbookHelper& rHelper, bool bDxf ) :
WorkbookHelper( rHelper ),
@@ -1780,7 +1780,7 @@ void PatternFillModel::setBiffPattern( sal_Int32 nPattern )
mnPattern = STATIC_ARRAY_SELECT( spnPatternIds, nPattern, XML_none );
}
-// ----------------------------------------------------------------------------
+
GradientFillModel::GradientFillModel() :
mnType( XML_linear ),
@@ -1817,7 +1817,7 @@ void GradientFillModel::readGradientStop( SequenceInputStream& rStrm, bool bDxf
maColors[ fPosition ] = aColor;
}
-// ----------------------------------------------------------------------------
+
ApiSolidFillData::ApiSolidFillData() :
mnColor( API_RGB_TRANSPARENT ),
@@ -1853,7 +1853,7 @@ sal_Int32 lclGetMixedColor( sal_Int32 nPattColor, sal_Int32 nFillColor, sal_Int3
} // namespace
-// ----------------------------------------------------------------------------
+
Fill::Fill( const WorkbookHelper& rHelper, bool bDxf ) :
WorkbookHelper( rHelper ),
@@ -2578,7 +2578,7 @@ OUString lclCreateStyleName( const CellStyleModel& rModel )
} // namespace
-// ----------------------------------------------------------------------------
+
CellStyleModel::CellStyleModel() :
mnXfId( -1 ),
diff --git a/sc/source/filter/oox/unitconverter.cxx b/sc/source/filter/oox/unitconverter.cxx
index 775458758d27..6428a627cd2f 100644
--- a/sc/source/filter/oox/unitconverter.cxx
+++ b/sc/source/filter/oox/unitconverter.cxx
@@ -50,7 +50,7 @@ const double MM100_PER_POINT = MM100_PER_INCH / 72.0;
const double MM100_PER_TWIP = MM100_PER_POINT / 20.0;
const double MM100_PER_EMU = 1.0 / 360.0;
-// ----------------------------------------------------------------------------
+
/** Returns true, if the passed year is a leap year. */
inline bool lclIsLeapYear( sal_Int32 nYear )
@@ -93,7 +93,7 @@ sal_Int32 lclGetDays( const util::Date& rDate )
} // namespace
-// ----------------------------------------------------------------------------
+
UnitConverter::UnitConverter( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/viewsettings.cxx b/sc/source/filter/oox/viewsettings.cxx
index 9d1fba171b46..62e5d437aec0 100644
--- a/sc/source/filter/oox/viewsettings.cxx
+++ b/sc/source/filter/oox/viewsettings.cxx
@@ -98,7 +98,7 @@ const sal_Int16 API_SPLITPANE_TOPRIGHT = 1; /// Top-right pa
const sal_Int16 API_SPLITPANE_BOTTOMLEFT = 2; /// Bottom-left, bottom, left, or single pane.
const sal_Int16 API_SPLITPANE_BOTTOMRIGHT = 3; /// Bottom-right, or right pane.
-// ----------------------------------------------------------------------------
+
/** Returns the OOXML pane identifier from the passed BIFF pane id. */
sal_Int32 lclGetOoxPaneId( sal_Int32 nBiffPaneId, sal_Int32 nDefaultPaneId )
@@ -116,7 +116,7 @@ PaneSelectionModel::PaneSelectionModel() :
{
}
-// ----------------------------------------------------------------------------
+
SheetViewModel::SheetViewModel() :
mnWorkbookViewId( 0 ),
@@ -184,7 +184,7 @@ PaneSelectionModel& SheetViewModel::createPaneSelection( sal_Int32 nPaneId )
return *rxPaneSel;
}
-// ----------------------------------------------------------------------------
+
SheetViewSettings::SheetViewSettings( const WorksheetHelper& rHelper ) :
WorksheetHelper( rHelper )
@@ -478,7 +478,7 @@ WorkbookViewModel::WorkbookViewModel() :
{
}
-// ----------------------------------------------------------------------------
+
ViewSettings::ViewSettings( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper ),
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 32c8bd62cc19..8b5b2f93c52b 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -318,7 +318,7 @@ private:
boost::scoped_ptr<ScDocumentImport> mxDocImport;
};
-// ----------------------------------------------------------------------------
+
WorkbookGlobals::WorkbookGlobals( ExcelFilter& rFilter ) :
mrBaseFilter( rFilter ),
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index 0a560d1db56d..fb80cd6aea84 100644
--- a/sc/source/filter/oox/worksheethelper.cxx
+++ b/sc/source/filter/oox/worksheethelper.cxx
@@ -132,7 +132,7 @@ bool ColumnModel::isMergeable( const ColumnModel& rModel ) const
(mbCollapsed == rModel.mbCollapsed);
}
-// ----------------------------------------------------------------------------
+
RowModel::RowModel() :
mnRow( -1 ),
@@ -167,7 +167,7 @@ bool RowModel::isMergeable( const RowModel& rModel ) const
(mbCollapsed == rModel.mbCollapsed);
}
-// ----------------------------------------------------------------------------
+
PageBreakModel::PageBreakModel() :
mnColRow( 0 ),
@@ -175,13 +175,13 @@ PageBreakModel::PageBreakModel() :
{
}
-// ----------------------------------------------------------------------------
+
HyperlinkModel::HyperlinkModel()
{
}
-// ----------------------------------------------------------------------------
+
ValidationModel::ValidationModel() :
mnType( XML_none ),
@@ -430,7 +430,7 @@ private:
bool mbHasDefWidth; /// True = default column width is set from defaultColWidth attribute.
};
-// ----------------------------------------------------------------------------
+
WorksheetGlobals::WorksheetGlobals( const WorkbookHelper& rHelper, const ISegmentProgressBarRef& rxProgressBar, WorksheetType eSheetType, sal_Int16 nSheet ) :
WorkbookHelper( rHelper ),