Kaydet (Commit) d8b37d8b authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS aw024 (1.30.68); FILE MERGED

2006/09/22 02:26:06 aw 1.30.68.7: RESYNC: (1.34-1.35); FILE MERGED
2006/09/08 20:55:37 aw 1.30.68.6: RESYNC: (1.33-1.34); FILE MERGED
2006/08/03 17:10:23 aw 1.30.68.5: RESYNC: (1.32-1.33); FILE MERGED
2005/11/18 15:59:14 aw 1.30.68.4: RESYNC: (1.31-1.32); FILE MERGED
2005/09/17 22:52:58 aw 1.30.68.3: RESYNC: (1.30-1.31); FILE MERGED
2005/05/26 11:30:40 aw 1.30.68.2: #i39531#
2005/05/19 12:15:26 aw 1.30.68.1: #i39529#
üst 3a38de60
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: drwtxtex.cxx,v $ * $RCSfile: drwtxtex.cxx,v $
* *
* $Revision: 1.35 $ * $Revision: 1.36 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 23:14:23 $ * last change: $Author: ihi $ $Date: 2006-11-14 15:19:48 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -471,10 +471,10 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) ...@@ -471,10 +471,10 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
// Shellwechsel! // Shellwechsel!
{ {
SdrObject* pTmpObj = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); SdrObject* pTmpObj = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj();
SdrPageView* pTmpPV = pSdrView->GetPageViewPvNum(0); SdrPageView* pTmpPV = pSdrView->GetSdrPageView();
SdrView* pTmpView = pSdrView; SdrView* pTmpView = pSdrView;
pSdrView->EndTextEdit(TRUE); pSdrView->SdrEndTextEdit(sal_True);
SfxItemSet aAttr( *aNewAttr.GetPool(), SfxItemSet aAttr( *aNewAttr.GetPool(),
SDRATTR_TEXTDIRECTION, SDRATTR_TEXTDIRECTION,
...@@ -486,8 +486,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) ...@@ -486,8 +486,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
: com::sun::star::text::WritingMode_TB_RL ) ); : com::sun::star::text::WritingMode_TB_RL ) );
pTmpView->SetAttributes( aAttr ); pTmpView->SetAttributes( aAttr );
rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), sal_False);
&rSh.GetView().GetEditWin(), FALSE );
rSh.GetView().AttrChangedNotify( &rSh ); rSh.GetView().AttrChangedNotify( &rSh );
} }
return; return;
...@@ -496,10 +495,10 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) ...@@ -496,10 +495,10 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
case SID_ATTR_PARA_RIGHT_TO_LEFT: case SID_ATTR_PARA_RIGHT_TO_LEFT:
{ {
SdrObject* pTmpObj = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); SdrObject* pTmpObj = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj();
SdrPageView* pTmpPV = pSdrView->GetPageViewPvNum(0); SdrPageView* pTmpPV = pSdrView->GetSdrPageView();
SdrView* pTmpView = pSdrView; SdrView* pTmpView = pSdrView;
pSdrView->EndTextEdit(TRUE); pSdrView->SdrEndTextEdit(sal_True);
sal_Bool bLeftToRight = nSlot == SID_ATTR_PARA_LEFT_TO_RIGHT; sal_Bool bLeftToRight = nSlot == SID_ATTR_PARA_LEFT_TO_RIGHT;
const SfxPoolItem* pPoolItem; const SfxPoolItem* pPoolItem;
...@@ -530,8 +529,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) ...@@ -530,8 +529,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
aAttr.Put( SvxAdjustItem( SVX_ADJUST_RIGHT, EE_PARA_JUST ) ); aAttr.Put( SvxAdjustItem( SVX_ADJUST_RIGHT, EE_PARA_JUST ) );
} }
pTmpView->SetAttributes( aAttr ); pTmpView->SetAttributes( aAttr );
rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), sal_False );
&rSh.GetView().GetEditWin(), FALSE );
rSh.GetView().AttrChangedNotify( &rSh ); rSh.GetView().AttrChangedNotify( &rSh );
} }
return; return;
......
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