summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /editeng/source/uno
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unoedhlp.cxx4
-rw-r--r--editeng/source/uno/unoedprx.cxx14
-rw-r--r--editeng/source/uno/unoedsrc.cxx12
-rw-r--r--editeng/source/uno/unofored.cxx4
-rw-r--r--editeng/source/uno/unoforou.cxx6
-rw-r--r--editeng/source/uno/unoipset.cxx30
-rw-r--r--editeng/source/uno/unotext.cxx4
7 files changed, 37 insertions, 37 deletions
diff --git a/editeng/source/uno/unoedhlp.cxx b/editeng/source/uno/unoedhlp.cxx
index da17745587c7..b2025f658239 100644
--- a/editeng/source/uno/unoedhlp.cxx
+++ b/editeng/source/uno/unoedhlp.cxx
@@ -22,7 +22,7 @@
#include <editeng/editeng.hxx>
#include <svl/itemset.hxx>
-//------------------------------------------------------------------------
+
TYPEINIT1( SvxEditSourceHint, TextHint );
@@ -55,7 +55,7 @@ sal_Int32 SvxEditSourceHint::GetEndValue() const
return mnEnd;
}
TYPEINIT1( SvxEditSourceHintEndPara , SvxEditSourceHint );
-//------------------------------------------------------------------------
+
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<SfxHint> SvxEditSourceHelper::EENotification2Hint( EENotify* aNotify )
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index 00b155d09a46..1512635c5ee2 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -18,11 +18,11 @@
*/
-//------------------------------------------------------------------------
+
//
// Global header
//
-//------------------------------------------------------------------------
+
#include <limits.h>
#include <vector>
@@ -33,11 +33,11 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
-//------------------------------------------------------------------------
+
//
// Project-local header
//
-//------------------------------------------------------------------------
+
#include "editeng/unoedprx.hxx"
#include <editeng/unotext.hxx>
#include <editeng/unoedhlp.hxx>
@@ -300,7 +300,7 @@ sal_Bool SvxAccessibleTextIndex::IsEditableRange( const SvxAccessibleTextIndex&
return sal_True;
}
-//---------------------------------------------------------------------------------
+
SvxEditSourceAdapter::SvxEditSourceAdapter() : mbEditSourceValid( sal_False )
{
@@ -428,7 +428,7 @@ sal_Bool SvxEditSourceAdapter::IsValid() const
}
-//--------------------------------------------------------------------------------------
+
SvxAccessibleTextAdapter::SvxAccessibleTextAdapter() : mpTextForwarder( NULL )
{
@@ -1173,7 +1173,7 @@ void SvxAccessibleTextAdapter::CopyText(const SvxTextForwarder&)
-//---------------------------------------------------------------------------------------
+
SvxAccessibleTextEditViewAdapter::SvxAccessibleTextEditViewAdapter()
: mpViewForwarder(NULL)
diff --git a/editeng/source/uno/unoedsrc.cxx b/editeng/source/uno/unoedsrc.cxx
index ebeb6f4622ce..afeacc492198 100644
--- a/editeng/source/uno/unoedsrc.cxx
+++ b/editeng/source/uno/unoedsrc.cxx
@@ -22,19 +22,19 @@
#include <editeng/unoedsrc.hxx>
-//------------------------------------------------------------------------
+
void SvxEditSource::addRange( SvxUnoTextRangeBase* )
{
}
-//------------------------------------------------------------------------
+
void SvxEditSource::removeRange( SvxUnoTextRangeBase* )
{
}
-//------------------------------------------------------------------------
+
const SvxUnoTextRangeBaseList& SvxEditSource::getRanges() const
{
@@ -42,19 +42,19 @@ const SvxUnoTextRangeBaseList& SvxEditSource::getRanges() const
return gList;
}
-//------------------------------------------------------------------------
+
SvxTextForwarder::~SvxTextForwarder()
{
}
-//------------------------------------------------------------------------
+
SvxViewForwarder::~SvxViewForwarder()
{
}
-//------------------------------------------------------------------------
+
SvxEditSource::~SvxEditSource()
{
diff --git a/editeng/source/uno/unofored.cxx b/editeng/source/uno/unofored.cxx
index 4b6774dc46c9..c0b3fbff90bf 100644
--- a/editeng/source/uno/unofored.cxx
+++ b/editeng/source/uno/unofored.cxx
@@ -34,7 +34,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
SvxEditEngineForwarder::SvxEditEngineForwarder( EditEngine& rEngine ) :
rEditEngine( rEngine )
@@ -502,6 +502,6 @@ void SvxEditEngineForwarder::CopyText(const SvxTextForwarder& rSource)
delete pNewTextObject;
}
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index b7ddc3da8f23..72b73cf45429 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -37,7 +37,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
SvxOutlinerForwarder::SvxOutlinerForwarder( Outliner& rOutl, sal_Bool bOutlText /* = sal_False */ ) :
rOutliner( rOutl ),
@@ -577,7 +577,7 @@ void SvxOutlinerForwarder::CopyText(const SvxTextForwarder& rSource)
delete pNewOutlinerParaObject;
}
-//------------------------------------------------------------------------
+
sal_Int32 SvxTextForwarder::GetNumberingStartValue( sal_Int32 )
@@ -598,6 +598,6 @@ void SvxTextForwarder::SetParaIsNumberingRestart( sal_Int32, sal_Bool )
{
}
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 4363c54cb1df..6975695dcb05 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -34,14 +34,14 @@ using namespace ::rtl;
using ::std::vector;
-//----------------------------------------------------------------------
+
struct SfxItemPropertyMapEntryHash
{
size_t operator()(const SfxItemPropertyMapEntry* pMap) const { return (size_t)pMap; }
};
-//----------------------------------------------------------------------
+
struct SvxIDPropertyCombine
{
@@ -56,13 +56,13 @@ SvxItemPropertySet::SvxItemPropertySet( const SfxItemPropertyMapEntry* pMap, Sfx
{
}
-//----------------------------------------------------------------------
+
SvxItemPropertySet::~SvxItemPropertySet()
{
ClearAllUsrAny();
}
-//----------------------------------------------------------------------
+
uno::Any* SvxItemPropertySet::GetUsrAnyForID(sal_uInt16 nWID) const
{
for ( size_t i = 0, n = aCombineList.size(); i < n; ++i )
@@ -74,7 +74,7 @@ uno::Any* SvxItemPropertySet::GetUsrAnyForID(sal_uInt16 nWID) const
return NULL;
}
-//----------------------------------------------------------------------
+
void SvxItemPropertySet::AddUsrAnyForID(const uno::Any& rAny, sal_uInt16 nWID)
{
SvxIDPropertyCombine* pNew = new SvxIDPropertyCombine;
@@ -83,7 +83,7 @@ void SvxItemPropertySet::AddUsrAnyForID(const uno::Any& rAny, sal_uInt16 nWID)
aCombineList.push_back( pNew );
}
-//----------------------------------------------------------------------
+
void SvxItemPropertySet::ClearAllUsrAny()
{
@@ -92,7 +92,7 @@ void SvxItemPropertySet::ClearAllUsrAny()
aCombineList.clear();
}
-//----------------------------------------------------------------------
+
sal_Bool SvxUnoCheckForPositiveValue( const uno::Any& rVal )
{
@@ -104,7 +104,7 @@ sal_Bool SvxUnoCheckForPositiveValue( const uno::Any& rVal )
}
-//----------------------------------------------------------------------
+
uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry* pMap, const SfxItemSet& rSet, bool bSearchInParent, bool bDontConvertNegativeValues ) const
{
uno::Any aVal;
@@ -150,7 +150,7 @@ uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry*
return aVal;
}
-//----------------------------------------------------------------------
+
void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const uno::Any& rVal, SfxItemSet& rSet, bool bDontConvertNegativeValues ) const
{
if(!pMap || !pMap->nWID)
@@ -202,7 +202,7 @@ void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMa
}
}
-//----------------------------------------------------------------------
+
uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry* pMap ) const
{
// Already entered a value? Then finish quickly
@@ -257,7 +257,7 @@ uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry*
return aVal;
}
-//----------------------------------------------------------------------
+
void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const uno::Any& rVal ) const
{
@@ -268,14 +268,14 @@ void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMa
*pUsrAny = rVal;
}
-//----------------------------------------------------------------------
+
const SfxItemPropertySimpleEntry* SvxItemPropertySet::getPropertyMapEntry(const OUString &rName) const
{
return m_aPropertyMap.getByName( rName );
}
-//----------------------------------------------------------------------
+
uno::Reference< beans::XPropertySetInfo > SvxItemPropertySet::getPropertySetInfo() const
{
@@ -284,7 +284,7 @@ uno::Reference< beans::XPropertySetInfo > SvxItemPropertySet::getPropertySetInf
return m_xInfo;
}
-//----------------------------------------------------------------------
+
#ifndef TWIPS_TO_MM
#define TWIPS_TO_MM(val) ((val * 127 + 36) / 72)
@@ -330,7 +330,7 @@ void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, uno::Any & rMetric ) th
}
}
-//----------------------------------------------------------------------
+
/** converts the given any with a metric from 100th/mm to the given metric if needed */
void SvxUnoConvertFromMM( const SfxMapUnit eDestinationMapUnit, uno::Any & rMetric ) throw()
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 0461b378073d..e7bfb33e667d 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -2317,7 +2317,7 @@ sal_Int64 SAL_CALL SvxUnoTextBase::getSomething( const uno::Sequence< sal_Int8 >
}
}
-// --------------------------------------------------------------------
+
SvxUnoText::SvxUnoText( ) throw()
{
@@ -2413,7 +2413,7 @@ sal_Int64 SAL_CALL SvxUnoText::getSomething( const uno::Sequence< sal_Int8 >& rI
}
-// --------------------------------------------------------------------
+
SvxDummyTextSource::~SvxDummyTextSource()
{