diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2012-03-20 13:32:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 13:48:12 +0000 |
commit | 04919d8f9c1c3372acecbb3716d6f557316eb3e5 (patch) | |
tree | ab491c21df043f87600d8dcc07369533e3a906b3 /oox | |
parent | eeffbc94d129756410bd2a9198dff5858479738f (diff) |
remove unused code (oox, sc)
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/dump/dumperbase.hxx | 7 | ||||
-rw-r--r-- | oox/inc/oox/dump/oledumper.hxx | 5 | ||||
-rw-r--r-- | oox/inc/oox/ole/vbacontrol.hxx | 2 | ||||
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 15 | ||||
-rw-r--r-- | oox/source/dump/oledumper.cxx | 7 | ||||
-rw-r--r-- | oox/source/ole/vbacontrol.cxx | 5 |
6 files changed, 0 insertions, 41 deletions
diff --git a/oox/inc/oox/dump/dumperbase.hxx b/oox/inc/oox/dump/dumperbase.hxx index 7cba7ae90d41..534776b1e485 100644 --- a/oox/inc/oox/dump/dumperbase.hxx +++ b/oox/inc/oox/dump/dumperbase.hxx @@ -993,8 +993,6 @@ public: inline const StorageRef& getRootStorage() const { return mxCfgData->getRootStorage(); } inline const ::rtl::OUString& getSysFileName() const { return mxCfgData->getSysFileName(); } - void setStringOption( const String& rKey, const String& rData ); - const ::rtl::OUString& getStringOption( const String& rKey, const ::rtl::OUString& rDefault ) const; bool getBoolOption( const String& rKey, bool bDefault ) const; template< typename Type > @@ -1005,7 +1003,6 @@ public: template< typename ListType > ::boost::shared_ptr< ListType > createNameList( const String& rListName ); - void setNameList( const String& rListName, const NameListRef& rxList ); void eraseNameList( const String& rListName ); NameListRef getNameList( const String& rListName ) const; @@ -1792,10 +1789,6 @@ public: const BinaryInputStreamRef& rxStrm, const ::rtl::OUString& rSysFileName ); - explicit BinaryStreamObject( - const OutputObjectBase& rParent, - const BinaryInputStreamRef& rxStrm ); - protected: void dumpBinaryStream( bool bShowOffset = true ); diff --git a/oox/inc/oox/dump/oledumper.hxx b/oox/inc/oox/dump/oledumper.hxx index 1a94e771036a..42abf2db3b68 100644 --- a/oox/inc/oox/dump/oledumper.hxx +++ b/oox/inc/oox/dump/oledumper.hxx @@ -331,11 +331,6 @@ protected: const String& rPropNameList, bool b64BitPropFlags = false ); void construct( - const OutputObjectBase& rParent, - const BinaryInputStreamRef& rxStrm, - const String& rPropNameList, - bool b64BitPropFlags = false ); - void construct( const InputObjectBase& rParent, const String& rPropNameList, bool b64BitPropFlags = false ); diff --git a/oox/inc/oox/ole/vbacontrol.hxx b/oox/inc/oox/ole/vbacontrol.hxx index 46472454fd5b..b4d2afbafeb2 100644 --- a/oox/inc/oox/ole/vbacontrol.hxx +++ b/oox/inc/oox/ole/vbacontrol.hxx @@ -65,8 +65,6 @@ public: inline const AxPairData& getPosition() const { return maPos; } /** Returns the unique identifier of this control. */ inline sal_Int32 getId() const { return mnId; } - /** Returns true, if the control is visible. */ - bool isVisible() const; /** Returns true, if this control is a container control. */ bool isContainer() const; /** Returns the length of the stream data for stream based controls. */ diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 54159b440a93..f078111caaef 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -1699,11 +1699,6 @@ void Config::construct( const sal_Char* pcEnvVar, const Reference< XComponentCon mxCfgData.reset( new SharedConfigData( OUString::createFromAscii( pcFileName ), rxContext, rxRootStrg, rSysFileName, rMediaDesc ) ); } -void Config::setStringOption( const String& rKey, const String& rData ) -{ - mxCfgData->setOption( rKey, rData ); -} - const OUString& Config::getStringOption( const String& rKey, const OUString& rDefault ) const { const OUString* pData = implGetOption( rKey ); @@ -1726,11 +1721,6 @@ bool Config::isImportEnabled() const return getBoolOption( "enable-import", true ); } -void Config::setNameList( const String& rListName, const NameListRef& rxList ) -{ - mxCfgData->setNameList( rListName, rxList ); -} - void Config::eraseNameList( const String& rListName ) { mxCfgData->eraseNameList( rListName ); @@ -2837,11 +2827,6 @@ BinaryStreamObject::BinaryStreamObject( const ObjectBase& rParent, const BinaryI InputObjectBase::construct( rParent, rxStrm, rSysFileName ); } -BinaryStreamObject::BinaryStreamObject( const OutputObjectBase& rParent, const BinaryInputStreamRef& rxStrm ) -{ - InputObjectBase::construct( rParent, rxStrm ); -} - void BinaryStreamObject::dumpBinaryStream( bool bShowOffset ) { mxStrm->seekToStart(); diff --git a/oox/source/dump/oledumper.cxx b/oox/source/dump/oledumper.cxx index 8c5e5a065de1..bb3f115eff6e 100644 --- a/oox/source/dump/oledumper.cxx +++ b/oox/source/dump/oledumper.cxx @@ -1050,13 +1050,6 @@ void AxPropertyObjectBase::construct( const ObjectBase& rParent, constructAxPropObj( rPropNameList, b64BitPropFlags ); } -void AxPropertyObjectBase::construct( const OutputObjectBase& rParent, - const BinaryInputStreamRef& rxStrm, const String& rPropNameList, bool b64BitPropFlags ) -{ - OleInputObjectBase::construct( rParent, rxStrm ); - constructAxPropObj( rPropNameList, b64BitPropFlags ); -} - void AxPropertyObjectBase::construct( const InputObjectBase& rParent, const String& rPropNameList, bool b64BitPropFlags ) { diff --git a/oox/source/ole/vbacontrol.cxx b/oox/source/ole/vbacontrol.cxx index 0a4b91baa490..14768e12021a 100644 --- a/oox/source/ole/vbacontrol.cxx +++ b/oox/source/ole/vbacontrol.cxx @@ -225,11 +225,6 @@ bool VbaSiteModel::importBinaryModel( BinaryInputStream& rInStrm ) return aReader.finalizeImport(); } -bool VbaSiteModel::isVisible() const -{ - return getFlag( mnFlags, VBA_SITE_VISIBLE ); -} - bool VbaSiteModel::isContainer() const { return !getFlag( mnFlags, VBA_SITE_OSTREAM ); |