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

New commits:
commit 593c3c39606383ed70680eeb029203c4506d6030
Author:     Henry Castro <[email protected]>
AuthorDate: Fri Oct 25 17:51:30 2019 -0400
Commit:     Henry Castro <[email protected]>
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 <[email protected]>
    Reviewed-by: Henry Castro <[email protected]>

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(
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to