summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/inc/oox/core/contexthandler.hxx2
-rw-r--r--oox/source/core/contexthandler.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/inc/oox/core/contexthandler.hxx b/oox/inc/oox/core/contexthandler.hxx
index 118d9396e354..94a095b22c0c 100644
--- a/oox/inc/oox/core/contexthandler.hxx
+++ b/oox/inc/oox/core/contexthandler.hxx
@@ -63,7 +63,7 @@ typedef ::cppu::WeakImplHelper1< ::com::sun::star::xml::sax::XFastContextHandler
class ContextHandler : public ContextHandler_BASE
{
public:
- explicit ContextHandler( ContextHandler& rParent );
+ explicit ContextHandler( const ContextHandler& rParent );
virtual ~ContextHandler();
/** Returns the filter instance. */
diff --git a/oox/source/core/contexthandler.cxx b/oox/source/core/contexthandler.cxx
index d781a811d520..8b73a5f47885 100644
--- a/oox/source/core/contexthandler.cxx
+++ b/oox/source/core/contexthandler.cxx
@@ -42,7 +42,7 @@ using ::rtl::OUString;
// ============================================================================
-ContextHandler::ContextHandler( ContextHandler& rParent ) :
+ContextHandler::ContextHandler( const ContextHandler& rParent ) :
ContextHandler_BASE(),
mxBaseData( rParent.mxBaseData )
{