sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 2 +- sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 2 +- sw/source/uibase/uiview/formatclipboard.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 086dc69449fdeb33551f65dd1c3c1c989c4a67f7 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Thu Oct 21 17:21:46 2021 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Thu Oct 21 17:22:44 2021 +0200 Typo: pragraph->paragraph Change-Id: I8363b3f9f4f11e3f7447e8bc0853fa4928f8550c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124030 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx index f98bb13a4787..1b90c37a9a6f 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx @@ -788,7 +788,7 @@ DECLARE_OOXMLEXPORT_TEST(testFdo43093, "fdo43093.docx") // The problem was that the alignment are not exchange when the paragraph are RTL. uno::Reference<uno::XInterface> xParaRtlLeft(getParagraph( 1, "RTL Left")); sal_Int32 nRtlLeft = getProperty< sal_Int32 >( xParaRtlLeft, "ParaAdjust" ); - // test the text Direction value for the pragraph + // test the text Direction value for the paragraph sal_Int16 nRLDir = getProperty< sal_Int32 >( xParaRtlLeft, "WritingMode" ); uno::Reference<uno::XInterface> xParaRtlRight(getParagraph( 3, "RTL Right")); diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx index 5d67ff57170f..f5a5c3a8f80b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx @@ -717,7 +717,7 @@ DECLARE_OOXMLEXPORT_TEST(testFdo71646, "fdo71646.docx") // The problem was after save file created by MS the direction changed to RTL. uno::Reference<uno::XInterface> xParaLTRLeft(getParagraph( 1, "LTR LEFT")); sal_Int32 nLTRLeft = getProperty< sal_Int32 >( xParaLTRLeft, "ParaAdjust" ); - // test the text Direction value for the pragraph + // test the text Direction value for the paragraph sal_Int16 nLRDir = getProperty< sal_Int32 >( xParaLTRLeft, "WritingMode" ); // this will test the both the text direction and alignment for paragraph diff --git a/sw/source/uibase/uiview/formatclipboard.cxx b/sw/source/uibase/uiview/formatclipboard.cxx index b71733a6e4ea..2bf4dd036fef 100644 --- a/sw/source/uibase/uiview/formatclipboard.cxx +++ b/sw/source/uibase/uiview/formatclipboard.cxx @@ -484,7 +484,7 @@ void SwFormatClipboard::Paste( SwWrtShell& rWrtShell, SfxStyleSheetBasePool* pPo // if there is a named paragraph format recorded and the user wants to apply it if(!m_aParaStyle.isEmpty() && !bNoParagraphFormats ) { - // look for the named pragraph format in the pool + // look for the named paragraph format in the pool SwDocStyleSheet* pStyle = static_cast<SwDocStyleSheet*>(pPool->Find(m_aParaStyle, SfxStyleFamily::Para)); if( pStyle ) {