diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-24 14:29:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-24 14:29:57 +0200 |
commit | 3c4c5aa8cce98fb95473d63d05ba9097e9032ccc (patch) | |
tree | 79e715a14bbf7f7c97ef29c2e639e148a01bd18a /writerfilter/source/rtftok/rtfdocumentimpl.cxx | |
parent | 536258758a9192ce8985d5055edac600568120fc (diff) |
loplugin:expandablemethods in writerfilter..xmlhelp
Change-Id: I23ce30e2f15b6fe857a727f1ef84c40d8d0b127d
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.cxx')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 577cddc5b196..a65d7b649f8a 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -308,11 +308,6 @@ void RTFDocumentImpl::setSuperstream(RTFDocumentImpl* pSuperstream) m_pSuperstream = pSuperstream; } -void RTFDocumentImpl::setAuthorInitials(OUString& rAuthorInitials) -{ - m_aAuthorInitials = rAuthorInitials; -} - bool RTFDocumentImpl::isSubstream() const { return m_pSuperstream != nullptr; @@ -343,7 +338,7 @@ void RTFDocumentImpl::resolveSubstream(std::size_t nPos, Id nId, OUString& rIgno } if (!m_aAuthorInitials.isEmpty()) { - pImpl->setAuthorInitials(m_aAuthorInitials); + pImpl->m_aAuthorInitials = m_aAuthorInitials; m_aAuthorInitials.clear(); } pImpl->m_nDefaultFontIndex = m_nDefaultFontIndex; |