From 83d27161f4fdf6d0e59a5b641f4764ac8966f325 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Wed, 16 Sep 2026 16:48:07 +0200 Subject: [PATCH] sfx2: Use XModel3 for DevelopmentToolDockingWindow::mxRoot Use the XModel3 interface instead of only the very basic XInterface interface for that member, as the object in use is known to support that. This also prepares for switching the return type of SfxObjectShell::GetBaseModel to a reference of the concrete SfxBaseModel in an upcoming commit (without introducing ambiguity due to multi-inheritance from XInterface in places using only an XInterface reference). Change-Id: Ie97eed9dec382ff0da0d3e5ed16ce8401985495b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211051 Reviewed-by: Michael Weghorn Tested-by: Jenkins --- sfx2/inc/DevelopmentToolDockingWindow.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfx2/inc/DevelopmentToolDockingWindow.hxx b/sfx2/inc/DevelopmentToolDockingWindow.hxx index 909ec48521a0..f05324322861 100644 --- a/sfx2/inc/DevelopmentToolDockingWindow.hxx +++ b/sfx2/inc/DevelopmentToolDockingWindow.hxx @@ -37,7 +37,7 @@ private: std::unique_ptr mpDomToolbar; // Reference to the root object for the current document - css::uno::Reference mxRoot; + css::uno::Reference mxRoot; // Stores the current selected object in the document css::uno::Reference mxCurrentSelection; css::uno::Reference mxSelectionListener;