diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 23:45:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 06:53:03 -0600 |
commit | 2ef9df8aee696993d9eb235fd36caa4cbcfd3624 (patch) | |
tree | 7b9a351a3362f45a909299c93192bd11a2fd0c4e /sd/source/ui/func/fupage.cxx | |
parent | 7e92d9881f039899262882633712ec0a3de01474 (diff) |
Remove visual noise from sd
Change-Id: I0957cabd66ddc4e25c7e6ff54ec2a555eda0792c
Reviewed-on: https://gerrit.libreoffice.org/8306
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/func/fupage.cxx')
-rw-r--r-- | sd/source/ui/func/fupage.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx index 83caf19e1809..5a91b7428fc7 100644 --- a/sd/source/ui/func/fupage.cxx +++ b/sd/source/ui/func/fupage.cxx @@ -176,7 +176,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent ) EE_PARA_WRITINGDIR, EE_PARA_WRITINGDIR, 0); - /////////////////////////////////////////////////////////////////////// + // Retrieve additional data for dialog SvxShadowItem aShadowItem(SID_ATTR_BORDER_SHADOW); @@ -188,7 +188,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent ) mpDoc->GetDefaultWritingMode() == ::com::sun::star::text::WritingMode_RL_TB ? FRMDIR_HORI_RIGHT_TOP : FRMDIR_HORI_LEFT_TOP, EE_PARA_WRITINGDIR ) ); - /////////////////////////////////////////////////////////////////////// + // Retrieve page-data for dialog SvxPageItem aPageItem( SID_ATTR_PAGE ); @@ -226,7 +226,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent ) aNewAttr.Put( SfxBoolItem( SID_ATTR_PAGE_EXT2, bFullSize ) ); - /////////////////////////////////////////////////////////////////////// + // Merge ItemSet for dialog const sal_uInt16* pPtr = aNewAttr.GetRanges(); @@ -481,7 +481,7 @@ void FuPage::ApplyItemSet( const SfxItemSet* pArgs ) if( !pArgs ) return; - /////////////////////////////////////////////////////////////////////////// + // Set new page-attributes PageKind ePageKind = mpDrawViewShell->GetPageKind(); const SfxPoolItem* pPoolItem; @@ -574,13 +574,13 @@ void FuPage::ApplyItemSet( const SfxItemSet* pArgs ) if( bSetPageSizeAndBorder || !mbMasterPage ) mpDrawViewShell->SetPageSizeAndBorder(ePageKind, aNewSize, nLeft, nRight, nUpper, nLower, bScaleAll, eOrientation, nPaperBin, bFullSize ); - //////////////////////////////////////////////////////////////////////////////// - // + + // if bMasterPage==sal_False then create a background-object for this page with the // properties set in the dialog before, but if mbPageBckgrdDeleted==sal_True then // the background of this page was set to invisible, so it would be a mistake // to create a new background-object for this page ! - // + if( mbDisplayBackgroundTabPage ) { |