summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/viewdraw.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-01-29 10:26:56 +0900
committerDavid Tardon <dtardon@redhat.com>2011-01-31 08:10:27 +0100
commitda8462ab05cbcca8266f9335560028870667e943 (patch)
treeb0f96396aa9f148d0af50f151f175a8c66c5eaa3 /sw/source/ui/uiview/viewdraw.cxx
parente2b4fb1819fb4b4eb84854ac5bd2ca795a795eaa (diff)
removed unused comments and fix a typo
Diffstat (limited to 'sw/source/ui/uiview/viewdraw.cxx')
-rw-r--r--sw/source/ui/uiview/viewdraw.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/ui/uiview/viewdraw.cxx b/sw/source/ui/uiview/viewdraw.cxx
index 1c39a0f3fd03..9d1394ab4d61 100644
--- a/sw/source/ui/uiview/viewdraw.cxx
+++ b/sw/source/ui/uiview/viewdraw.cxx
@@ -29,7 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-
#include "hintids.hxx"
#include <svl/aeitem.hxx>
#include <svl/itempool.hxx>
@@ -74,10 +73,8 @@
#include "dselect.hxx"
#include "edtwin.hxx"
-// #108784#
#include <dcontact.hxx>
-// #108784#
#include <svx/svdpagv.hxx>
#include <svx/extrusionbar.hxx>
#include <vcl/svapp.hxx>
@@ -417,7 +414,7 @@ void SwView::ExitDraw()
if(pShell)
{
- //#126062 # the shell may be invalid at close/reload/SwitchToViewShell
+ // the shell may be invalid at close/reload/SwitchToViewShell
SfxDispatcher* pDispatch = GetViewFrame()->GetDispatcher();
USHORT nIdx = 0;
SfxShell* pTest = 0;
@@ -494,7 +491,6 @@ sal_Bool SwView::EnterDrawTextMode(const Point& aDocPos)
!pSdrView->PickHandle( aDocPos ) && IsTextTool() &&
pSdrView->PickObj( aDocPos, pSdrView->getHitTolLog(), pObj, pPV, SDRSEARCH_PICKTEXTEDIT ) &&
- // #108784#
// To allow SwDrawVirtObj text objects to be activated, allow their type, too.
( pObj->ISA( SdrTextObj ) ||
( pObj->ISA(SwDrawVirtObj) &&
@@ -552,19 +548,17 @@ sal_Bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, Window* pWin,
pOutliner->SetVertical( SID_DRAW_TEXT_VERTICAL == nDrawSfxId ||
SID_DRAW_CAPTION_VERTICAL == nDrawSfxId );
- // OD 09.12.2002 #103045# - set default horizontal text direction at outliner
+ // set default horizontal text direction at outliner
EEHorizontalTextDirection aDefHoriTextDir =
pSh->IsShapeDefaultHoriTextDirR2L() ? EE_HTEXTDIR_R2L : EE_HTEXTDIR_L2R;
pOutliner->SetDefaultHorizontalTextDirection( aDefHoriTextDir );
}
- // #108784#
// To allow editing the referenced object from a SwDrawVirtObj here
// the original needs to be fetched evenually. This ATM activates the
// text edit mode for the original object.
SdrObject* pToBeActivated = pObj;
- // #108784#
// Always the original object is edited. To allow the TextEdit to happen
// where the VirtObj is positioned, on demand a occurring offset is set at
// the TextEdit object. That offset is used for creating and managing the