summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-20 13:12:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-21 06:50:55 +0000
commitc714b43b0137ad253f51e1c65417c9874b8509e5 (patch)
treec258269d292ec4b65235357e82a70c3b6f364563 /include/oox
parent82b896f1f85b510eb72bb6d2f97d29defe1edf8b (diff)
loplugin:unusedmethods oox
Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4 Reviewed-on: https://gerrit.libreoffice.org/17225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/core/binarycodec.hxx4
-rw-r--r--include/oox/core/contexthandler.hxx2
-rw-r--r--include/oox/core/fragmenthandler.hxx2
-rw-r--r--include/oox/core/relations.hxx2
-rw-r--r--include/oox/core/xmlfilterbase.hxx2
-rw-r--r--include/oox/crypto/CryptoEngine.hxx5
-rw-r--r--include/oox/drawingml/shape.hxx5
-rw-r--r--include/oox/drawingml/theme.hxx3
-rw-r--r--include/oox/dump/dumperbase.hxx21
-rw-r--r--include/oox/dump/xlsbdumper.hxx39
-rw-r--r--include/oox/helper/binaryinputstream.hxx2
-rw-r--r--include/oox/helper/binaryoutputstream.hxx9
-rw-r--r--include/oox/helper/binarystreambase.hxx4
-rw-r--r--include/oox/helper/containerhelper.hxx3
-rw-r--r--include/oox/helper/propertymap.hxx3
-rw-r--r--include/oox/mathml/importutils.hxx1
-rw-r--r--include/oox/ole/axbinaryreader.hxx6
-rw-r--r--include/oox/ppt/comments.hxx25
-rw-r--r--include/oox/ppt/pptshape.hxx2
-rw-r--r--include/oox/ppt/slidepersist.hxx2
-rw-r--r--include/oox/ppt/slidetransition.hxx2
-rw-r--r--include/oox/ppt/timenode.hxx4
22 files changed, 1 insertions, 147 deletions
diff --git a/include/oox/core/binarycodec.hxx b/include/oox/core/binarycodec.hxx
index b2be50facc83..ad0153fe730e 100644
--- a/include/oox/core/binarycodec.hxx
+++ b/include/oox/core/binarycodec.hxx
@@ -291,10 +291,6 @@ public:
bool skip( sal_Int32 nBytes );
private:
- void InitKeyImpl(
- const sal_uInt8 pKeyData[64],
- const sal_uInt8 pUnique[16] );
-
rtlCipher mhCipher;
rtlDigest mhDigest;
sal_uInt8 mpnDigestValue[ RTL_DIGEST_LENGTH_MD5 ];
diff --git a/include/oox/core/contexthandler.hxx b/include/oox/core/contexthandler.hxx
index 3df0de5ff5d2..85f15529c4f6 100644
--- a/include/oox/core/contexthandler.hxx
+++ b/include/oox/core/contexthandler.hxx
@@ -80,8 +80,6 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext( const OUString& Namespace, const OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL characters( const OUString& aChars ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
// record context interface -----------------------------------------------
diff --git a/include/oox/core/fragmenthandler.hxx b/include/oox/core/fragmenthandler.hxx
index 2570b340faa3..99ad120c8e20 100644
--- a/include/oox/core/fragmenthandler.hxx
+++ b/include/oox/core/fragmenthandler.hxx
@@ -101,8 +101,6 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext( const OUString& Namespace, const OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL characters( const OUString& aChars ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
- virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
// XML stream handling ----------------------------------------------------
diff --git a/include/oox/core/relations.hxx b/include/oox/core/relations.hxx
index 96391a4ddc51..6f9fd44a9305 100644
--- a/include/oox/core/relations.hxx
+++ b/include/oox/core/relations.hxx
@@ -95,8 +95,6 @@ public:
const Relation* getRelationFromRelId( const OUString& rId ) const;
/** Returns the first relation with the passed type. */
const Relation* getRelationFromFirstType( const OUString& rType ) const;
- /** Returns the first relation with the passed type. */
- const Relation* getRelationFromFirstTypeFromOfficeDoc( const OUString& rType ) const;
/** Finds all relations associated with the passed type. */
RelationsRef getRelationsFromTypeFromOfficeDoc( const OUString& rType ) const;
diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx
index 9a8203ebe9d4..45414e1652d6 100644
--- a/include/oox/core/xmlfilterbase.hxx
+++ b/include/oox/core/xmlfilterbase.hxx
@@ -213,8 +213,6 @@ public:
@return newly created ID.
*/
sal_Int32 GetUniqueId() { return mnMaxDocId++; }
- OString GetUniqueIdOString() { return OString::number( mnMaxDocId++ ); }
- OUString GetUniqueIdOUString() { return OUString::number( mnMaxDocId++ ); }
/** Write the document properties into into the current OPC package.
diff --git a/include/oox/crypto/CryptoEngine.hxx b/include/oox/crypto/CryptoEngine.hxx
index ed7cd697ca9c..ea07a3eff3e2 100644
--- a/include/oox/crypto/CryptoEngine.hxx
+++ b/include/oox/crypto/CryptoEngine.hxx
@@ -31,11 +31,6 @@ public:
virtual ~CryptoEngine()
{}
- std::vector<sal_uInt8>& getKey()
- {
- return mKey;
- }
-
virtual bool writeEncryptionInfo(
const OUString& rPassword,
BinaryXOutputStream& rStream) = 0;
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index 7d951887e701..ba5e89b8edff 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -118,11 +118,10 @@ public:
std::vector< ShapePtr >& getChildren() { return maChildren; }
void setName( const OUString& rName ) { msName = rName; }
- OUString getName( ) { return msName; }
+ OUString getName( ) { return msName; }
void setId( const OUString& rId ) { msId = rId; }
OUString getId() { return msId; }
void setHidden( bool bHidden ) { mbHidden = bHidden; }
- bool getHidden() const { return mbHidden; };
void setHiddenMasterShape( bool bHiddenMasterShape ) { mbHiddenMasterShape = bHiddenMasterShape; }
void setSubType( sal_Int32 nSubType ) { mnSubType = nSubType; }
sal_Int32 getSubType() const { return mnSubType; }
@@ -156,8 +155,6 @@ public:
const ::com::sun::star::awt::Rectangle* pShapeRect = 0,
ShapeIdMap* pShapeMap = 0 );
- void dropChildren() { maChildren.clear(); }
-
void addChildren(
::oox::core::XmlFilterBase& rFilterBase,
const Theme* pTheme,
diff --git a/include/oox/drawingml/theme.hxx b/include/oox/drawingml/theme.hxx
index 965124cbcd78..f97a821ab919 100644
--- a/include/oox/drawingml/theme.hxx
+++ b/include/oox/drawingml/theme.hxx
@@ -49,7 +49,6 @@ public:
~Theme();
void setStyleName( const OUString& rStyleName ) { maStyleName = rStyleName; }
- const OUString& getStyleName() const { return maStyleName; }
ClrScheme& getClrScheme() { return maClrScheme; }
const ClrScheme& getClrScheme() const { return maClrScheme; }
@@ -88,8 +87,6 @@ public:
void setFragment( const ::com::sun::star::uno::Reference<
::com::sun::star::xml::dom::XDocument>& xRef ) { mxFragment=xRef; }
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::xml::dom::XDocument>& getFragment() const { return mxFragment; }
private:
OUString maStyleName;
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx
index d637ddf754ff..d0530553d074 100644
--- a/include/oox/dump/dumperbase.hxx
+++ b/include/oox/dump/dumperbase.hxx
@@ -691,9 +691,6 @@ protected:
virtual void implSetName( sal_Int64 nKey, const OUString& rName ) SAL_OVERRIDE;
private:
- void insertNames( sal_Int64 nStartKey, const OUString& rData );
-
-private:
bool mbIgnoreEmpty;
};
@@ -1018,7 +1015,6 @@ public:
void newLine();
void emptyLine( size_t nCount = 1 );
- OUStringBuffer& getLine() { return maLine; }
void incIndent();
void decIndent();
@@ -1035,13 +1031,10 @@ public:
void startItem( const String& rItemName );
void contItem();
void endItem();
- const OUString& getLastItemValue() const { return maLastItem; }
void startMultiItems();
void endMultiItems();
-
-
void writeChar( sal_Unicode cChar, sal_Int32 nCount = 1 );
void writeAscii( const sal_Char* pcStr );
void writeString( const OUString& rStr );
@@ -1124,7 +1117,6 @@ public:
const sal_Int32* pnColWidths ) :
mrOut( *rxOut ) { mrOut.startTable( nColCount, pnColWidths ); }
~TableGuard() { mrOut.endTable(); }
- void tab() { mrOut.tab(); }
void tab( size_t nCol ) { mrOut.tab( nCol ); }
private:
TableGuard( const TableGuard& ) SAL_DELETED_FUNCTION;
@@ -1480,13 +1472,6 @@ protected:
virtual bool implIsValid() const SAL_OVERRIDE;
-
-
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
- getXInputStream() const;
-
-
-
void skipBlock( sal_Int64 nBytes, bool bShowSize = true );
void dumpRawBinary( sal_Int64 nBytes, bool bShowOffset = true, bool bStream = false );
@@ -1765,14 +1750,10 @@ protected:
const String& rRecNames,
const String& rSimpleRecs = EMPTY_STRING );
- sal_Int64 getRecPos() const { return mnRecPos; }
sal_Int64 getRecId() const { return mnRecId; }
sal_Int64 getRecSize() const { return mnRecSize; }
NameListRef getRecNames() const { return maRecNames.getNameList( cfg() ); }
- void setBinaryOnlyMode( bool bBinaryOnly ) { mbBinaryOnly = bBinaryOnly; }
- bool isBinaryOnlyMode() const { return mbBinaryOnly; }
-
virtual bool implIsValid() const SAL_OVERRIDE;
virtual void implDump() SAL_OVERRIDE;
@@ -1806,8 +1787,6 @@ class SequenceRecordObjectBase : public RecordObjectBase
protected:
SequenceRecordObjectBase() : mxRecData( new StreamDataSequence ) {}
- StreamDataSequence& getRecordDataSequence() { return *mxRecData; }
-
using RecordObjectBase::construct;
void construct(
const ObjectBase& rParent,
diff --git a/include/oox/dump/xlsbdumper.hxx b/include/oox/dump/xlsbdumper.hxx
index 3a9e7b0b082a..8d01018b0c53 100644
--- a/include/oox/dump/xlsbdumper.hxx
+++ b/include/oox/dump/xlsbdumper.hxx
@@ -44,48 +44,9 @@ protected:
virtual ~RecordObjectBase();
using SequenceRecordObjectBase::construct;
- void construct( const ObjectBase& rParent, const BinaryInputStreamRef& rxStrm, const OUString& rSysFileName );
- void construct( const RecordObjectBase& rParent );
virtual bool implReadRecordHeader( BinaryInputStream& rBaseStrm, sal_Int64& ornRecId, sal_Int64& ornRecSize ) SAL_OVERRIDE;
- OUString getErrorName( sal_uInt8 nErrCode ) const;
-
-
-
- void readAddress( Address& orAddress );
- void readRange( Range& orRange );
- void readRangeList( RangeList& orRanges );
-
-
-
- void writeBooleanItem( const String& rName, sal_uInt8 nBool );
- void writeErrorCodeItem( const String& rName, sal_uInt8 nErrCode );
-
- void writeFontPortions( const ::oox::xls::FontPortionModelList& rPortions );
- void writePhoneticPortions( const ::oox::xls::PhoneticPortionModelList& rPhonetics );
-
-
-
- sal_uInt8 dumpBoolean( const String& rName = EMPTY_STRING );
- sal_uInt8 dumpErrorCode( const String& rName = EMPTY_STRING );
- OUString dumpString( const String& rName = EMPTY_STRING, bool bRich = false, bool b32BitLen = true );
- void dumpColor( const String& rName = EMPTY_STRING );
- ::com::sun::star::util::DateTime dumpPivotDateTime( const String& rName = EMPTY_STRING );
-
- sal_Int32 dumpColIndex( const String& rName = EMPTY_STRING );
- sal_Int32 dumpRowIndex( const String& rName = EMPTY_STRING );
- sal_Int32 dumpColRange( const String& rName = EMPTY_STRING );
- sal_Int32 dumpRowRange( const String& rName = EMPTY_STRING );
-
- Address dumpAddress( const String& rName = EMPTY_STRING );
- Range dumpRange( const String& rName = EMPTY_STRING );
- void dumpRangeList( const String& rName = EMPTY_STRING );
-
-
-private:
- bool readCompressedInt( BinaryInputStream& rStrm, sal_Int32& ornValue );
-
private:
typedef std::shared_ptr< SequenceInputStream > SequenceInputStreamRef;
diff --git a/include/oox/helper/binaryinputstream.hxx b/include/oox/helper/binaryinputstream.hxx
index 38f5857b78f5..cb7fb90ce478 100644
--- a/include/oox/helper/binaryinputstream.hxx
+++ b/include/oox/helper/binaryinputstream.hxx
@@ -96,8 +96,6 @@ public:
SAL_WARN_UNUSED_RESULT
sal_Int64 readInt64() { return readValue<sal_Int64>(); }
SAL_WARN_UNUSED_RESULT
- sal_uInt64 readuInt64() { return readValue<sal_uInt64>(); }
- SAL_WARN_UNUSED_RESULT
float readFloat() { return readValue<float>(); }
SAL_WARN_UNUSED_RESULT
double readDouble() { return readValue<double>(); }
diff --git a/include/oox/helper/binaryoutputstream.hxx b/include/oox/helper/binaryoutputstream.hxx
index 172958667097..52160dae396b 100644
--- a/include/oox/helper/binaryoutputstream.hxx
+++ b/include/oox/helper/binaryoutputstream.hxx
@@ -70,16 +70,11 @@ public:
template< typename Type >
void writeValue( Type nValue );
- BinaryOutputStream& WriteInt8(sal_Int8 x) { writeValue(x); return *this; }
- BinaryOutputStream& WriteUInt8(sal_uInt8 x) { writeValue(x); return *this; }
BinaryOutputStream& WriteInt16(sal_Int16 x) { writeValue(x); return *this; }
BinaryOutputStream& WriteUInt16(sal_uInt16 x) { writeValue(x); return *this; }
BinaryOutputStream& WriteInt32(sal_Int32 x) { writeValue(x); return *this; }
BinaryOutputStream& WriteUInt32(sal_uInt32 x) { writeValue(x); return *this; }
BinaryOutputStream& WriteInt64(sal_Int64 x) { writeValue(x); return *this; }
- BinaryOutputStream& WriteUInt64(sal_uInt64 x) { writeValue(x); return *this; }
- BinaryOutputStream& WriteFloat(float x) { writeValue(x); return *this; }
- BinaryOutputStream& WriteDouble(double x) { writeValue(x); return *this; }
void writeCompressedUnicodeArray( const OUString& rString, bool bCompressed, bool bAllowNulChars = false );
@@ -154,10 +149,6 @@ public:
/** Write nBytes bytes from the (preallocated!) buffer pMem. */
virtual void writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize = 1 ) SAL_OVERRIDE;
- /** Returns the XOutputStream interface of the wrapped output stream. */
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >
- getXOutputStream() const { return mxOutStrm; }
-
private:
StreamDataSequence maBuffer; ///< Data buffer used in writeMemory() function.
::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >
diff --git a/include/oox/helper/binarystreambase.hxx b/include/oox/helper/binarystreambase.hxx
index 03ec5ff6a65d..9f669a9fff30 100644
--- a/include/oox/helper/binarystreambase.hxx
+++ b/include/oox/helper/binarystreambase.hxx
@@ -92,10 +92,6 @@ public:
*/
void seekToStart() { seek( 0 ); }
- /** Seeks the stream to the end, if stream is seekable.
- */
- void seekToEnd() { seek( size() ); }
-
/** Seeks the stream forward to a position that is a multiple of the passed
block size, if stream is seekable.
diff --git a/include/oox/helper/containerhelper.hxx b/include/oox/helper/containerhelper.hxx
index 989c7e2d7bcf..e0a09895a0c5 100644
--- a/include/oox/helper/containerhelper.hxx
+++ b/include/oox/helper/containerhelper.hxx
@@ -50,7 +50,6 @@ struct ValueRange
bool operator==( const ValueRange& rRange ) const { return (mnFirst == rRange.mnFirst) && (mnLast == rRange.mnLast); }
bool operator!=( const ValueRange& rRange ) const { return !(*this == rRange); }
- bool contains( sal_Int32 nValue ) const { return (mnFirst <= nValue) && (nValue <= mnLast); }
bool contains( const ValueRange& rRange ) const { return (mnFirst <= rRange.mnFirst) && (rRange.mnLast <= mnLast); }
bool intersects( const ValueRange& rRange ) const { return (mnFirst <= rRange.mnLast) && (rRange.mnFirst <= mnLast); }
};
@@ -69,8 +68,6 @@ class OOX_DLLPUBLIC ValueRangeSet
public:
ValueRangeSet() {}
- /** Inserts the passed value into the range list. */
- void insert( sal_Int32 nValue ) { insert( ValueRange( nValue ) ); }
/** Inserts the passed value range into the range list. */
void insert( const ValueRange& rRange );
diff --git a/include/oox/helper/propertymap.hxx b/include/oox/helper/propertymap.hxx
index 5cd606b0745a..4e38627e7553 100644
--- a/include/oox/helper/propertymap.hxx
+++ b/include/oox/helper/propertymap.hxx
@@ -81,7 +81,6 @@ public:
void erase( sal_Int32 nPropId );
bool empty() const;
- size_t size() const;
/** Inserts all properties contained in the passed property map. */
void assignUsed( const PropertyMap& rPropMap );
@@ -109,9 +108,7 @@ public:
static void dump( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet);
#endif
static void dumpCode( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet);
- void dumpCode();
static void dumpData(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> rXPropSet);
- void dumpData();
#endif
private:
const PropertyNameVector* mpPropNames;
diff --git a/include/oox/mathml/importutils.hxx b/include/oox/mathml/importutils.hxx
index 013484fcf405..86751a6edde4 100644
--- a/include/oox/mathml/importutils.hxx
+++ b/include/oox/mathml/importutils.hxx
@@ -113,7 +113,6 @@ public:
// which means using oox::AttributeList would make them all point to the one instance.
struct OOX_DLLPUBLIC AttributeList
{
- bool hasAttribute( int token ) const;
OUString& operator[] (int token);
OUString attribute( int token, const OUString& def = OUString()) const;
bool attribute( int token, bool def ) const;
diff --git a/include/oox/ole/axbinaryreader.hxx b/include/oox/ole/axbinaryreader.hxx
index d10d8abbe0de..382055f2cd97 100644
--- a/include/oox/ole/axbinaryreader.hxx
+++ b/include/oox/ole/axbinaryreader.hxx
@@ -133,9 +133,6 @@ public:
/** Skips the next boolean property value in the stream, if the respective
flag in the property mask is set. */
void skipBoolProperty() { (void)startNextProperty(); }
- /** Skips the next pair property in the stream, if the respective flag in
- the property mask is set. */
- void skipPairProperty() { readPairProperty( maDummyPairData ); }
/** Skips the next string property in the stream, if the respective flag in
the property mask is set. */
void skipStringProperty() { readStringProperty( maDummyString ); }
@@ -145,9 +142,6 @@ public:
/** Skips the next GUID property in the stream, if the respective flag in
the property mask is set. */
void skipGuidProperty() { readGuidProperty( maDummyString ); }
- /** Skips the next font property in the stream, if the respective flag in
- the property mask is set. */
- void skipFontProperty() { readFontProperty( maDummyFontData ); }
/** Skips the next picture property in the stream, if the respective flag
in the property mask is set. */
void skipPictureProperty() { readPictureProperty( maDummyPicData ); }
diff --git a/include/oox/ppt/comments.hxx b/include/oox/ppt/comments.hxx
index a44b7da29bac..cf3846bc5063 100644
--- a/include/oox/ppt/comments.hxx
+++ b/include/oox/ppt/comments.hxx
@@ -33,11 +33,6 @@ class CommentAuthorList
public:
void setValues(const CommentAuthorList& list);
- const std::vector<CommentAuthor>& getCmAuthorLst() const
- {
- return cmAuthorLst;
- }
-
void addAuthor(const CommentAuthor& _author)
{
cmAuthorLst.push_back(_author);
@@ -82,26 +77,6 @@ class Comment
{
text = _text;
}
- OUString getAuthorId()
- {
- return authorId;
- }
- OUString getdt()
- {
- return dt;
- }
- OUString getidx()
- {
- return idx;
- }
- OUString get_X()
- {
- return x;
- }
- OUString get_Y()
- {
- return y;
- }
OUString get_text()
{
return text;
diff --git a/include/oox/ppt/pptshape.hxx b/include/oox/ppt/pptshape.hxx
index 18126d36fbfc..30f4a13cd351 100644
--- a/include/oox/ppt/pptshape.hxx
+++ b/include/oox/ppt/pptshape.hxx
@@ -51,9 +51,7 @@ public:
virtual void applyShapeReference( const oox::drawingml::Shape& rReferencedShape, bool bUseText = true ) SAL_OVERRIDE;
- void setShapeLocation( const oox::ppt::ShapeLocation eShapeLocation ) { meShapeLocation = eShapeLocation; };
ShapeLocation getShapeLocation() const { return meShapeLocation; };
- bool isReferenced() const { return mbReferenced; };
void setReferenced( bool bReferenced ){ mbReferenced = bReferenced; };
void setPlaceholder( oox::drawingml::ShapePtr pPlaceholder ) { mpPlaceholder = pPlaceholder; }
void setModelId( const OUString& rId ) { msModelId = rId; }
diff --git a/include/oox/ppt/slidepersist.hxx b/include/oox/ppt/slidepersist.hxx
index 91cd49bc3426..a97ede8906eb 100644
--- a/include/oox/ppt/slidepersist.hxx
+++ b/include/oox/ppt/slidepersist.hxx
@@ -77,14 +77,12 @@ public:
void setTheme( const oox::drawingml::ThemePtr& rThemePtr ){ mpThemePtr = rThemePtr; }
oox::drawingml::ThemePtr getTheme() const { return mpThemePtr; }
- void setClrScheme( const oox::drawingml::ClrSchemePtr& rClrSchemePtr ){ mpClrSchemePtr = rClrSchemePtr; }
oox::drawingml::ClrSchemePtr getClrScheme() const { return mpClrSchemePtr; }
void setClrMap( const oox::drawingml::ClrMapPtr pClrMapPtr ){ mpClrMapPtr = pClrMapPtr; }
oox::drawingml::ClrMapPtr getClrMap() const { return mpClrMapPtr; }
void setBackgroundProperties( const oox::drawingml::FillPropertiesPtr& rFillPropertiesPtr ){ mpBackgroundPropertiesPtr = rFillPropertiesPtr; }
- oox::drawingml::FillPropertiesPtr getBackgroundProperties() const { return mpBackgroundPropertiesPtr; }
oox::drawingml::Color& getBackgroundColor() { return maBackgroundColor; }
bool isMasterPage() const { return mbMaster; }
diff --git a/include/oox/ppt/slidetransition.hxx b/include/oox/ppt/slidetransition.hxx
index c45bd28aeb7f..9e48dde82f29 100644
--- a/include/oox/ppt/slidetransition.hxx
+++ b/include/oox/ppt/slidetransition.hxx
@@ -39,8 +39,6 @@ namespace oox { namespace ppt {
void setTransitionFilterProperties( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XTransitionFilter > & xFilter );
void setOoxTransitionSpeed( sal_Int32 nToken );
- void setFadeColor( sal_Int32 nColor )
- { mnFadeColor = nColor; }
void setMode( bool bMode )
{ mbMode = bMode; }
void setOoxAdvanceTime( sal_Int32 nAdvanceTime )
diff --git a/include/oox/ppt/timenode.hxx b/include/oox/ppt/timenode.hxx
index 1aa5b5afddb9..9e671c85118e 100644
--- a/include/oox/ppt/timenode.hxx
+++ b/include/oox/ppt/timenode.hxx
@@ -51,14 +51,10 @@ namespace oox { namespace ppt {
NodePropertyMap & getNodeProperties() { return maNodeProperties; }
UserDataMap & getUserData() { return maUserData; }
- void addChild( const TimeNodePtr & pChildPtr )
- { maChildren.push_back( pChildPtr ); }
-
TimeNodePtrList & getChildren()
{ return maChildren; }
void setId( sal_Int32 nId );
- const OUString & getId() const { return msId; }
void addNode(
const ::oox::core::XmlFilterBase& rFilter,