summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view/drviews3.cxx
diff options
context:
space:
mode:
authorRobert Roth <robert.roth.off@gmail.com>2010-12-05 00:16:48 +0200
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 12:47:23 +0000
commitb4106d0526e1a1978cbc8f916da05f1a1c976715 (patch)
tree46ddc21d42af99b69fef7f28d0ec4fa79b1e46e3 /sd/source/ui/view/drviews3.cxx
parentremove commented out code (diff)
downloadcore-b4106d0526e1a1978cbc8f916da05f1a1c976715.tar.gz
core-b4106d0526e1a1978cbc8f916da05f1a1c976715.zip
Removed dead code and comments from sd
Diffstat (limited to 'sd/source/ui/view/drviews3.cxx')
-rw-r--r--sd/source/ui/view/drviews3.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx
index ba41975a4e2f..9f4c4d8df8e1 100644
--- a/sd/source/ui/view/drviews3.cxx
+++ b/sd/source/ui/view/drviews3.cxx
@@ -371,7 +371,6 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
case SID_RELOAD:
{
- // #83951#
USHORT nId = Svx3DChildWindow::GetChildWindowId();
SfxViewFrame* pFrame = GetViewFrame();
@@ -673,7 +672,6 @@ void DrawViewShell::ExecRuler(SfxRequest& rReq)
aEditAttr.Put( rItem );
mpDrawView->SetAttributes( aEditAttr );
- // #91081# Invalidate is missing here
Invalidate(SID_ATTR_TABSTOP);
}
break;
@@ -745,7 +743,6 @@ void DrawViewShell::ExecRuler(SfxRequest& rReq)
aEditAttr.Put( aLRSpaceItem );
mpDrawView->SetAttributes( aEditAttr );
- // #92557# Invalidate is missing here
Invalidate(SID_ATTR_PARA_LRSPACE);
break;
}
@@ -757,7 +754,6 @@ void DrawViewShell::ExecRuler(SfxRequest& rReq)
aEditAttrReduced.Put( aLRSpaceItem );
mpDrawView->SetAttributes( aEditAttrReduced );
- // #92557# Invalidate is missing here
Invalidate(SID_ATTR_PARA_LRSPACE);
}
break;
@@ -834,8 +830,6 @@ void DrawViewShell::GetRulerState(SfxItemSet& rSet)
const SvxTabStopItem& rItem = (const SvxTabStopItem&) aEditAttr.Get( EE_PARA_TABS );
rSet.Put( rItem );
- //Rectangle aRect = maMarkRect;
-
const SvxLRSpaceItem& rLRSpaceItem = (const SvxLRSpaceItem&) aEditAttr.Get( EE_PARA_LRSPACE );
USHORT nId = SID_ATTR_PARA_LRSPACE;
SvxLRSpaceItem aLRSpaceItem( rLRSpaceItem.GetLeft(),
@@ -922,7 +916,6 @@ void DrawViewShell::GetRulerState(SfxItemSet& rSet)
{
rSet.DisableItem( SID_RULER_OBJECT );
rSet.DisableItem( EE_PARA_TABS );
-// rSet.DisableItem( SID_RULER_TEXT_RIGHT_TO_LEFT );
}
rSet.Put( aLRSpace );