diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-10-28 08:32:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-10-28 10:45:02 +0100 |
commit | 42efdb71bce9b6ec3469236e0de8e08c00b3c90e (patch) | |
tree | fd612b47e09d127ef0b1f265f0fe8567f95dd562 /desktop | |
parent | f57e30eb56c1b593dcb9e801202ded9d079d9043 (diff) |
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@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/qa/desktop_lib/test_desktop_lib.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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++) { |