summaryrefslogtreecommitdiff
path: root/oox/source/ppt
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-30 23:21:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-31 09:04:16 +0200
commit65f2d5c9f7aab607e83a4876bca70c330850d345 (patch)
tree3969d46a8bc736e3d5b2fe394f83c1718743c7f3 /oox/source/ppt
parent0a7000e032a43e56e75c8e8066117683866fdc36 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: Idea1fd2769c2431906d4898c0ec935f20bddc391
Diffstat (limited to 'oox/source/ppt')
-rw-r--r--oox/source/ppt/buildlistcontext.cxx11
-rw-r--r--oox/source/ppt/buildlistcontext.hxx6
-rw-r--r--oox/source/ppt/slidetimingcontext.cxx4
3 files changed, 4 insertions, 17 deletions
diff --git a/oox/source/ppt/buildlistcontext.cxx b/oox/source/ppt/buildlistcontext.cxx
index aec83fe05374..fe8516259323 100644
--- a/oox/source/ppt/buildlistcontext.cxx
+++ b/oox/source/ppt/buildlistcontext.cxx
@@ -21,19 +21,10 @@
#include <rtl/ustring.hxx>
#include "oox/helper/attributelist.hxx"
-
-using namespace ::oox::core;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::xml::sax;
-using ::rtl::OUString;
-
namespace oox { namespace ppt {
- BuildListContext::BuildListContext( FragmentHandler2& rParent,
- const Reference< XFastAttributeList >& /*xAttribs*/,
- TimeNodePtrList & aTimeNodeList)
+ BuildListContext::BuildListContext( FragmentHandler2& rParent )
: FragmentHandler2( rParent )
- , maTimeNodeList( aTimeNodeList )
, mbInBldGraphic( false )
, mbBuildAsOne( false )
{
diff --git a/oox/source/ppt/buildlistcontext.hxx b/oox/source/ppt/buildlistcontext.hxx
index 1cf97b0de20c..8ad7156576ef 100644
--- a/oox/source/ppt/buildlistcontext.hxx
+++ b/oox/source/ppt/buildlistcontext.hxx
@@ -22,7 +22,6 @@
#ifndef OOX_PPT_BUILDLISTCONTEXT
#define OOX_PPT_BUILDLISTCONTEXT
-#include "oox/ppt/timenode.hxx"
#include "oox/core/fragmenthandler2.hxx"
namespace oox { namespace ppt {
@@ -33,9 +32,7 @@ namespace oox { namespace ppt {
: public ::oox::core::FragmentHandler2
{
public:
- BuildListContext( ::oox::core::FragmentHandler2& rParent,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs,
- TimeNodePtrList & aTimeNodeList);
+ BuildListContext( ::oox::core::FragmentHandler2& rParent );
~BuildListContext( );
@@ -43,7 +40,6 @@ namespace oox { namespace ppt {
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs );
private:
- TimeNodePtrList & maTimeNodeList;
bool mbInBldGraphic;
bool mbBuildAsOne;
};
diff --git a/oox/source/ppt/slidetimingcontext.cxx b/oox/source/ppt/slidetimingcontext.cxx
index ae709c47ce94..2bcdc75209ae 100644
--- a/oox/source/ppt/slidetimingcontext.cxx
+++ b/oox/source/ppt/slidetimingcontext.cxx
@@ -51,12 +51,12 @@ SlideTimingContext::~SlideTimingContext() throw()
}
-::oox::core::ContextHandlerRef SlideTimingContext::onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs )
+::oox::core::ContextHandlerRef SlideTimingContext::onCreateContext( sal_Int32 aElementToken, const AttributeList& )
{
switch( aElementToken )
{
case PPT_TOKEN( bldLst ):
- return new BuildListContext( *this, rAttribs.getFastAttributeList(), maTimeNodeList );
+ return new BuildListContext( *this );
case PPT_TOKEN( extLst ):
return this;
case PPT_TOKEN( tnLst ):