summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view/drviewsi.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-11-14 17:00:36 +0000
committerKai Ahrens <ka@openoffice.org>2002-11-14 17:00:36 +0000
commit63144ccc48194e7115887366836f10af45c39959 (patch)
tree10012789c20880429e836cbd770c6bcb742a6945 /sd/source/ui/view/drviewsi.cxx
parent#105050# Added workarround for #105145#. (diff)
downloadcore-63144ccc48194e7115887366836f10af45c39959.tar.gz
core-63144ccc48194e7115887366836f10af45c39959.zip
#97531#: check for Fontwork objects
Diffstat (limited to 'sd/source/ui/view/drviewsi.cxx')
-rw-r--r--sd/source/ui/view/drviewsi.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx
index b8a2c848cbaa..cf3fe9f13ccc 100644
--- a/sd/source/ui/view/drviewsi.cxx
+++ b/sd/source/ui/view/drviewsi.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drviewsi.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: ka $ $Date: 2001-12-19 12:09:21 $
+ * last change: $Author: ka $ $Date: 2002-11-14 18:00:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -334,7 +334,7 @@ void SdDrawViewShell::UpdateEffectWindow()
// find out, if there is any object, which contain text
BOOL bHasText = FALSE;
- if( pObject->ISA(SdrTextObj) && ((SdrTextObj*)pObject)->HasText() )
+ if( pObject->ISA(SdrTextObj) && ((SdrTextObj*)pObject)->HasText() && !((SdrTextObj*)pObject)->IsFontwork() )
bHasText = bHasText || TRUE;
pInfo = pDoc->GetAnimationInfo(pObject);
@@ -395,7 +395,7 @@ void SdDrawViewShell::UpdateEffectWindow()
pMark = rMarkList.GetMark( nObject );
SdrObject* pObject = pMark->GetObj();
- if( pObject->ISA(SdrTextObj) && ((SdrTextObj*)pObject)->HasText() )
+ if( pObject->ISA(SdrTextObj) && ((SdrTextObj*)pObject)->HasText() && !((SdrTextObj*)pObject)->IsFontwork() )
bHasText = bHasText || TRUE;
pInfo = pDoc->GetAnimationInfo(pObject);