Kaydet (Commit) f3cefcfd authored tarafından Pascal Junck's avatar Pascal Junck

INTEGRATION: CWS aw019 (1.13.306); FILE MERGED

2004/09/28 15:53:22 aw 1.13.306.1: #i11190#
üst 3f0b1f0f
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: svdotxed.cxx,v $ * $RCSfile: svdotxed.cxx,v $
* *
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* last change: $Author: rt $ $Date: 2004-04-02 14:13:54 $ * last change: $Author: pjunck $ $Date: 2004-11-03 11:02:35 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -72,6 +72,14 @@ ...@@ -72,6 +72,14 @@
#include <editstat.hxx> #include <editstat.hxx>
#endif #endif
#ifndef _SFXITEMSET_HXX
#include <svtools/itemset.hxx>
#endif
#ifndef _EEITEM_HXX
#include "eeitem.hxx"
#endif
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// @@@@@@ @@@@@ @@ @@ @@@@@@ @@@@ @@@@@ @@@@@@ // @@@@@@ @@@@@ @@ @@ @@@@@@ @@@@ @@@@@ @@@@@@
...@@ -141,13 +149,18 @@ FASTBOOL SdrTextObj::BegTextEdit(SdrOutliner& rOutl) ...@@ -141,13 +149,18 @@ FASTBOOL SdrTextObj::BegTextEdit(SdrOutliner& rOutl)
// Parent enthaltenen Items hart am Absatz attributiert werden. // Parent enthaltenen Items hart am Absatz attributiert werden.
// -> BugID 22467 // -> BugID 22467
const SfxItemSet& rSet = GetObjectItemSet(); const SfxItemSet& rSet = GetObjectItemSet();
SdrOutlinerSetItem aOutlSetItem(rSet.GetPool()); //BFS01 SdrOutlinerSetItem aOutlSetItem(rSet.GetPool());
aOutlSetItem.GetItemSet().Put(rSet); //BFS01 aOutlSetItem.GetItemSet().Put(rSet);
const SfxItemSet* pTmpSet = &aOutlSetItem.GetItemSet(); //BFS01 const SfxItemSet* pTmpSet = &aOutlSetItem.GetItemSet();
const SfxItemSet* pParentMerk = pTmpSet->GetParent(); //BFS01 const SfxItemSet* pParentMerk = pTmpSet->GetParent();
((SfxItemSet*)pTmpSet)->SetParent(NULL); //BFS01 ((SfxItemSet*)pTmpSet)->SetParent(NULL);
rOutl.SetParaAttribs(0,*pTmpSet); //BFS01 rOutl.SetParaAttribs(0,*pTmpSet);
((SfxItemSet*)pTmpSet)->SetParent(pParentMerk); //BFS01 ((SfxItemSet*)pTmpSet)->SetParent(pParentMerk);
//BFS01
SfxItemSet aFilteredSet(*rSet.GetPool(), EE_ITEMS_START, EE_ITEMS_END);
aFilteredSet.Put(rSet);
rOutl.SetParaAttribs(0, aFilteredSet);
} }
} }
if (bFitToSize) { if (bFitToSize) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment