Kaydet (Commit) 9ef68905 authored tarafından Miklos Vajna's avatar Miklos Vajna

mark these as const

üst 3ad35cba
...@@ -332,7 +332,7 @@ void RTFDocumentImpl::setAuthor(rtl::OUString& rAuthor) ...@@ -332,7 +332,7 @@ void RTFDocumentImpl::setAuthor(rtl::OUString& rAuthor)
m_aAuthor = rAuthor; m_aAuthor = rAuthor;
} }
bool RTFDocumentImpl::isSubstream() bool RTFDocumentImpl::isSubstream() const
{ {
return m_bIsSubstream; return m_bIsSubstream;
} }
...@@ -3153,12 +3153,12 @@ RTFParserState& RTFDocumentImpl::getState() ...@@ -3153,12 +3153,12 @@ RTFParserState& RTFDocumentImpl::getState()
return m_aStates.top(); return m_aStates.top();
} }
int RTFDocumentImpl::getGroup() int RTFDocumentImpl::getGroup() const
{ {
return m_nGroup; return m_nGroup;
} }
bool RTFDocumentImpl::isEmpty() bool RTFDocumentImpl::isEmpty() const
{ {
return m_aStates.empty(); return m_aStates.empty();
} }
......
...@@ -292,15 +292,15 @@ namespace writerfilter { ...@@ -292,15 +292,15 @@ namespace writerfilter {
Stream& Mapper(); Stream& Mapper();
void setSubstream(bool bIsSubtream); void setSubstream(bool bIsSubtream);
void setAuthor(rtl::OUString& rAuthor); void setAuthor(rtl::OUString& rAuthor);
bool isSubstream(); bool isSubstream() const;
void finishSubstream(); void finishSubstream();
void setIgnoreFirst(rtl::OUString& rIgnoreFirst); void setIgnoreFirst(rtl::OUString& rIgnoreFirst);
void seek(sal_uInt32 nPos); void seek(sal_uInt32 nPos);
uno::Reference<lang::XMultiServiceFactory> getModelFactory(); uno::Reference<lang::XMultiServiceFactory> getModelFactory();
RTFParserState& getState(); RTFParserState& getState();
/// If the stack of states is empty. /// If the stack of states is empty.
bool isEmpty(); bool isEmpty() const;
int getGroup(); int getGroup() const;
void setDestinationText(rtl::OUString& rString); void setDestinationText(rtl::OUString& rString);
/// Resolve a picture: If not inline, then anchored. /// Resolve a picture: If not inline, then anchored.
int resolvePict(bool bInline); int resolvePict(bool bInline);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment