diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-11-29 00:22:31 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-11-29 00:52:11 +0100 |
commit | 9ef6890543761a348b6152031113a832010bc253 (patch) | |
tree | 3dd514e9933b135c659bec71101f52d1074c2e4b /writerfilter | |
parent | 3ad35cbadbed5c8cf2d2bbcccd154768a5a62b34 (diff) |
mark these as const
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 6 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 9e1be7374834..0e81b4aebdd8 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -332,7 +332,7 @@ void RTFDocumentImpl::setAuthor(rtl::OUString& rAuthor) m_aAuthor = rAuthor; } -bool RTFDocumentImpl::isSubstream() +bool RTFDocumentImpl::isSubstream() const { return m_bIsSubstream; } @@ -3153,12 +3153,12 @@ RTFParserState& RTFDocumentImpl::getState() return m_aStates.top(); } -int RTFDocumentImpl::getGroup() +int RTFDocumentImpl::getGroup() const { return m_nGroup; } -bool RTFDocumentImpl::isEmpty() +bool RTFDocumentImpl::isEmpty() const { return m_aStates.empty(); } diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx index d0aa294e7f3d..2e636041822e 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx @@ -292,15 +292,15 @@ namespace writerfilter { Stream& Mapper(); void setSubstream(bool bIsSubtream); void setAuthor(rtl::OUString& rAuthor); - bool isSubstream(); + bool isSubstream() const; void finishSubstream(); void setIgnoreFirst(rtl::OUString& rIgnoreFirst); void seek(sal_uInt32 nPos); uno::Reference<lang::XMultiServiceFactory> getModelFactory(); RTFParserState& getState(); /// If the stack of states is empty. - bool isEmpty(); - int getGroup(); + bool isEmpty() const; + int getGroup() const; void setDestinationText(rtl::OUString& rString); /// Resolve a picture: If not inline, then anchored. int resolvePict(bool bInline); |