summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-04-13 19:08:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-04-14 10:26:27 +0200
commite5aeca2cf9ff9746f9af521c52b40360cd7f7bfc (patch)
tree67308a859effc30b484d808e2bff50650a6cee4d /desktop
parent53ba2283c81ea7812538dc1c846a81fcb037fb10 (diff)
-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 <sbergman@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx1
1 files changed, 0 insertions, 1 deletions
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.