summaryrefslogtreecommitdiff
path: root/include/oox/ppt
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/ppt')
-rw-r--r--include/oox/ppt/comments.hxx10
-rw-r--r--include/oox/ppt/pptshape.hxx2
-rw-r--r--include/oox/ppt/slidefragmenthandler.hxx2
-rw-r--r--include/oox/ppt/slidepersist.hxx4
4 files changed, 9 insertions, 9 deletions
diff --git a/include/oox/ppt/comments.hxx b/include/oox/ppt/comments.hxx
index 65f719fff9f4..781820b7a0b5 100644
--- a/include/oox/ppt/comments.hxx
+++ b/include/oox/ppt/comments.hxx
@@ -80,19 +80,19 @@ class Comment
{
text = _text;
}
- const OUString& get_text()
+ const OUString& get_text() const
{
return text;
}
- const css::util::DateTime& getDateTime()
+ const css::util::DateTime& getDateTime() const
{
return aDateTime;
}
- sal_Int32 getIntX()
+ sal_Int32 getIntX() const
{
return x.toInt32();
}
- sal_Int32 getIntY()
+ sal_Int32 getIntY() const
{
return y.toInt32();
}
@@ -103,7 +103,7 @@ class CommentList
{
public:
std::vector<Comment> cmLst;
- int getSize ()
+ int getSize () const
{
return static_cast<int>(cmLst.size());
}
diff --git a/include/oox/ppt/pptshape.hxx b/include/oox/ppt/pptshape.hxx
index b1ffc3f91ffa..fac28f7616c3 100644
--- a/include/oox/ppt/pptshape.hxx
+++ b/include/oox/ppt/pptshape.hxx
@@ -62,7 +62,7 @@ public:
// addShape is creating and inserting the corresponding XShape.
void addShape(
oox::core::XmlFilterBase& rFilterBase,
- SlidePersist& rPersist,
+ const SlidePersist& rPersist,
const oox::drawingml::Theme* pTheme,
const css::uno::Reference< css::drawing::XShapes >& rxShapes,
basegfx::B2DHomMatrix& aTransformation,
diff --git a/include/oox/ppt/slidefragmenthandler.hxx b/include/oox/ppt/slidefragmenthandler.hxx
index 8e5791564e77..c6a193ffdbff 100644
--- a/include/oox/ppt/slidefragmenthandler.hxx
+++ b/include/oox/ppt/slidefragmenthandler.hxx
@@ -44,7 +44,7 @@ public:
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) override;
virtual void onCharacters( const OUString& rChars ) override;
- const ::std::vector< OUString>& getCharVector() { return maCharVector; }
+ const ::std::vector< OUString>& getCharVector() const { return maCharVector; }
protected:
SlidePersistPtr mpSlidePersistPtr;
diff --git a/include/oox/ppt/slidepersist.hxx b/include/oox/ppt/slidepersist.hxx
index 5708775c25bd..8ef8515757bf 100644
--- a/include/oox/ppt/slidepersist.hxx
+++ b/include/oox/ppt/slidepersist.hxx
@@ -96,7 +96,7 @@ public:
bool isNotesPage() const { return mbNotes; }
void setLayoutValueToken( sal_Int32 nLayoutValueToken ) { mnLayoutValueToken = nLayoutValueToken; }
- sal_Int16 getLayoutFromValueToken();
+ sal_Int16 getLayoutFromValueToken() const;
const oox::drawingml::TextListStylePtr& getDefaultTextStyle() const { return maDefaultTextStylePtr; }
@@ -105,7 +105,7 @@ public:
const oox::drawingml::TextListStylePtr& getNotesTextStyle() const { return maNotesTextStylePtr; }
const oox::drawingml::TextListStylePtr& getOtherTextStyle() const { return maOtherTextStylePtr; }
- const oox::drawingml::ShapePtr& getShapes() { return maShapesPtr; }
+ const oox::drawingml::ShapePtr& getShapes() const { return maShapesPtr; }
void hideShapesAsMasterShapes();
::std::vector< std::shared_ptr< TimeNode > >& getTimeNodeList() { return maTimeNodeList; }
oox::ppt::HeaderFooter& getHeaderFooter(){ return maHeaderFooter; };