desktop/qa/desktop_lib/test_desktop_lib.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit e5aeca2cf9ff9746f9af521c52b40360cd7f7bfc
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Apr 13 19:08:25 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Apr 14 10:26:27 2023 +0200

    -Werror,-Wunused-variable
    
    Unused ever since it got introduced in 
62b337a3d6650b8b3045dd98f59a8c0188f0a6fa
    "Unit test for removeTextContext."
    
    (Found with an experimental Clang build supporting 
__attribute__((warn_unused))
    on individual ctors rather than just whole class types, and the 
corresponding
    css::uno::Reference ctor marked accordingly.)
    
    Change-Id: Id80b031625134ea6b4d679bfb774fc253206ae18
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150374
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx 
b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 3ad89b37416c..8490b4d0e116 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -2062,7 +2062,6 @@ void DesktopLOKTest::testInput()
 {
     // Load a Writer document, enable change recording and press a key.
     LibLODocument_Impl* pDocument = loadDoc("blank_text.odt");
-    uno::Reference<beans::XPropertySet> xPropertySet(mxComponent, 
uno::UNO_QUERY);
 
     Scheduler::ProcessEventsToIdle(); // Get focus & other bits setup.
 

Reply via email to