[Libreoffice-commits] core.git: sc/qa sc/source

Szabolcs Toth (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 16 13:24:57 UTC 2020


 sc/qa/unit/subsequent_export-test.cxx |    6 ++++--
 sc/source/filter/xcl97/xcl97rec.cxx   |    3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 9711904c9a26e89d36a9d5aeb61b99f7fe59fb43
Author:     Szabolcs Toth <toth.szabolcs at nisz.hu>
AuthorDate: Tue Sep 15 11:03:10 2020 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Wed Sep 16 15:24:12 2020 +0200

    Cleanup: apply Clang formatting
    
    Some formatting on a previous commit.
    
    Change-Id: Ib5de7170ca230486b6d8c85cc999fac1f736def6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102716
    Tested-by: Jenkins
    Tested-by: László Németh <nemeth at numbertext.org>
    Reviewed-by: László Németh <nemeth at numbertext.org>

diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 8df9882b0190..3e68d6691609 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -5452,8 +5452,10 @@ void ScExportTest::testTdf133688_precedents()
     ScDocShellRef xShell = loadDoc("tdf133688_dont_save_precedents_to_xlsx.", FORMAT_ODS);
     CPPUNIT_ASSERT(xShell.is());
 
-    std::shared_ptr<utl::TempFile> pXPathFile = ScBootstrapFixture::exportTo(&(*xShell), FORMAT_XLSX);
-    xmlDocUniquePtr pDrawing = XPathHelper::parseExport(pXPathFile, m_xSFactory, "xl/drawings/drawing1.xml");
+    std::shared_ptr<utl::TempFile> pXPathFile
+        = ScBootstrapFixture::exportTo(&(*xShell), FORMAT_XLSX);
+    xmlDocUniquePtr pDrawing
+        = XPathHelper::parseExport(pXPathFile, m_xSFactory, "xl/drawings/drawing1.xml");
     CPPUNIT_ASSERT(pDrawing);
 
     // We do not export any shapes.
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 70eb9a7323b7..11c0b9b792ad 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -1283,7 +1283,8 @@ void XclObjAny::SaveXml( XclExpXmlStream& rStrm )
         ScAddress       aPosition;
         ScRange         aSourceRange;
         bool            bRedLine;
-        ScDetectiveObjType eObjType = aDetFunc.GetDetectiveObjectType(pObject, mnScTab, aPosition, aSourceRange, bRedLine);
+        ScDetectiveObjType eObjType
+            = aDetFunc.GetDetectiveObjectType(pObject, mnScTab, aPosition, aSourceRange, bRedLine);
 
         if (eObjType != SC_DETOBJ_NONE)
             return;


More information about the Libreoffice-commits mailing list