sc/qa/unit/tiledrendering/tiledrendering.cxx |   29 ---------------------------
 1 file changed, 29 deletions(-)

New commits:
commit 27d4e27a6ab317cbc7eb1fb5d73cebdc36ffbb34
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Mon Mar 6 12:13:33 2023 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Mar 6 12:55:35 2023 +0000

    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 <xiscofa...@libreoffice.org>

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)

Reply via email to