[Libreoffice-commits] core.git: sfx2/source

Tomoyuki Kubota (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 2 09:10:06 UTC 2021


 sfx2/source/sidebar/SidebarController.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a44eb7f8013f1e3f2165ee8295059bc1e75297a5
Author:     Tomoyuki Kubota <himajin100000 at gmail.com>
AuthorDate: Thu Apr 1 23:09:04 2021 +0200
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Apr 2 11:09:24 2021 +0200

    welding the sidebar deck too for DEBUG mode
    
    Change-Id: I1b05c39be1d9d6acd24fb0845756db9733649e7c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113478
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index e278ded14849..dded59176dd3 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -878,7 +878,7 @@ void SidebarController::SwitchToDeck (
 
 #ifdef DEBUG
     // Show the context name in the deck title bar.
-    VclPtr<DeckTitleBar> pDebugTitleBar = mpCurrentDeck->GetTitleBar();
+    DeckTitleBar* pDebugTitleBar = mpCurrentDeck->GetTitleBar();
     if (pDebugTitleBar)
         pDebugTitleBar->SetTitle(rDeckDescriptor.msTitle + " (" + maCurrentContext.msContext + ")");
 #endif


More information about the Libreoffice-commits mailing list