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

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 8 16:13:51 UTC 2019


 sfx2/source/sidebar/Panel.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 707436f0b37fa2cf0e5a3fd41bcda504246876c6
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Tue Oct 8 16:49:35 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Tue Oct 8 18:12:31 2019 +0200

    jsdialogs: Expose the panel names.
    
    Change-Id: Ifa837bfcaba6e63c7058e34f1e386f571bfb4d61
    Reviewed-on: https://gerrit.libreoffice.org/80481
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>
    (cherry picked from commit b13e2e7d2b2767d4fadaf825756ee38bc941ad57)
    Reviewed-on: https://gerrit.libreoffice.org/80490

diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx
index 02a5cc565407..d9515affef63 100644
--- a/sfx2/source/sidebar/Panel.cxx
+++ b/sfx2/source/sidebar/Panel.cxx
@@ -63,9 +63,7 @@ Panel::Panel(const PanelDescriptor& rPanelDescriptor,
     , maContextAccess(rContextAccess)
     , mxFrame(rxFrame)
 {
-#ifdef DEBUG
-    SetText(OUString("Panel"));
-#endif
+    SetText(rPanelDescriptor.msTitle);
 }
 
 Panel::~Panel()


More information about the Libreoffice-commits mailing list