summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/ooxml')
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.cxx4
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx2
-rw-r--r--writerfilter/source/ooxml/OOXMLParserState.cxx24
-rw-r--r--writerfilter/source/ooxml/OOXMLParserState.hxx12
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx4
-rw-r--r--writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx2
6 files changed, 8 insertions, 40 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 73c76b33791d..cd71adbb9443 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -517,10 +517,6 @@ void OOXMLFastContextHandler::setDefine(Id nDefine)
mnDefine = nDefine;
}
-Id OOXMLFastContextHandler::getDefine() const
-{
- return mnDefine;
-}
OOXMLParserState::Pointer_t OOXMLFastContextHandler::getParserState() const
{
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index bb9d378459e3..afc685bb321e 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -174,7 +174,7 @@ public:
virtual Id getId() const;
void setDefine(Id nDefine);
- Id getDefine() const;
+ Id getDefine() const { return mnDefine;}
OOXMLParserState::Pointer_t getParserState() const;
diff --git a/writerfilter/source/ooxml/OOXMLParserState.cxx b/writerfilter/source/ooxml/OOXMLParserState.cxx
index aa08c79cd4db..e74a81c508a9 100644
--- a/writerfilter/source/ooxml/OOXMLParserState.cxx
+++ b/writerfilter/source/ooxml/OOXMLParserState.cxx
@@ -54,35 +54,19 @@ void OOXMLParserState::setLastParagraphInSection(bool bLastParagraphInSection)
mbLastParagraphInSection = bLastParagraphInSection;
}
-bool OOXMLParserState::isLastParagraphInSection() const
-{
- return mbLastParagraphInSection;
-}
-bool OOXMLParserState::isInSectionGroup() const
-{
- return mbInSectionGroup;
-}
void OOXMLParserState::setInSectionGroup(bool bInSectionGroup)
{
mbInSectionGroup = bInSectionGroup;
}
-bool OOXMLParserState::isInParagraphGroup() const
-{
- return mbInParagraphGroup;
-}
void OOXMLParserState::setInParagraphGroup(bool bInParagraphGroup)
{
mbInParagraphGroup = bInParagraphGroup;
}
-bool OOXMLParserState::isInCharacterGroup() const
-{
- return mbInCharacterGroup;
-}
void OOXMLParserState::setInCharacterGroup(bool bInCharacterGroup)
{
@@ -94,10 +78,6 @@ void OOXMLParserState::setForwardEvents(bool bForwardEvents)
mbForwardEvents = bForwardEvents;
}
-bool OOXMLParserState::isForwardEvents() const
-{
- return mbForwardEvents;
-}
const std::string OOXMLParserState::getHandle() const
{
@@ -118,10 +98,6 @@ void OOXMLParserState::setDocument(OOXMLDocumentImpl* pDocument)
mpDocument = pDocument;
}
-OOXMLDocumentImpl* OOXMLParserState::getDocument() const
-{
- return mpDocument;
-}
void OOXMLParserState::setXNoteId(const sal_Int32 nId)
{
diff --git a/writerfilter/source/ooxml/OOXMLParserState.hxx b/writerfilter/source/ooxml/OOXMLParserState.hxx
index d7f6005cedd0..9472945ca45a 100644
--- a/writerfilter/source/ooxml/OOXMLParserState.hxx
+++ b/writerfilter/source/ooxml/OOXMLParserState.hxx
@@ -62,26 +62,26 @@ public:
OOXMLParserState();
virtual ~OOXMLParserState();
- bool isInSectionGroup() const;
+ bool isInSectionGroup() const { return mbInSectionGroup;}
void setInSectionGroup(bool bInSectionGroup);
void setLastParagraphInSection(bool bLastParagraphInSection);
- bool isLastParagraphInSection() const;
+ bool isLastParagraphInSection() const { return mbLastParagraphInSection;}
- bool isInParagraphGroup() const;
+ bool isInParagraphGroup() const { return mbInParagraphGroup;}
void setInParagraphGroup(bool bInParagraphGroup);
- bool isInCharacterGroup() const;
+ bool isInCharacterGroup() const { return mbInCharacterGroup;}
void setInCharacterGroup(bool bInCharacterGroup);
void setForwardEvents(bool bForwardEvents);
- bool isForwardEvents() const;
+ bool isForwardEvents() const { return mbForwardEvents;}
const std::string getHandle() const;
void setHandle();
void setDocument(OOXMLDocumentImpl* pDocument);
- OOXMLDocumentImpl* getDocument() const;
+ OOXMLDocumentImpl* getDocument() const { return mpDocument;}
void setXNoteId(const sal_Int32 rId);
sal_Int32 getXNoteId() const;
diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
index dfae1d1a9e04..76fa69b81952 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
@@ -839,10 +839,6 @@ void OOXMLPropertySetEntryToInteger::attribute(Id nId, Value & rValue)
mnValue = rValue.getInt();
}
-int OOXMLPropertySetEntryToInteger::getValue() const
-{
- return mnValue;
-}
}}
diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
index 1e0b6400ad2a..78c578f0dce5 100644
--- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
+++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
@@ -296,7 +296,7 @@ public:
virtual void sprm(Sprm & rSprm) SAL_OVERRIDE;
virtual void attribute(Id nId, Value & rValue) SAL_OVERRIDE;
- int getValue() const;
+ int getValue() const { return mnValue;}
};
Sprm::Kind SprmKind(sal_uInt32 nSprmCode);