diff options
author | Oliver-Rainer Wittmann <orw@apache.org> | 2013-04-30 11:55:34 +0000 |
---|---|---|
committer | Oliver-Rainer Wittmann <orw@apache.org> | 2013-04-30 11:55:34 +0000 |
commit | 2ff25b11b2c9e187f3ed26daeba3b5619289ecc1 (patch) | |
tree | f1a73da1b731ba0b402883502030061a76f79668 | |
parent | d465ec90c0626857a9c30523daba63d7b713f9e6 (diff) |
<SwDrawTextShell> - remove self-destructing call to <SwView::AttrChangedNotify(..)>
- remove superfluous slot invalidation
Notes
merged as: 183db520892b887eda8ecfe1cc2af1bc3dd5d2d7
-rw-r--r-- | sw/source/ui/shells/drwtxtex.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/shells/drwtxtsh.cxx | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx index c6795a7f2376..2af0dfa26f21 100644 --- a/sw/source/ui/shells/drwtxtex.cxx +++ b/sw/source/ui/shells/drwtxtex.cxx @@ -707,7 +707,6 @@ ASK_ADJUST: } else rSet.InvalidateItem(nSlotId); - Invalidate(SID_ATTR_PARA_ULSPACE); nSlotId = 0; } break; diff --git a/sw/source/ui/shells/drwtxtsh.cxx b/sw/source/ui/shells/drwtxtsh.cxx index 2552472bec97..5cecb03d42f6 100644 --- a/sw/source/ui/shells/drwtxtsh.cxx +++ b/sw/source/ui/shells/drwtxtsh.cxx @@ -169,18 +169,6 @@ __EXPORT SwDrawTextShell::~SwDrawTextShell() { if ( GetView().GetCurShell() == this ) rView.ResetSubShell(); - - //MA 13. Nov. 96: Das kommt durchaus vor #33141#: - //(doppel-)Klick von einem Texteditmode in ein anderes Objekt, zwischendurch - //wird eine andere (Draw-)Shell gepusht, die alte aber noch nicht deletet. - //Dann wird vor dem Flush wieder ein DrawTextShell gepusht und der Mode ist - //eingeschaltet. In diesem Moment wird der Dispatcher geflusht und die alte - //DrawTextShell zerstoert. -// ASSERT( !pSdrView->IsTextEdit(), "TextEdit in DTor DrwTxtSh?" ); -// if (pSdrView->IsTextEdit()) -// GetShell().EndTextEdit(); // Danebengeklickt, Ende mit Edit - -// GetShell().Edit(); } SwWrtShell& SwDrawTextShell::GetShell() @@ -544,7 +532,6 @@ void SwDrawTextShell::ExecDraw(SfxRequest &rReq) SwView& rTempView = rSh.GetView(); rTempView.ExitDraw(); rSh.Edit(); - rTempView.AttrChangedNotify(&rSh); return; } break; |