writerfilter/source/rtftok/rtfdocumentimpl.cxx |    8 ++++----
 writerfilter/source/rtftok/rtfdocumentimpl.hxx |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 49a74d07ca38c313ce5cf237b4ac2df892a3fa0e
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Thu Aug 11 19:01:54 2022 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Fri Aug 12 11:07:19 2022 +0200

    writerfilter: typo Srpms->Sprms
    
    Change-Id: Ib24c5711539b54b429231693fe2aa034593c6262
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138156
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index b3181e605f23..46b921bf9664 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1670,20 +1670,20 @@ void RTFDocumentImpl::sendProperties(
     tableBreak();
 }
 
-void RTFDocumentImpl::replayRowBuffer(RTFBuffer_t& rBuffer, 
::std::deque<RTFSprms>& rCellsSrpms,
+void RTFDocumentImpl::replayRowBuffer(RTFBuffer_t& rBuffer, 
::std::deque<RTFSprms>& rCellsSprms,
                                       ::std::deque<RTFSprms>& 
rCellsAttributes, int const nCells)
 {
     for (int i = 0; i < nCells; ++i)
     {
-        replayBuffer(rBuffer, &rCellsSrpms.front(), &rCellsAttributes.front());
-        rCellsSrpms.pop_front();
+        replayBuffer(rBuffer, &rCellsSprms.front(), &rCellsAttributes.front());
+        rCellsSprms.pop_front();
         rCellsAttributes.pop_front();
     }
     for (Buf_t& i : rBuffer)
     {
         SAL_WARN_IF(BUFFER_CELLEND == std::get<0>(i), "writerfilter.rtf", 
"dropping table cell!");
     }
-    assert(rCellsSrpms.empty());
+    assert(rCellsSprms.empty());
     assert(rCellsAttributes.empty());
 }
 
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index 14ffc2f630a4..48738135542a 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -788,7 +788,7 @@ private:
     void sendProperties(writerfilter::Reference<Properties>::Pointer_t const& 
pParagraphProperties,
                         writerfilter::Reference<Properties>::Pointer_t const& 
pFrameProperties,
                         writerfilter::Reference<Properties>::Pointer_t const& 
pTableRowProperties);
-    void replayRowBuffer(RTFBuffer_t& rBuffer, ::std::deque<RTFSprms>& 
rCellsSrpms,
+    void replayRowBuffer(RTFBuffer_t& rBuffer, ::std::deque<RTFSprms>& 
rCellsSprms,
                          ::std::deque<RTFSprms>& rCellsAttributes, int nCells);
     void replayBuffer(RTFBuffer_t& rBuffer, RTFSprms* pSprms, RTFSprms const* 
pAttributes);
     /// If we have some unicode or hex characters to send.

Reply via email to