diff options
Diffstat (limited to 'oox/source/dump/dumperbase.cxx')
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 7e748bac65fe..59711c0a4fd5 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -38,8 +38,6 @@ namespace oox { namespace dump { - - using namespace ::com::sun::star; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::io; @@ -64,9 +62,6 @@ const sal_Int64 OOX_DUMP_MAXARRAY = 16; } // namespace - - - // file names ----------------------------------------------------------------- OUString InputOutputHelper::convertFileNameToUrl( const OUString& rFileName ) @@ -149,9 +144,6 @@ Reference< XTextOutputStream2 > InputOutputHelper::openTextOutputStream( return openTextOutputStream( rxContext, openOutputStream( rxContext, rFileName ), eTextEnc ); } - - - ItemFormat::ItemFormat() : meDataType( DATATYPE_VOID ), meFmtType( FORMATTYPE_NONE ) @@ -199,9 +191,6 @@ OUStringVector ItemFormat::parse( const OUString& rFormatStr ) return OUStringVector( aIt, const_cast< const OUStringVector& >( aFormatVec ).end() ); } - - - // append string to string ---------------------------------------------------- void StringHelper::appendChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_Int32 nCount ) @@ -798,16 +787,10 @@ void StringHelper::convertStringToIntList( Int64Vector& orVec, const OUString& r } } - - - Base::~Base() { } - - - ConfigItemBase::~ConfigItemBase() { } @@ -881,8 +864,6 @@ void ConfigItemBase::processConfigItem( implProcessConfigItemStr( rStrm, rKey, rData ); } - - NameListBase::~NameListBase() { } @@ -951,8 +932,6 @@ void NameListBase::exclude( const OUString& rKeys ) maMap.erase( *aIt ); } - - void ItemFormatMap::insertFormats( const NameListRef& rxNameList ) { if( Base::isValid( rxNameList ) ) @@ -960,8 +939,6 @@ void ItemFormatMap::insertFormats( const NameListRef& rxNameList ) (*this)[ aIt->first ].parse( aIt->second ); } - - ConstList::ConstList( const SharedConfigData& rCfgData ) : NameListBase( rCfgData ), maDefName( OOX_DUMP_ERR_NONAME ), @@ -1012,8 +989,6 @@ void ConstList::implIncludeList( const NameListBase& rList ) } } - - MultiList::MultiList( const SharedConfigData& rCfgData ) : ConstList( rCfgData ), mbIgnoreEmpty( true ) @@ -1044,8 +1019,6 @@ void MultiList::implSetName( sal_Int64 nKey, const OUString& rName ) setNamesFromVec( nKey, aNames ); } - - FlagsList::FlagsList( const SharedConfigData& rCfgData ) : NameListBase( rCfgData ), mnIgnore( 0 ) @@ -1137,8 +1110,6 @@ void FlagsList::implIncludeList( const NameListBase& rList ) mnIgnore = pFlagsList->mnIgnore; } - - bool CombiList::ExtItemFormatKey::operator<( const ExtItemFormatKey& rRight ) const { return (mnKey < rRight.mnKey) || ((mnKey == rRight.mnKey) && (maFilter < rRight.maFilter)); @@ -1250,8 +1221,6 @@ void CombiList::implIncludeList( const NameListBase& rList ) FlagsList::implIncludeList( rList ); } - - UnitConverter::UnitConverter( const SharedConfigData& rCfgData ) : NameListBase( rCfgData ), mfFactor( 1.0 ) @@ -1280,16 +1249,11 @@ void UnitConverter::implIncludeList( const NameListBase& /*rList*/ ) { } - - NameListRef NameListWrapper::getNameList( const Config& rCfg ) const { return mxList.get() ? mxList : (mxList = rCfg.getNameList( maName )); } - - - SharedConfigData::SharedConfigData( const OUString& rFileName, const Reference< XComponentContext >& rxContext, const StorageRef& rxRootStrg, const OUString& rSysFileName ) : @@ -1429,8 +1393,6 @@ void SharedConfigData::createUnitConverter( const OUString& rData ) } } - - Config::Config( const Config& rParent ) : Base() // c'tor needs to be called explicitly to avoid compiler warning { @@ -1521,9 +1483,6 @@ NameListRef Config::implGetNameList( const OUString& rListName ) const return mxCfgData->getNameList( rListName ); } - - - Output::Output( const Reference< XComponentContext >& rxContext, const OUString& rFileName ) : mxStrm( InputOutputHelper::openTextOutputStream( rxContext, rFileName, RTL_TEXTENCODING_UTF8 ) ), mnCol( 0 ), @@ -1536,8 +1495,6 @@ Output::Output( const Reference< XComponentContext >& rxContext, const OUString& mxStrm->writeString( OUString( OOX_DUMP_BOM ) ); } - - void Output::newLine() { if( maLine.getLength() > 0 ) @@ -1692,8 +1649,6 @@ void Output::endMultiItems() newLine(); } - - void Output::writeChar( sal_Unicode cChar, sal_Int32 nCount ) { StringHelper::appendEncChar( maLine, cChar, nCount ); @@ -1741,8 +1696,6 @@ void Output::writeDateTime( const util::DateTime& rDateTime ) writeDec( rDateTime.Seconds, 2, '0' ); } - - bool Output::implIsValid() const { return mxStrm.is(); @@ -1759,8 +1712,6 @@ void Output::writeItemName( const String& rItemName ) writeString( rItemName ); } - - StorageIterator::StorageIterator( const StorageRef& rxStrg ) : mxStrg( rxStrg ) { @@ -1806,9 +1757,6 @@ bool StorageIterator::implIsValid() const return mxStrg.get() && mxStrg->isStorage() && (maIt != maNames.end()); } - - - ObjectBase::~ObjectBase() { } @@ -1838,9 +1786,6 @@ void ObjectBase::implDump() { } - - - void StorageObjectBase::construct( const ObjectBase& rParent, const StorageRef& rxStrg, const OUString& rSysPath ) { ObjectBase::construct( rParent ); @@ -1990,9 +1935,6 @@ void StorageObjectBase::extractItem( const StorageRef& rxStrg, const OUString& r } } - - - OutputObjectBase::~OutputObjectBase() { } @@ -2069,9 +2011,6 @@ void OutputObjectBase::writeGuidItem( const String& rName, const OUString& rGuid mxOut->writeString( cfg().getStringOption( rGuid, OUString() ) ); } - - - InputObjectBase::~InputObjectBase() { } @@ -2354,9 +2293,6 @@ void InputObjectBase::dumpItem( const ItemFormat& rItemFmt ) } } - - - BinaryStreamObject::BinaryStreamObject( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName ) { InputObjectBase::construct( rParent, rxStrm, rSysFileName ); @@ -2374,9 +2310,6 @@ void BinaryStreamObject::implDump() dumpBinaryStream(); } - - - void TextStreamObjectBase::construct( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, rtl_TextEncoding eTextEnc, const OUString& rSysFileName ) { @@ -2407,8 +2340,6 @@ void TextStreamObjectBase::constructTextStrmObj( rtl_TextEncoding eTextEnc ) mxTextStrm.reset( new TextInputStream( getContext(), *mxStrm, eTextEnc ) ); } - - TextLineStreamObject::TextLineStreamObject( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, rtl_TextEncoding eTextEnc, const OUString& rSysFileName ) { @@ -2441,8 +2372,6 @@ void TextLineStreamObject::implDumpLine( const OUString& rLine, sal_uInt32 nLine mxOut->newLine(); } - - XmlStreamObject::XmlStreamObject( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName ) { @@ -2529,9 +2458,6 @@ void XmlStreamObject::implDumpText( TextInputStream& rTextStrm ) } } - - - void RecordObjectBase::construct( const ObjectBase& rParent, const BinaryInputStreamRef& rxBaseStrm, const OUString& rSysFileName, const BinaryInputStreamRef& rxRecStrm, const String& rRecNames, const String& rSimpleRecs ) @@ -2609,8 +2535,6 @@ void RecordObjectBase::writeHeader() addNameToItem( mnRecId, maRecNames ); } - - void SequenceRecordObjectBase::construct( const ObjectBase& rParent, const BinaryInputStreamRef& rxBaseStrm, const OUString& rSysFileName, const String& rRecNames, const String& rSimpleRecs ) @@ -2644,9 +2568,6 @@ bool SequenceRecordObjectBase::implStartRecord( BinaryInputStream& rBaseStrm, sa return bValid; } - - - DumperBase::~DumperBase() { } @@ -2667,9 +2588,6 @@ void DumperBase::construct( const ConfigRef& rxConfig ) ObjectBase::construct( rxConfig ); } - - - } // namespace dump } // namespace oox |