summaryrefslogtreecommitdiff
path: root/oox/source/shape
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-21 15:31:32 +0200
committerNoel Grandin <noel@peralex.com>2015-12-22 09:53:27 +0200
commit98f4f2bb0f873d6cae8e9646d8eecc857c1cdd0f (patch)
tree7016968a58f701e68ca2de092eb9da41810faac5 /oox/source/shape
parent4e8e81f0d6dcbdd4d491cec09dfb485ffa30ab98 (diff)
loplugin:unusedfields in oox,package
Change-Id: I8f8c3ff9ded455a09f3df81c501da17cca0b2310
Diffstat (limited to 'oox/source/shape')
-rw-r--r--oox/source/shape/ShapeContextHandler.cxx5
-rw-r--r--oox/source/shape/ShapeContextHandler.hxx1
2 files changed, 2 insertions, 4 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx
index 0a707d8883f9..ae14d4474efe 100644
--- a/oox/source/shape/ShapeContextHandler.cxx
+++ b/oox/source/shape/ShapeContextHandler.cxx
@@ -56,9 +56,8 @@ ShapeContextHandler_createInstance( const uno::Reference< uno::XComponentContext
return static_cast< ::cppu::OWeakObject* >( new ShapeContextHandler(context) );
}
-ShapeContextHandler::ShapeContextHandler
-(uno::Reference< uno::XComponentContext > const & context) :
-mnStartToken(0), m_xContext(context)
+ShapeContextHandler::ShapeContextHandler(uno::Reference< uno::XComponentContext > const & context) :
+ mnStartToken(0)
{
try
{
diff --git a/oox/source/shape/ShapeContextHandler.hxx b/oox/source/shape/ShapeContextHandler.hxx
index ea6b1a138fae..c336129b51e5 100644
--- a/oox/source/shape/ShapeContextHandler.hxx
+++ b/oox/source/shape/ShapeContextHandler.hxx
@@ -151,7 +151,6 @@ private:
::sal_uInt32 mnStartToken;
css::awt::Point maPosition;
- css::uno::Reference< css::uno::XComponentContext > m_xContext;
drawingml::ShapePtr mpShape;
std::shared_ptr< vml::Drawing > mpDrawing;