summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells
diff options
context:
space:
mode:
authorJúlio Hoffimann <julio.hoffimann@gmail.com>2011-04-22 08:03:02 -0300
committerKatarina Machalkova <kmachalkova@suse.cz>2011-04-22 16:04:20 +0200
commitac6c250d9e3e585260102dba791ffdef6d8ee0a5 (patch)
treef4a1db2db2bc0b9e744c0aaeb024ac8c524cd9b6 /sw/source/ui/shells
parent63d8c400a545181a4d8afc6c875d3673510b510f (diff)
left arrow comments removed // <--
Diffstat (limited to 'sw/source/ui/shells')
-rw-r--r--sw/source/ui/shells/basesh.cxx6
-rw-r--r--sw/source/ui/shells/drwbassh.cxx1
-rw-r--r--sw/source/ui/shells/drwtxtex.cxx1
-rw-r--r--sw/source/ui/shells/frmsh.cxx4
-rw-r--r--sw/source/ui/shells/grfsh.cxx3
-rw-r--r--sw/source/ui/shells/listsh.cxx1
-rw-r--r--sw/source/ui/shells/tabsh.cxx1
-rw-r--r--sw/source/ui/shells/textsh.cxx1
-rw-r--r--sw/source/ui/shells/textsh1.cxx5
-rw-r--r--sw/source/ui/shells/txtnum.cxx4
10 files changed, 0 insertions, 27 deletions
diff --git a/sw/source/ui/shells/basesh.cxx b/sw/source/ui/shells/basesh.cxx
index 277348bcda65..47a676deb1fa 100644
--- a/sw/source/ui/shells/basesh.cxx
+++ b/sw/source/ui/shells/basesh.cxx
@@ -1461,9 +1461,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
rSet.Put(aBool);
}
}
- // <--
}
- // <--
}
break;
case SID_IMAP_EXEC:
@@ -1525,7 +1523,6 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
rSh.GetGraphic(sal_False); // start the loading
// #i75481#
bDisable = sal_True;
- // <--
}
else if( bHas && bOk )
bDisable = !lcl_UpdateContourDlg( rSh, nSel );
@@ -1537,9 +1534,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
bDisable = GRAPHIC_NONE == rSh.GetGraphicType();
else
bDisable = GRAPHIC_NONE == rSh.GetIMapGraphic().GetType();
- // <--
}
- // <--
if( bDisable )
rSet.DisableItem( nWhich );
@@ -1857,7 +1852,6 @@ void SwBaseShell::SetWrapMode( sal_uInt16 nSlot )
{
nSurround = nOldSurround;
}
- // <--
break;
case FN_FRAME_WRAP_CONTOUR:
aWrap.SetContour(!aWrap.IsContour());
diff --git a/sw/source/ui/shells/drwbassh.cxx b/sw/source/ui/shells/drwbassh.cxx
index 135e17aafee1..5b5756e265c0 100644
--- a/sw/source/ui/shells/drwbassh.cxx
+++ b/sw/source/ui/shells/drwbassh.cxx
@@ -648,7 +648,6 @@ IMPL_LINK( SwDrawBaseShell, CheckGroupShapeNameHdl, AbstractSvxNameDialog*, pNam
break;
}
}
- // <--
}
return nRet;
}
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx
index c640c5c6caa8..0deab441cb60 100644
--- a/sw/source/ui/shells/drwtxtex.cxx
+++ b/sw/source/ui/shells/drwtxtex.cxx
@@ -904,7 +904,6 @@ void SwDrawTextShell::StateClpbrd(SfxItemSet &rSet)
case SID_CLIPBOARD_FORMAT_ITEMS:
rSet.DisableItem( SID_CLIPBOARD_FORMAT_ITEMS );
break;
- // <--
}
nWhich = aIter.NextWhich();
}
diff --git a/sw/source/ui/shells/frmsh.cxx b/sw/source/ui/shells/frmsh.cxx
index 63168e2c8f20..9763e08bdc56 100644
--- a/sw/source/ui/shells/frmsh.cxx
+++ b/sw/source/ui/shells/frmsh.cxx
@@ -52,7 +52,6 @@
// #i73249#
#include <svx/svdview.hxx>
#include <vcl/msgbox.hxx>
-// <--
#include <doc.hxx>
#include <fmturl.hxx>
@@ -88,7 +87,6 @@
#include "misc.hrc"
// #i73249#
#include <svx/dialogs.hrc>
-// <--
#include <sfx2/filedlghelper.hxx>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
@@ -773,7 +771,6 @@ void SwFrameShell::Execute(SfxRequest &rReq)
}
}
break;
- // <--
default:
OSL_ENSURE( !this, "wrong dispatcher" );
return;
@@ -1028,7 +1025,6 @@ void SwFrameShell::GetState(SfxItemSet& rSet)
}
break;
- // <--
default:
/* do nothing */;
break;
diff --git a/sw/source/ui/shells/grfsh.cxx b/sw/source/ui/shells/grfsh.cxx
index 5e1642fcc67b..ac04985e0491 100644
--- a/sw/source/ui/shells/grfsh.cxx
+++ b/sw/source/ui/shells/grfsh.cxx
@@ -219,7 +219,6 @@ void SwGrfShell::Execute(SfxRequest &rReq)
aSet.Put( SvxBrushItem( *pGrfObj, GPOS_LT,
SID_ATTR_GRAF_GRAPHIC ) );
}
- // <--
}
aSet.Put( SfxBoolItem( FN_PARAM_GRF_CONNECT, sGrfNm.Len() > 0 ) );
@@ -506,7 +505,6 @@ void SwGrfShell::ExecAttr( SfxRequest &rReq )
GetShell().ReRead( aEmptyStr, aEmptyStr,
&aFilterObj.GetGraphic() );
}
- // <--
}
break;
@@ -679,7 +677,6 @@ void SwGrfShell::GetAttrState(SfxItemSet &rSet)
bDisable = eGraphicType != GRAPHIC_BITMAP;
}
}
- // <--
}
break;
diff --git a/sw/source/ui/shells/listsh.cxx b/sw/source/ui/shells/listsh.cxx
index 3276ac48e021..ae432afef3ce 100644
--- a/sw/source/ui/shells/listsh.cxx
+++ b/sw/source/ui/shells/listsh.cxx
@@ -143,7 +143,6 @@ void lcl_OutlineUpDownWithSubPoints( SwWrtShell& rSh, bool bMove, bool bUp )
rSh.Pop( sal_False );
}
}
-// <--
void SwListShell::Execute(SfxRequest &rReq)
{
diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx
index 23059702e7e7..bfc441a22d5e 100644
--- a/sw/source/ui/shells/tabsh.cxx
+++ b/sw/source/ui/shells/tabsh.cxx
@@ -892,7 +892,6 @@ void SwTableShell::Execute(SfxRequest &rReq)
ItemSetToTableParam( aSet, rSh );
rSh.EndUndo( nUndoId );
}
- // <--
bCallDone = sal_True;
break;
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx
index 1940bcbb3895..65cf089cdffb 100644
--- a/sw/source/ui/shells/textsh.cxx
+++ b/sw/source/ui/shells/textsh.cxx
@@ -1166,7 +1166,6 @@ void SwTextShell::InsertSymbol( SfxRequest& rReq )
rSh.SetMark();
rSh.SetAttr( aRestoreSet );
rSh.ClearMark();
- // <--
rSh.UpdateAttr();
aFont = aNewFontItem;
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index 026169e2b459..37b7775c31db 100644
--- a/sw/source/ui/shells/textsh1.cxx
+++ b/sw/source/ui/shells/textsh1.cxx
@@ -987,7 +987,6 @@ void SwTextShell::Execute(SfxRequest &rReq)
{
rWrtSh.StartUndo( UNDO_INSATTR );
}
- // <--
if( pSet->Count() )
{
rWrtSh.StartAction();
@@ -1018,7 +1017,6 @@ void SwTextShell::Execute(SfxRequest &rReq)
// in order to indicate that the restart value of the list
// style has to be used on restart.
sal_uInt16 nNumStart = USHRT_MAX;
- // <--
if( SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART_AT) )
{
nNumStart = ((SfxUInt16Item&)pSet->Get(FN_NUMBER_NEWSTART_AT)).GetValue();
@@ -1037,7 +1035,6 @@ void SwTextShell::Execute(SfxRequest &rReq)
{
rWrtSh.EndUndo( UNDO_INSATTR );
}
- // <--
}
delete pDlg;
@@ -1054,7 +1051,6 @@ void SwTextShell::Execute(SfxRequest &rReq)
{
pRule = rWrtSh.SearchNumRule( false, false, false, -1, sContinuedListId );
}
- // <--
if ( pRule )
{
rWrtSh.SetCurNumRule( *pRule, false, sContinuedListId );
@@ -1657,7 +1653,6 @@ void SwTextShell::GetState( SfxItemSet &rSet )
{
pRule = rSh.SearchNumRule( false, false, false, -1, aDummy );
}
- // <--
if ( !pRule )
rSet.DisableItem(nWhich);
}
diff --git a/sw/source/ui/shells/txtnum.cxx b/sw/source/ui/shells/txtnum.cxx
index ad0c0b06462f..09ea84b3c6e9 100644
--- a/sw/source/ui/shells/txtnum.cxx
+++ b/sw/source/ui/shells/txtnum.cxx
@@ -139,7 +139,6 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
SwNumRule aRule( GetShell().GetUniqueNumRuleName(),
// #i89178#
numfunc::GetDefaultPositionAndSpaceMode() );
- // <--
SvxNumRule aSvxRule = aRule.MakeSvxNumRule();
const bool bRightToLeft = GetShell().IsInRightToLeftText( 0 );
@@ -160,7 +159,6 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
{
aFmt.SetNumAdjust( SVX_ADJUST_RIGHT );
}
- // <--
aSvxRule.SetLevel( n, aFmt, sal_False );
}
aSvxRule.SetFeatureFlag(NUM_ENABLE_EMBEDDED_BMP, sal_False);
@@ -193,7 +191,6 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
: GetShell().GetUniqueNumRuleName(),
// #i89178#
numfunc::GetDefaultPositionAndSpaceMode() );
- // <--
aSetRule.SetSvxRule( *pSetRule, GetShell().GetDoc());
aSetRule.SetAutoRule( sal_True );
// No start of new list, if an existing list style is edited.
@@ -212,7 +209,6 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
SwNumRule aSetRule( GetShell().GetUniqueNumRuleName(),
// #i89178#
numfunc::GetDefaultPositionAndSpaceMode() );
- // <--
aSetRule.SetSvxRule(*pSetRule, GetShell().GetDoc());
aSetRule.SetAutoRule( sal_True );
// start new list