diff options
Diffstat (limited to 'writerfilter/source/rtftok')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 1cc8230f6c7c..41b638b5acc4 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -191,7 +191,7 @@ OString DTTM22OString(long nDTTM) return DateTimeToOString(msfilter::util::DTTM2DateTime(nDTTM)); } -static RTFSprms lcl_getBookmarkProperties(int nPos, OUString& rString) +static RTFSprms lcl_getBookmarkProperties(int nPos, const OUString& rString) { RTFSprms aAttributes; auto pPos = new RTFValue(nPos); @@ -458,7 +458,7 @@ static void lcl_copyFlatten(RTFReferenceProperties& rProps, RTFSprms& rStyleAttr } writerfilter::Reference<Properties>::Pointer_t -RTFDocumentImpl::getProperties(RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType) +RTFDocumentImpl::getProperties(const RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType) { RTFSprms aSprms(rSprms); RTFValue::Pointer_t pAbstractList; diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx index 11c8dc851a9d..f34e2ae38463 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx @@ -518,7 +518,7 @@ private: void parBreak(); void tableBreak(); writerfilter::Reference<Properties>::Pointer_t - getProperties(RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType); + getProperties(const RTFSprms& rAttributes, RTFSprms const& rSprms, Id nStyleType); void checkNeedPap(); void sectBreak(bool bFinal = false); void prepareProperties(RTFParserState& rState, |