From 59169cb0a17fd81acdc1853984c644385fb121fc Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Thu, 4 Jun 2026 15:22:31 +0200 Subject: [PATCH] starmath: Drop unused SmMLImportWrapper::m_pDocShell Fixes this build error seen with clang 21 on Debian testing after commit 6f81bce8077ad72a911836c31aefb1f01f2e1cd5 Date: Wed Jun 3 12:34:28 2026 +0200 loplugin:unusedmethods : starmath/inc/mathml/import.hxx:31:17: error: private field 'm_pDocShell' is not used [-Werror,-Wunused-private-field] 31 | SmDocShell* m_pDocShell; | ^ Change-Id: I6efc86c6894283443989a35e7a51759d8e046efb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205998 Tested-by: Dan Williams Reviewed-by: Dan Williams --- starmath/inc/mathml/import.hxx | 1 - 1 file changed, 1 deletion(-) diff --git a/starmath/inc/mathml/import.hxx b/starmath/inc/mathml/import.hxx index 948ef81c1cd8..82b3efe4eb7a 100644 --- a/starmath/inc/mathml/import.hxx +++ b/starmath/inc/mathml/import.hxx @@ -28,7 +28,6 @@ class SmModel; class SmMLImportWrapper { rtl::Reference m_xModel; - SmDocShell* m_pDocShell; SmMLImport* m_pMlImport; public: