summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 10:33:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 13:47:45 +0200
commit7a1bf5c10deb5f9d2e5b282dac9493d84aede659 (patch)
tree834b78658f755ac939a35cb0373c882b98bfa202 /writerfilter/source/ooxml
parent1141b6b0ce6581b587e174c9bbdddb88d36ea8c2 (diff)
loplugin:constmethod in writerfilter
Change-Id: I1e1c4e574e910ef9683520ae950b14eb4ebbc63f Reviewed-on: https://gerrit.libreoffice.org/79784 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/ooxml')
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.cxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.hxx6
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 61fb31e96621..888f69a2320d 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -828,7 +828,7 @@ uno::Reference<drawing::XDrawPage> OOXMLDocumentImpl::getDrawPage()
return mxDrawPage;
}
-const uno::Sequence<beans::PropertyValue>& OOXMLDocumentImpl::getMediaDescriptor()
+const uno::Sequence<beans::PropertyValue>& OOXMLDocumentImpl::getMediaDescriptor() const
{
return maMediaDescriptor;
}
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
index 1ad317a204d3..059ac1cea601 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.hxx
@@ -136,9 +136,9 @@ public:
virtual css::uno::Sequence<css::beans::PropertyValue > getEmbeddingsList() override;
void incrementProgress();
- bool IsSkipImages() { return mbSkipImages; };
- OUString const& GetDocumentBaseURL() { return m_rBaseURL; };
- const css::uno::Sequence<css::beans::PropertyValue>& getMediaDescriptor();
+ bool IsSkipImages() const { return mbSkipImages; };
+ OUString const& GetDocumentBaseURL() const { return m_rBaseURL; };
+ const css::uno::Sequence<css::beans::PropertyValue>& getMediaDescriptor() const;
};
}}
#endif // OOXML_DOCUMENT_IMPL_HXX
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index 978e8e5afc22..078377620b47 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -224,7 +224,7 @@ protected:
void startAction();
void endAction();
- const css::uno::Reference< css::uno::XComponentContext >& getComponentContext() { return m_xContext;}
+ const css::uno::Reference< css::uno::XComponentContext >& getComponentContext() const { return m_xContext;}
bool inPositionV;
OOXMLValue::Pointer_t mpGridAfter;
@@ -458,7 +458,7 @@ public:
virtual ResourceEnum_t getResource() const override { return SHAPE; }
void sendShape( Token_t Element );
- bool isShapeSent( ) { return m_bShapeSent; }
+ bool isShapeSent( ) const { return m_bShapeSent; }
protected:
virtual void lcl_startFastElement(Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs) override;