summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshtxt.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-08-22 13:22:45 +0000
committerChristian Lippka <cl@openoffice.org>2001-08-22 13:22:45 +0000
commit7231b6c11e12016ee57c9d6aefa2622a40b34125 (patch)
treeedfb283447a45d353559ea91e29f663c2a982a0f /svx/source/unodraw/unoshtxt.cxx
parent5b056d389feded857eccd53b7745b1f8761d2a44 (diff)
#90884# don't put attribs from shape in first paragraph, thats not the right way for api
Diffstat (limited to 'svx/source/unodraw/unoshtxt.cxx')
-rw-r--r--svx/source/unodraw/unoshtxt.cxx18
1 files changed, 2 insertions, 16 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index 526b5c5490fa..cf747155fa63 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoshtxt.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: aw $ $Date: 2001-08-20 14:52:25 $
+ * last change: $Author: cl $ $Date: 2001-08-22 14:22:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -351,20 +351,6 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetTextForwarder()
if(mpObject->GetStyleSheet())
mpOutliner->SetStyleSheet( 0, mpObject->GetStyleSheet());
-
- // Beim setzen der harten Attribute an den ersten Absatz muss
- // der Parent pOutlAttr (=die Vorlage) temporaer entfernt
- // werden, da sonst bei SetParaAttribs() auch alle in diesem
- // Parent enthaltenen Items hart am Absatz attributiert werden.
- // -> BugID 22467
- const SfxItemSet& rSet = mpObject->GetItemSet();
- SdrOutlinerSetItem aOutlSetItem(rSet.GetPool());
- aOutlSetItem.GetItemSet().Put(rSet);
- const SfxItemSet* pTmpSet = &aOutlSetItem.GetItemSet();
- const SfxItemSet* pParentMerk = pTmpSet->GetParent();
- ((SfxItemSet*)pTmpSet)->SetParent(NULL);
- mpOutliner->SetParaAttribs(0,*pTmpSet);
- ((SfxItemSet*)pTmpSet)->SetParent(pParentMerk);
}
}