remove unused code (oox, sc)

This commit is contained in:
Petr Vorel 2012-03-20 13:32:47 +00:00 committed by Caolán McNamara
parent eeffbc94d1
commit 04919d8f9c
9 changed files with 0 additions and 60 deletions

View file

@ -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 );

View file

@ -330,11 +330,6 @@ protected:
const ::rtl::OUString& rSysFileName,
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,

View file

@ -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. */

View file

@ -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();

View file

@ -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 )
{

View file

@ -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 );

View file

@ -295,9 +295,6 @@ class ApiTokenIterator
{
public:
explicit ApiTokenIterator( const ApiTokenSequence& rTokens, sal_Int32 nSpacesOpCode, bool bSkipSpaces );
/** Copy constructor that allows to change the skip spaces mode. */
explicit ApiTokenIterator( const ApiTokenIterator& rIter, bool bSkipSpaces );
inline bool is() const { return mpToken != mpTokenEnd; }
inline const ApiToken* get() const { return mpToken; }
inline const ApiToken* operator->() const { return mpToken; }

View file

@ -184,15 +184,6 @@ ApiTokenIterator::ApiTokenIterator( const ApiTokenSequence& rTokens, sal_Int32 n
skipSpaces();
}
ApiTokenIterator::ApiTokenIterator( const ApiTokenIterator& rIter, bool bSkipSpaces ) :
mpToken( rIter.mpToken ),
mpTokenEnd( rIter.mpTokenEnd ),
mnSpacesOpCode( rIter.mnSpacesOpCode ),
mbSkipSpaces( bSkipSpaces )
{
skipSpaces();
}
ApiTokenIterator& ApiTokenIterator::operator++()
{
if( is() )

View file

@ -866,11 +866,7 @@ nullcanvas::SpriteCanvasHelper::opaqueUpdate(basegfx::B2DConnectedRanges<canvas:
nullcanvas::SpriteCanvasHelper::scrollUpdate(basegfx::B2DRange const&, basegfx::B2DRange const&, basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&)
ooo::vba::extractIntFromAny(com::sun::star::uno::Any const&)
oox::core::PowerPointExport::WriteTextStyleLevel(boost::shared_ptr<sax_fastparser::FastSerializerHelper>, int, int)
oox::dump::AxPropertyObjectBase::construct(oox::dump::OutputObjectBase const&, oox::dump::BinaryInputStreamRef const&, oox::dump::String const&, bool)
oox::dump::BinaryStreamObject::BinaryStreamObject(oox::dump::OutputObjectBase const&, oox::dump::BinaryInputStreamRef const&)
oox::dump::Config::requestEncryptionData(comphelper::IDocPasswordVerifier&)
oox::dump::Config::setNameList(oox::dump::String const&, boost::shared_ptr<oox::dump::NameListBase> const&)
oox::dump::Config::setStringOption(oox::dump::String const&, oox::dump::String const&)
oox::dump::ConfigItemBase::readConfigLine(oox::TextInputStream&) const
oox::dump::DffStreamObject::construct(oox::dump::ObjectBase const&, oox::dump::BinaryInputStreamRef const&, rtl::OUString const&)
oox::dump::DffStreamObject::construct(oox::dump::OutputObjectBase const&, oox::dump::BinaryInputStreamRef const&)
@ -914,11 +910,8 @@ oox::dump::TextStreamObjectBase::construct(oox::dump::InputObjectBase const&, un
oox::dump::XmlStreamObject::XmlStreamObject(oox::dump::OutputObjectBase const&, oox::dump::BinaryInputStreamRef const&)
oox::formulaimport::XmlStream::AttributeList::hasAttribute(int) const
oox::formulaimport::XmlStream::skipElement(int)
oox::ole::VbaSiteModel::isVisible() const
oox::ole::WordVbaProjectFilter_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::ole::WordVbaProjectFilter_getSupportedServiceNames()
oox::ppt::PPTShape::findPlaceholder(int, int, std::__debug::vector<boost::shared_ptr<oox::drawingml::Shape>, std::allocator<boost::shared_ptr<oox::drawingml::Shape> > >&)
oox::xls::ApiTokenIterator::ApiTokenIterator(oox::xls::ApiTokenIterator const&, bool)
oox::xls::BiffDetector_createInstance(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
oox::xls::BiffDrawingBase::appendRawObject(boost::shared_ptr<oox::xls::BiffDrawingObjectBase> const&)
oox::xls::BiffDrawingBase::setSkipObj(unsigned short)