[Libreoffice-commits] core.git: desktop/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 28 09:45:46 UTC 2020


 desktop/qa/desktop_lib/test_desktop_lib.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 42efdb71bce9b6ec3469236e0de8e08c00b3c90e
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Oct 28 08:32:57 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Oct 28 10:45:02 2020 +0100

    strtol returns long, so that needs to be used here
    
    Reverting part of 6436302f40252bc6619e304e2051115fee902e20 "convert some more
    long -> tools::Long"
    
    Change-Id: I72a0029e580885a1714a85d105b6f666343ebdd8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104916
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index b2015dbafcf2..5d44a289af0f 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -1008,7 +1008,7 @@ void DesktopLOKTest::testSheetSelections()
     {
         char* pUsedMimeType = nullptr;
         char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
-        std::vector<tools::Long> aExpected = {5, 6, 7, 8, 9};
+        std::vector<long> aExpected = {5, 6, 7, 8, 9};
         std::istringstream iss(pCopiedContent);
         for (size_t i = 0; i < aExpected.size(); i++)
         {
@@ -1055,7 +1055,7 @@ void DesktopLOKTest::testSheetSelections()
     {
         char* pUsedMimeType  = nullptr;
         char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
-        std::vector<tools::Long> aExpected = { 8 };
+        std::vector<long> aExpected = { 8 };
         std::istringstream iss(pCopiedContent);
         for (size_t i = 0; i < aExpected.size(); i++)
         {


More information about the Libreoffice-commits mailing list