Lines Matching refs:p

796 void SfxStyleSheetBasePool::Remove( SfxStyleSheetBase* p )  in Remove()  argument
798 if( p ) in Remove()
800 …tor aIter( std::find( aStyles.begin(), aStyles.end(), rtl::Reference< SfxStyleSheetBase >( p ) ) ); in Remove()
804 ChangeParent( p->GetName(), p->GetParent() ); in Remove()
821 Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_ERASED, *p ) ); in Remove()
826 void SfxStyleSheetBasePool::Insert( SfxStyleSheetBase* p ) in Insert() argument
828 DBG_ASSERT( p, "svl::SfxStyleSheetBasePool::Insert(), no stylesheet?" ); in Insert()
830 SfxStyleSheetIterator aIter(this, p->GetFamily(), p->GetMask()); in Insert()
831 SfxStyleSheetBase* pOld = aIter.Find( p->GetName() ); in Insert()
833 if( p->GetParent().Len() ) in Insert()
835 pOld = aIter.Find( p->GetParent() ); in Insert()
838 aStyles.push_back( rtl::Reference< SfxStyleSheetBase >( p ) ); in Insert()
839 Broadcast( SfxStyleSheetHint( SFX_STYLESHEET_CREATED, *p ) ); in Insert()
871 for( SfxStyleSheetBase* p = First(); p; p = Next() ) in ChangeParent() local
873 if( p->GetParent().Equals( rOld ) ) in ChangeParent()
876 p->SetParent( rNew ); in ChangeParent()
878 p->aParent = rNew; in ChangeParent()
984 SfxStyleSheetBase* p = aStyles[ i ].get(); in Load() local
985 XubString aText = p->aParent; in Load()
986 p->aParent.Erase(); in Load()
987 p->SetParent( aText ); in Load()
988 aText = p->aFollow; in Load()
989 p->aFollow.Erase(); in Load()
990 p->SetFollow( aText ); in Load()
1081 SfxStyleSheetBase* p = aStyles[ i ].get(); in Load1_Impl() local
1082 XubString aText = p->aParent; in Load1_Impl()
1083 p->aParent.Erase(); in Load1_Impl()
1084 p->SetParent( aText ); in Load1_Impl()
1085 aText = p->aFollow; in Load1_Impl()
1086 p->aFollow.Erase(); in Load1_Impl()
1087 p->SetFollow( aText ); in Load1_Impl()
1102 for( SfxStyleSheetBase* p = First(); p; p = Next() ) in Store() local
1104 if(!bUsed || p->IsUsed()) in Store()
1135 for( SfxStyleSheetBase* p = First(); p; p = Next() ) in Store() local
1137 if(!bUsed || p->IsUsed()) in Store()
1139 sal_uInt16 nFamily = (sal_uInt16)p->GetFamily(); in Store()
1140 String* pName = new String( p->GetName() ); in Store()
1166 String* p = aOrigNames.GetObject( n ); in Store() local
1167 aSortOrigNames.Insert( p, nInsPos ); in Store()
1179 for( SfxStyleSheetBase* p = First(); p; p = Next() ) in Store() local
1181 if(!bUsed || p->IsUsed()) in Store()
1187 sal_uInt32 nHelpId = p->GetHelpId( aHelpFile ); in Store()
1188 sal_uInt16 nFamily = sal::static_int_cast< sal_uInt16 >(p->GetFamily()); in Store()
1191 (sNm = sFamily) += p->GetName(); in Store()
1197 (sNm = sFamily) += p->GetParent(); in Store()
1203 (sNm = sFamily) += p->GetFollow(); in Store()
1209 rStream << nFamily << p->GetMask(); in Store()
1212 if(p->pSet) in Store()
1213 p->pSet->Store( rStream ); in Store()
1220 rStream << (sal_uInt16) p->GetVersion(); in Store()
1223 p->Store( rStream ); in Store()