summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-12 13:43:35 +0200
committerNoel Grandin <noel@peralex.com>2015-10-13 10:07:49 +0200
commit1716b3a338b19b9d1be39696866b376aed216c9a (patch)
treebf5c22d411039156cc40365db41b83b9ed770ab0 /sw
parentd6f97a21249668fe401dfcbf1827669c1bb0f043 (diff)
remove some useless comments
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
Diffstat (limited to 'sw')
-rw-r--r--sw/sdi/_textsh.sdi2
-rw-r--r--sw/sdi/annotsh.sdi2
-rw-r--r--sw/sdi/drwtxtsh.sdi2
-rw-r--r--sw/source/core/edit/edfld.cxx2
-rw-r--r--sw/source/filter/html/css1atr.cxx1
-rw-r--r--sw/source/filter/html/htmlcss1.cxx4
-rw-r--r--sw/source/filter/html/htmlctxt.cxx2
-rw-r--r--sw/source/filter/html/parcss1.cxx8
-rw-r--r--sw/source/filter/html/svxcss1.cxx12
-rw-r--r--sw/source/filter/html/svxcss1.hxx3
10 files changed, 4 insertions, 34 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index f0793a18341b..3cd6d8f795a7 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -1424,7 +1424,7 @@ interface BaseText
StateMethod = GetTextCtrlState;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
- SID_ATTR_CHAR_AUTOKERN // // status(final|play)
+ SID_ATTR_CHAR_AUTOKERN // status(final|play)
[
ExecMethod = ExecTextCtrl;
StateMethod = GetTextCtrlState;
diff --git a/sw/sdi/annotsh.sdi b/sw/sdi/annotsh.sdi
index 12700e27e9e0..f0a47ddba709 100644
--- a/sw/sdi/annotsh.sdi
+++ b/sw/sdi/annotsh.sdi
@@ -261,7 +261,7 @@ interface Annotation : _Annotation
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
- SID_ATTR_CHAR_AUTOKERN // // status(final|play)
+ SID_ATTR_CHAR_AUTOKERN // status(final|play)
[
ExecMethod = Exec ;
StateMethod = GetState ;
diff --git a/sw/sdi/drwtxtsh.sdi b/sw/sdi/drwtxtsh.sdi
index 4bdcea5e7135..1fdf23f3eed4 100644
--- a/sw/sdi/drwtxtsh.sdi
+++ b/sw/sdi/drwtxtsh.sdi
@@ -680,7 +680,7 @@ interface TextDrawFont
StateMethod = GetDrawTextCtrlState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
- SID_ATTR_CHAR_AUTOKERN // // status(final|play)
+ SID_ATTR_CHAR_AUTOKERN // status(final|play)
[
ExecMethod = Execute ;
StateMethod = GetDrawTextCtrlState ;
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index e4d259de962d..a8e1543366ae 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -251,7 +251,7 @@ void SwEditShell::UpdateFields( SwField &rField )
SET_CURR_SHELL( this );
StartAllAction();
{
- // // If there are no selections so take the value of the current cursor position.
+ // If there are no selections so take the value of the current cursor position.
SwMsgPoolItem* pMsgHint = 0;
SwRefMarkFieldUpdate aRefMkHt( GetOut() );
sal_uInt16 nFieldWhich = rField.GetTyp()->Which();
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index ee400cb05ef2..4881531c9273 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -591,7 +591,6 @@ void SwHTMLWriter::OutStyleSheet( const SwPageDesc& rPageDesc, bool bUsed )
OutCSS1_SwPageDesc( *this, *pFirstPageDesc, pStylePoolAccess, pTemplate,
nFirstRefPoolId, false );
}
-// /Feature: PrintExt
// The text body style has to be exported always (if it is changed compared
// to the template), because it is used as reference for any style
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index eb5f799f078f..ee3faef3cdb1 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -182,7 +182,6 @@ bool SwCSS1Parser::SetFormatBreak( SfxItemSet& rItemSet,
return bSetBreak;
}
-// /Feature: PrintExt
static void SetCharFormatAttrs( SwCharFormat *pCharFormat, SfxItemSet& rItemSet )
{
@@ -331,9 +330,7 @@ static void SetTextCollAttrs( SwTextFormatColl *pColl, SfxItemSet& rItemSet,
}
}
-// Feature: PrintExt
pCSS1Parser->SetFormatBreak( rItemSet, rPropInfo );
-// /Feature: PrintExt
pColl->SetFormatAttr( rItemSet );
}
@@ -554,7 +551,6 @@ void SwCSS1Parser::SetPageDescAttrs( const SwPageDesc *pPageDesc,
if( bChanged )
ChgPageDesc( pPageDesc, aNewPageDesc );
}
-// /Feature: PrintExt
SvxBrushItem SwCSS1Parser::makePageDescBackground() const
{
diff --git a/sw/source/filter/html/htmlctxt.cxx b/sw/source/filter/html/htmlctxt.cxx
index 0184637824a9..665384db7d5b 100644
--- a/sw/source/filter/html/htmlctxt.cxx
+++ b/sw/source/filter/html/htmlctxt.cxx
@@ -510,10 +510,8 @@ void SwHTMLParser::InsertAttrs( SfxItemSet &rItemSet,
}
}
-// Feature: PrintExt
if( !bCharLvl )
pCSS1Parser->SetFormatBreak( rItemSet, rPropInfo );
-// /Feature: PrintExt
OSL_ENSURE(aContexts.size() <= nContextStAttrMin ||
aContexts.back() != pContext,
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index 633e6aebd10e..b5042edc18ad 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -161,13 +161,11 @@ CSS1Token CSS1Parser::GetNextToken()
if( aToken.equalsIgnoreAsciiCase( "import" ) )
nRet = CSS1_IMPORT_SYM;
break;
-// /Feature: PrintExt
case 'p':
case 'P':
if( aToken.equalsIgnoreAsciiCase( "page" ) )
nRet = CSS1_PAGE_SYM;
break;
-// /Feature: PrintExt
}
// Fehlerbehandlung: '@ident' und alles bis
@@ -691,9 +689,7 @@ void CSS1Parser::ParseStyleSheet()
case CSS1_IDENT: // Look-Aheads
case CSS1_DOT_W_WS:
case CSS1_HASH:
-// /Feature: PrintExt
case CSS1_PAGE_SYM:
-// /Feature: PrintExt
// rule
bDone = true;
break;
@@ -718,9 +714,7 @@ void CSS1Parser::ParseStyleSheet()
case CSS1_IDENT: // Look-Aheads
case CSS1_DOT_W_WS:
case CSS1_HASH:
-// /Feature: PrintExt
case CSS1_PAGE_SYM:
-// /Feature: PrintExt
// rule
ParseRule();
break;
@@ -917,14 +911,12 @@ CSS1Selector *CSS1Parser::ParseSelector()
}
break;
-// /Feature: PrintExt
case CSS1_PAGE_SYM:
{
// @page
pNew = new CSS1Selector( CSS1_SELTYPE_PAGE, aToken );
}
break;
-// /Feature: PrintExt
default:
// wir wissen nicht was kommt, also aufhoehren
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index ff369b19c6fd..bdd1bee2cbeb 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -214,7 +214,6 @@ static CSS1PropertyEnum const aPageBreakTable[] =
{ 0, 0 }
};
-// /Feature: PrintExt
static sal_uInt16 const aBorderWidths[] =
{
@@ -371,11 +370,9 @@ SvxCSS1PropertyInfo::SvxCSS1PropertyInfo( const SvxCSS1PropertyInfo& rProp ) :
eTopType( rProp.eTopType ),
eWidthType( rProp.eWidthType ),
eHeightType( rProp.eHeightType ),
-// Feature: PrintExt
eSizeType( rProp.eSizeType ),
ePageBreakBefore( rProp.ePageBreakBefore ),
ePageBreakAfter( rProp.ePageBreakAfter )
-// /Feature: PrintExt
{
for( size_t i=0; i<SAL_N_ELEMENTS(aBorderInfos); ++i )
aBorderInfos[i] = rProp.aBorderInfos[i]
@@ -484,8 +481,6 @@ void SvxCSS1PropertyInfo::Merge( const SvxCSS1PropertyInfo& rProp )
if( rProp.ePageBreakAfter != SVX_CSS1_PBREAK_NONE )
ePageBreakAfter = rProp.ePageBreakAfter;
-// /Feature: PrintExt
-
if( rProp.eLeftType != SVX_CSS1_LTYPE_NONE )
{
eLeftType = rProp.eLeftType;
@@ -2937,10 +2932,6 @@ static void ParseCSS1_size( const CSS1Expression *pExpr,
}
}
-// /Feature: PrintExt
-
-// Feature: PrintExt
-
static void ParseCSS1_page_break_xxx( const CSS1Expression *pExpr,
SvxCSS1PageBreak& rPBreak )
{
@@ -3026,7 +3017,6 @@ static void ParseCSS1_orphans( const CSS1Expression *pExpr,
rItemSet.Put( aOrphansItem );
}
}
-// /Feature: PrintExt
static void ParseCSS1_so_language( const CSS1Expression *pExpr,
SfxItemSet &rItemSet,
@@ -3118,14 +3108,12 @@ static CSS1PropEntry aCSS1PropFnTab[] =
CSS1_PROP_ENTRY(top),
CSS1_PROP_ENTRY(width),
CSS1_PROP_ENTRY(height),
-// Feature: PrintExt
CSS1_PROP_ENTRY(size),
CSS1_PROP_ENTRY(page_break_before),
CSS1_PROP_ENTRY(page_break_after),
CSS1_PROP_ENTRY(page_break_inside),
CSS1_PROP_ENTRY(widows),
CSS1_PROP_ENTRY(orphans),
-// /Feature: PrintExt
CSS1_PROP_ENTRY(so_language)
};
diff --git a/sw/source/filter/html/svxcss1.hxx b/sw/source/filter/html/svxcss1.hxx
index 231fc49236ad..d35f8ef1a64a 100644
--- a/sw/source/filter/html/svxcss1.hxx
+++ b/sw/source/filter/html/svxcss1.hxx
@@ -73,7 +73,6 @@ enum SvxCSS1PageBreak
SVX_CSS1_PBREAK_END
};
-// /Feature: PrintExt
#define CSS1_SCRIPT_WESTERN 0x01
#define CSS1_SCRIPT_CJK 0x02
@@ -128,12 +127,10 @@ public:
SvxCSS1LengthType eLeftType, eTopType;
SvxCSS1LengthType eWidthType, eHeightType;
-// Feature: PrintExt
SvxCSS1SizeType eSizeType;
SvxCSS1PageBreak ePageBreakBefore;
SvxCSS1PageBreak ePageBreakAfter;
-// /Feature: PrintExt
SvxCSS1PropertyInfo();
SvxCSS1PropertyInfo( const SvxCSS1PropertyInfo& rProp );