summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tpshadow.cxx
diff options
context:
space:
mode:
authorAlan Du <alan_du22@yahoo.com>2010-10-11 20:11:42 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-10-11 20:11:42 -0400
commitf25d7371795d963369cec5eafe30f436f83f2dd2 (patch)
tree8218d41989ad07304442fb8bb663462a0f933323 /cui/source/tabpages/tpshadow.cxx
parent4ad9f8a96576a15f613eebe39f18cc9c9b5c7bae (diff)
Removed a lot of the //CHINA001 comments.
Diffstat (limited to 'cui/source/tabpages/tpshadow.cxx')
-rw-r--r--cui/source/tabpages/tpshadow.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx
index 3accd144efcc..1dee79a6f342 100644
--- a/cui/source/tabpages/tpshadow.cxx
+++ b/cui/source/tabpages/tpshadow.cxx
@@ -48,7 +48,7 @@
#include <cuitabline.hxx>
#include <svx/xlineit0.hxx>
-#include <sfx2/request.hxx> //add CHINA001
+#include <sfx2/request.hxx>
#define DLGWIN this->GetParent()->GetParent()
@@ -217,13 +217,13 @@ void SvxShadowTabPage::ActivatePage( const SfxItemSet& rSet )
{
USHORT nPos;
USHORT nCount;
- //add CHINA001 Begin
+
SFX_ITEMSET_ARG (&rSet,pPageTypeItem,SfxUInt16Item,SID_PAGE_TYPE,sal_False);
if (pPageTypeItem)
SetPageType(pPageTypeItem->GetValue());
- //add CHINA001 end
- if( nDlgType == 0 ) //CHINA001 // Flaechen-Dialogif( *pDlgType == 0 ) // Flaechen-Dialog
- {
+
+ if( nDlgType == 0 )
+
if( pColorTab )
{
// ColorTable
@@ -259,7 +259,7 @@ void SvxShadowTabPage::ActivatePage( const SfxItemSet& rSet )
ModifyShadowHdl_Impl( this );
}
- nPageType = PT_SHADOW;//CHINA001 *pPageType = PT_SHADOW;
+ nPageType = PT_SHADOW;
}
}
}
@@ -379,9 +379,9 @@ BOOL SvxShadowTabPage::FillItemSet( SfxItemSet& rAttrs )
}
}
}
- //add CHINA001 begin
+
rAttrs.Put (CntUInt16Item(SID_PAGE_TYPE,nPageType));
- //add CHINA001 end
+
return( bModified );
}
@@ -593,7 +593,7 @@ void SvxShadowTabPage::PointChanged( Window* pWindow, RECT_POINT eRcPt )
ModifyShadowHdl_Impl( pWindow );
}
-void SvxShadowTabPage::PageCreated (SfxAllItemSet aSet) //add CHINA001
+void SvxShadowTabPage::PageCreated (SfxAllItemSet aSet)
{
SFX_ITEMSET_ARG (&aSet,pColorTabItem,SvxColorTableItem,SID_COLOR_TABLE,sal_False);
SFX_ITEMSET_ARG (&aSet,pPageTypeItem,SfxUInt16Item,SID_PAGE_TYPE,sal_False);