summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-08 10:14:52 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-08 10:16:35 -0500
commit7ec3861d69a8c18488706564b27dbc344e3b5cd1 (patch)
tree47fc717e9a5320a02ef037d563def291a85835f0 /svx/source/svdraw
parent59555e5b38d62b92397d7f3eac5097211ed261c4 (diff)
Remove one variant of HasField() which takes arcane TypeId.
Change-Id: Ic8236b291ed5f318f67378bbc57b7cf027cbb92a
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdotext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 7a662aa645a2..72ab07f745fa 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -1167,16 +1167,16 @@ void SdrTextObj::ImpCheckMasterCachable()
if(!bNotVisibleAsMaster && pOutlinerParaObject && pOutlinerParaObject->IsEditDoc() )
{
const EditTextObject& rText= pOutlinerParaObject->GetTextObject();
- bNotMasterCachable=rText.HasField(SvxPageField::StaticType());
+ bNotMasterCachable=rText.HasField(SvxPageField::StaticClassId());
if( !bNotMasterCachable )
{
- bNotMasterCachable=rText.HasField(SvxHeaderField::StaticType());
+ bNotMasterCachable=rText.HasField(SvxHeaderField::StaticClassId());
if( !bNotMasterCachable )
{
- bNotMasterCachable=rText.HasField(SvxFooterField::StaticType());
+ bNotMasterCachable=rText.HasField(SvxFooterField::StaticClassId());
if( !bNotMasterCachable )
{
- bNotMasterCachable=rText.HasField(SvxDateTimeField::StaticType());
+ bNotMasterCachable=rText.HasField(SvxDateTimeField::StaticClassId());
}
}
}