sd/qa/unit/tiledrendering/tiledrendering.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 26ea90bb5a3b43da0ceae8bb250367125d3333d9
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Wed May 17 16:16:21 2023 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Thu May 18 23:18:46 2023 +0200

    fix build: sd qa tiledrendering: remove unused variables
    
    I have no idea how this would have passed QA.
    Unused variables is a really common error,
    and I would have expected newer compilers to catch these.
    
    gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1)
    
    Change-Id: Ief38da8b9f68c1bcda9db1b9b343b3afee2163a4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151966
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Justin Luth <jl...@mail.com>

diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx 
b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 0552193eaf30..fd990b54c757 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -2548,8 +2548,6 @@ void SdTiledRenderingTest::testGetViewRenderState()
     CPPUNIT_ASSERT_EQUAL(OString(";Default"), 
pXImpressDocument->getViewRenderState());
     // Create a second view
     SfxLokHelper::createView();
-    int nSecondViewId = SfxLokHelper::getView();
-    ViewCallback aView2;
     CPPUNIT_ASSERT_EQUAL(OString(";Default"), 
pXImpressDocument->getViewRenderState());
     // Set to dark scheme
     {

Reply via email to