diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:27:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:24 +0000 |
commit | 7be0997a0235b05fed9d448e642e0575a4e6e017 (patch) | |
tree | 334b65cf6fd3275f013a3d8040c1d8271d54c105 /cui/source/tabpages/tpbitmap.cxx | |
parent | 534b3b4c8b8e039171b381123d4c4195273f71ca (diff) |
Related: fdo#54024 decrazy the Dialog Type for a start anyway
once set in the dialog ctors the dialog type never changes
so we don't need to pass it by pointer
Change-Id: I9d4baf2d93ca4c09e413a8fd3cd3e3367873e833
Diffstat (limited to 'cui/source/tabpages/tpbitmap.cxx')
-rw-r--r-- | cui/source/tabpages/tpbitmap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 81373db63c04..ec2f06d2f298 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -58,7 +58,7 @@ SvxBitmapTabPage::SvxBitmapTabPage( Window* pParent, const SfxItemSet& rInAttrs pnBitmapListState ( 0 ), pnColorListState ( 0 ), pPageType ( 0 ), - pDlgType ( 0 ), + nDlgType ( 0 ), pbAreaTP ( 0 ), bBmpChanged ( false ), @@ -138,7 +138,7 @@ void SvxBitmapTabPage::ActivatePage( const SfxItemSet& ) sal_uInt16 nPos; sal_uInt16 nCount; - if( *pDlgType == 0 ) // area dialog + if( nDlgType == 0 ) // area dialog { *pbAreaTP = sal_False; @@ -226,7 +226,7 @@ int SvxBitmapTabPage::DeactivatePage( SfxItemSet* _pSet) sal_Bool SvxBitmapTabPage::FillItemSet( SfxItemSet& _rOutAttrs ) { - if( *pDlgType == 0 && *pbAreaTP == sal_False ) // area dialog + if( nDlgType == 0 && *pbAreaTP == sal_False ) // area dialog { if(PT_BITMAP == *pPageType) { |