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

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


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

New commits:
commit cca1bacd4648a85895e956da850e97462dd5438b
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:50 2019 +0100

    lok: simplify the function "SlideBackground::DumpAsPropertyTree"
    
    Change-Id: I288bcfa2f6ba82e83c541430d3782f2001645396
    Reviewed-on: https://gerrit.libreoffice.org/81544
    Tested-by: Jenkins
    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 2e54e2c37fd9..98e57e7d594e 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -239,8 +239,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