[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sd/source

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 29 15:16:34 UTC 2019


 sd/source/ui/sidebar/SlideBackground.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 593c3c39606383ed70680eeb029203c4506d6030
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Fri Oct 25 17:51:30 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Tue Oct 29 16:15:23 2019 +0100

    lok: simplify the function "SlideBackground::DumpAsPropertyTree"
    
    Change-Id: I288bcfa2f6ba82e83c541430d3782f2001645396
    Reviewed-on: https://gerrit.libreoffice.org/81537
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index 1b25b1bcdbe7..c644d38ec226 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -255,8 +255,7 @@ boost::property_tree::ptree SlideBackground::DumpAsPropertyTree()
         mpBindings->Update(SID_ATTR_PAGE_SIZE);
     }
 
-    boost::property_tree::ptree aTree(Control::DumpAsPropertyTree());
-    return aTree;
+    return Control::DumpAsPropertyTree();
 }
 
 void SlideBackground::HandleContextChange(


More information about the Libreoffice-commits mailing list