diff options
Diffstat (limited to 'sd/source/ui/sidebar/SlideBackground.cxx')
-rw-r--r-- | sd/source/ui/sidebar/SlideBackground.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index f6f520d0bf38..68f670f923a3 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -231,6 +231,17 @@ void SlideBackground::Initialize() UpdateMarginBox(); } +boost::property_tree::ptree SlideBackground::DumpAsPropertyTree() +{ + if (mpPaperSizeBox->GetSelectedEntryCount() == 0) + { + mpBindings->Update(SID_ATTR_PAGE_SIZE); + } + + boost::property_tree::ptree aTree(Control::DumpAsPropertyTree()); + return aTree; +} + void SlideBackground::HandleContextChange( const vcl::EnumContext& rContext) { |