diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-06 12:13:33 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-06 12:55:35 +0000 |
commit | 27d4e27a6ab317cbc7eb1fb5d73cebdc36ffbb34 (patch) | |
tree | 64fd29052d6c591287c944b657a323210c4ce949 | |
parent | 9ba89c54076990b21b8e052fdd8d43bf8688edbe (diff) |
CppunitTest_sc_tiledrendering: remove commented out code
This was added with 235136c17868627412db8dda148d3c4103907c0c
"sc lok: Don't interact with the user during .uno:SortAscending or
Descending."
and never needed since then
Change-Id: I7c6822d1f187632f608821cbcd208624deca103a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148305
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | sc/qa/unit/tiledrendering/tiledrendering.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx index f92d88d8acf6..84771a2c555c 100644 --- a/sc/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx @@ -252,35 +252,6 @@ void ScTiledRenderingTest::callback(int nType, const char* pPayload, void* pData static_cast<ScTiledRenderingTest*>(pData)->callbackImpl(nType, pPayload); } -/* TODO when needed... -static std::vector<OUString> lcl_convertSeparated(const OUString& rString, sal_Unicode nSeparator) -{ - std::vector<OUString> aRet; - - sal_Int32 nIndex = 0; - do - { - OUString aToken = rString.getToken(0, nSeparator, nIndex); - aToken = aToken.trim(); - if (!aToken.isEmpty()) - aRet.push_back(aToken); - } - while (nIndex >= 0); - - return aRet; -} - -static void lcl_convertRectangle(const OUString& rString, Rectangle& rRectangle) -{ - uno::Sequence<OUString> aSeq = comphelper::string::convertCommaSeparated(rString); - CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(4), aSeq.getLength()); - rRectangle.SetLeft(aSeq[0].toInt32()); - rRectangle.SetTop(aSeq[1].toInt32()); - rRectangle.setWidth(aSeq[2].toInt32()); - rRectangle.setHeight(aSeq[3].toInt32()); -} -*/ - void ScTiledRenderingTest::callbackImpl(int nType, const char* pPayload) { switch (nType) |