From 670fa33edd7c9da77d5cbed5c7978ef24df59f15 Mon Sep 17 00:00:00 2001 From: Amarjargal Gundjalam Date: Mon, 31 Oct 2022 12:24:13 +0800 Subject: tdf#143641 Fix UNO Object Inspector window title When detaching the "UNO Object Inspector" window, the title is "LibreOfficeDev 7.x", and not anything related to the window. This change fixes the window title. Change-Id: I3b7c3b547e59acd108b62a537ce7ff24162d745b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142053 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas Tested-by: Hossein Reviewed-by: Hossein --- sfx2/source/devtools/DevelopmentToolDockingWindow.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sfx2') diff --git a/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx b/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx index 817647ca9754..de0950a7edaf 100644 --- a/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx +++ b/sfx2/source/devtools/DevelopmentToolDockingWindow.cxx @@ -17,6 +17,8 @@ #include #include #include +#include +#include #include "SelectionChangeHandler.hxx" @@ -51,6 +53,8 @@ DevelopmentToolDockingWindow::DevelopmentToolDockingWindow(SfxBindings* pInputBi mxSelectionSupplier.set(xController, css::uno::UNO_QUERY); maObjectInspectorTreeHandler.introspect(mxRoot); + + SetText(SfxResId(STR_OBJECT_INSPECTOR)); } IMPL_LINK(DevelopmentToolDockingWindow, DocumentModelTreeViewSelectionHandler, weld::TreeView&, -- cgit