summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2014-01-06 16:42:09 +0100
committerPhilipp Riemer <ruderphilipp@gmail.com>2014-01-06 16:58:31 +0100
commit721f688b1339f878bce993fefd194304b23cb230 (patch)
treede32a050534a3a026790bef683c37c0528a3a4b4 /sw
parent4b4a870b176cf5ff9ee84fc5b16f4df1d8eeef94 (diff)
remove visual noise in sw/source/core/text/wrong.cxx
Change-Id: I8069602fd9d1fe127213bae118fd6ff358703eb3
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/wrong.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx
index 49d76f86c2f7..59fd2f572647 100644
--- a/sw/source/core/text/wrong.cxx
+++ b/sw/source/core/text/wrong.cxx
@@ -22,10 +22,6 @@
#include "SwGrammarMarkUp.hxx"
-/*************************************************************************
- *SwWrongArea::SwWrongArea
- *************************************************************************/
-
SwWrongArea::SwWrongArea( const rtl::OUString& rType, WrongListType listType,
com::sun::star::uno::Reference< com::sun::star::container::XStringKeyMap > xPropertyBag,
sal_Int32 nPos,
@@ -50,9 +46,6 @@ SwWrongArea::SwWrongArea( const rtl::OUString& rType,
}
}
-/*************************************************************************
- * SwWrongList::SwWrongList()
- *************************************************************************/
SwWrongList::SwWrongList( WrongListType eType ) :
meType (eType),
nBeginInvalid(STRING_LEN), // everything correct... (the invalid area starts beyond the string)
@@ -66,10 +59,6 @@ SwWrongList::~SwWrongList()
ClearList();
}
-/*************************************************************************
- * SwWrongList* SwWrongList::Clone()
- *************************************************************************/
-
SwWrongList* SwWrongList::Clone()
{
SwWrongList* pClone = new SwWrongList( meType );
@@ -77,10 +66,6 @@ SwWrongList* SwWrongList::Clone()
return pClone;
}
-/*************************************************************************
- * void SwWrongList::CopyFrom( const SwWrongList& rCopy )
- *************************************************************************/
-
void SwWrongList::CopyFrom( const SwWrongList& rCopy )
{
maList = rCopy.maList;
@@ -94,9 +79,6 @@ void SwWrongList::CopyFrom( const SwWrongList& rCopy )
}
}
-/*************************************************************************
- * SwWrongList::ClearList()
- *************************************************************************/
void SwWrongList::ClearList()
{
for ( size_t i = 0; i < maList.size(); ++i)
@@ -252,10 +234,6 @@ sal_uInt16 SwWrongList::GetWrongPos( sal_Int32 nValue ) const
return nUnten;
}
-/*************************************************************************
- * void SwWrongList::_Invalidate()
- *************************************************************************/
-
void SwWrongList::_Invalidate( sal_Int32 nBegin, sal_Int32 nEnd )
{
if ( nBegin < GetBeginInv() )
@@ -518,7 +496,6 @@ void SwWrongList::JoinList( SwWrongList* pNext, sal_Int32 nInsertPos )
Invalidate( nInsertPos ? nInsertPos - 1 : nInsertPos, nInsertPos + 1 );
}
-
void SwWrongList::InsertSubList( sal_Int32 nNewPos, sal_Int32 nNewLen, sal_uInt16 nWhere, SwWrongList* pSubList )
{
if (pSubList)
@@ -533,7 +510,6 @@ void SwWrongList::InsertSubList( sal_Int32 nNewPos, sal_Int32 nNewLen, sal_uInt1
maList.insert(i, SwWrongArea( OUString(), 0, nNewPos, nNewLen, pSubList ) );
}
-
// New functions: Necessary because SwWrongList has been changed to use std::vector
void SwWrongList::Insert(sal_uInt16 nWhere, std::vector<SwWrongArea>::iterator startPos, std::vector<SwWrongArea>::iterator endPos)
{
@@ -647,18 +623,14 @@ void SwWrongList::Insert( const OUString& rType,
// insert at current position
break;
}
-
++aIter;
}
-
break;
}
-
++aIter;
}
maList.insert(aIter, SwWrongArea( rType, meType, xPropertyBag, nNewPos, nNewLen) );
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */