Remove visual noise from svl

Change-Id: Ib914ec8d161e24f4e3e1fb8e7684a780d3ae6209
Reviewed-on: https://gerrit.libreoffice.org/8319
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
Alexander Wilms
2014-02-25 20:44:28 +01:00
committed by Björn Michaelsen
parent d5688e16e7
commit 31ea60c882
17 changed files with 107 additions and 107 deletions

View File

@@ -32,16 +32,16 @@ import org.junit.Test;
import org.openoffice.test.OfficeConnection; import org.openoffice.test.OfficeConnection;
// import static org.junit.Assert.*; // import static org.junit.Assert.*;
//-----------------------------------------------
/** @short todo document me /** @short todo document me
* @deprecated this tests seems no longer work as expected. * @deprecated this tests seems no longer work as expected.
*/ */
public class CheckConfigItems public class CheckConfigItems
{ {
//-------------------------------------------
// some const // some const
//-------------------------------------------
// member // member
/** points to the global uno service manager. */ /** points to the global uno service manager. */
@@ -50,10 +50,10 @@ public class CheckConfigItems
/** implements real config item tests in C++. */ /** implements real config item tests in C++. */
private XJob m_xTest = null; private XJob m_xTest = null;
//-------------------------------------------
// test environment // test environment
//-------------------------------------------
/** @short A function to tell the framework, /** @short A function to tell the framework,
which test functions are available. which test functions are available.
@@ -73,7 +73,7 @@ public class CheckConfigItems
// }; // };
// } // }
//-------------------------------------------
/** @short Create the environment for following tests. /** @short Create the environment for following tests.
* @throws java.lang.Exception * @throws java.lang.Exception
@@ -92,7 +92,7 @@ public class CheckConfigItems
m_xTest = UnoRuntime.queryInterface(XJob.class, m_xSmgr.createInstance("com.sun.star.comp.svl.ConfigItemTest")); m_xTest = UnoRuntime.queryInterface(XJob.class, m_xSmgr.createInstance("com.sun.star.comp.svl.ConfigItemTest"));
} }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @short close the environment. * @short close the environment.
@@ -106,7 +106,7 @@ public class CheckConfigItems
m_xSmgr = null; m_xSmgr = null;
} }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @todo document me * @todo document me
@@ -117,7 +117,7 @@ public class CheckConfigItems
impl_triggerTest("checkPicklist"); impl_triggerTest("checkPicklist");
} }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @todo document me * @todo document me
@@ -128,7 +128,7 @@ public class CheckConfigItems
impl_triggerTest("checkURLHistory"); impl_triggerTest("checkURLHistory");
} }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @todo document me * @todo document me
@@ -139,7 +139,7 @@ public class CheckConfigItems
impl_triggerTest("checkHelpBookmarks"); impl_triggerTest("checkHelpBookmarks");
} }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @todo document me * @todo document me
@@ -150,7 +150,7 @@ public class CheckConfigItems
// impl_triggerTest("checkPrintOptions"); // impl_triggerTest("checkPrintOptions");
// } // }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @todo document me * @todo document me
@@ -161,7 +161,7 @@ public class CheckConfigItems
impl_triggerTest("checkAccessibilityOptions"); impl_triggerTest("checkAccessibilityOptions");
} }
//-------------------------------------------
/** /**
* @throws java.lang.Exception * @throws java.lang.Exception
* @todo document me * @todo document me
@@ -172,7 +172,7 @@ public class CheckConfigItems
impl_triggerTest("checkUserOptions"); impl_triggerTest("checkUserOptions");
} }
//-------------------------------------------
/** @todo document me /** @todo document me
*/ */
private void impl_triggerTest(String sTest) private void impl_triggerTest(String sTest)

View File

@@ -138,7 +138,7 @@ struct SfxItemPool_Impl
SfxPoolItem * pDefItem, SfxPoolItemArray_Impl ** pArr); SfxPoolItem * pDefItem, SfxPoolItemArray_Impl ** pArr);
}; };
// -----------------------------------------------------------------------
// IBM-C-Set mag keine doppelten Defines // IBM-C-Set mag keine doppelten Defines
#ifdef DBG #ifdef DBG

View File

@@ -25,9 +25,9 @@
#include <comphelper/extract.hxx> #include <comphelper/extract.hxx>
//
// class SfxEnumItemInterface // class SfxEnumItemInterface
//
DBG_NAME(SfxEnumItemInterface) DBG_NAME(SfxEnumItemInterface)
@@ -118,9 +118,9 @@ bool SfxEnumItemInterface::GetBoolValue() const
void SfxEnumItemInterface::SetBoolValue(sal_Bool) void SfxEnumItemInterface::SetBoolValue(sal_Bool)
{} {}
//
// class SfxEnumItem // class SfxEnumItem
//
DBG_NAME(SfxEnumItem) DBG_NAME(SfxEnumItem)
@@ -158,9 +158,9 @@ void SfxEnumItem::SetValue(sal_uInt16 const nTheValue)
m_nValue = nTheValue; m_nValue = nTheValue;
} }
//
// class SfxBoolItem // class SfxBoolItem
//
DBG_NAME(SfxBoolItem) DBG_NAME(SfxBoolItem)

View File

@@ -21,9 +21,9 @@
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <svl/cintitem.hxx> #include <svl/cintitem.hxx>
//
// class CntByteItem // class CntByteItem
//
DBG_NAME(CntByteItem) DBG_NAME(CntByteItem)
@@ -128,9 +128,9 @@ SfxFieldUnit CntByteItem::GetUnit() const
return SFX_FUNIT_NONE; return SFX_FUNIT_NONE;
} }
//
// class CntUInt16Item // class CntUInt16Item
//
DBG_NAME(CntUInt16Item); DBG_NAME(CntUInt16Item);
@@ -247,9 +247,9 @@ SfxFieldUnit CntUInt16Item::GetUnit() const
return SFX_FUNIT_NONE; return SFX_FUNIT_NONE;
} }
//
// class CntInt32Item // class CntInt32Item
//
DBG_NAME(CntInt32Item); DBG_NAME(CntInt32Item);
@@ -364,9 +364,9 @@ SfxFieldUnit CntInt32Item::GetUnit() const
return SFX_FUNIT_NONE; return SFX_FUNIT_NONE;
} }
//
// class CntUInt32Item // class CntUInt32Item
//
DBG_NAME(CntUInt32Item); DBG_NAME(CntUInt32Item);

View File

@@ -27,9 +27,9 @@
#define CNTSTRINGITEM_STREAM_MAGIC ( (sal_uInt32)0xfefefefe ) #define CNTSTRINGITEM_STREAM_MAGIC ( (sal_uInt32)0xfefefefe )
#define CNTSTRINGITEM_STREAM_SEEKREL (-( (long)( sizeof( sal_uInt32 ) ) ) ) #define CNTSTRINGITEM_STREAM_SEEKREL (-( (long)( sizeof( sal_uInt32 ) ) ) )
//
// class CntContentTypeItem Implementation. // class CntContentTypeItem Implementation.
//
TYPEINIT1_AUTOFACTORY( CntContentTypeItem, CntUnencodedStringItem ); TYPEINIT1_AUTOFACTORY( CntContentTypeItem, CntUnencodedStringItem );

View File

@@ -23,9 +23,9 @@
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <svl/custritm.hxx> #include <svl/custritm.hxx>
//
// class CntUnencodedStringItem // class CntUnencodedStringItem
//
DBG_NAME(CntUnencodedStringItem) DBG_NAME(CntUnencodedStringItem)

View File

@@ -24,9 +24,9 @@
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <svl/metitem.hxx> #include <svl/metitem.hxx>
//
// class SfxByteItem // class SfxByteItem
//
TYPEINIT1_AUTOFACTORY(SfxByteItem, CntByteItem); TYPEINIT1_AUTOFACTORY(SfxByteItem, CntByteItem);
@@ -38,9 +38,9 @@ SfxPoolItem * SfxByteItem::Create(SvStream & rStream, sal_uInt16) const
return new SfxByteItem(Which(), sal_uInt8(nValue)); return new SfxByteItem(Which(), sal_uInt8(nValue));
} }
//
// class SfxInt16Item // class SfxInt16Item
//
DBG_NAME(SfxInt16Item); DBG_NAME(SfxInt16Item);
@@ -150,30 +150,30 @@ SfxFieldUnit SfxInt16Item::GetUnit() const
return SFX_FUNIT_NONE; return SFX_FUNIT_NONE;
} }
//
// class SfxUInt16Item // class SfxUInt16Item
//
TYPEINIT1_AUTOFACTORY(SfxUInt16Item, CntUInt16Item); TYPEINIT1_AUTOFACTORY(SfxUInt16Item, CntUInt16Item);
//
// class SfxInt32Item // class SfxInt32Item
//
TYPEINIT1_AUTOFACTORY(SfxInt32Item, CntInt32Item); TYPEINIT1_AUTOFACTORY(SfxInt32Item, CntInt32Item);
//
// class SfxUInt32Item // class SfxUInt32Item
//
TYPEINIT1_AUTOFACTORY(SfxUInt32Item, CntUInt32Item); TYPEINIT1_AUTOFACTORY(SfxUInt32Item, CntUInt32Item);
//
// class SfxMetricItem // class SfxMetricItem
//
DBG_NAME(SfxMetricItem); DBG_NAME(SfxMetricItem);

View File

@@ -19,9 +19,9 @@
#include <svl/stritem.hxx> #include <svl/stritem.hxx>
//
// class SfxStringItem // class SfxStringItem
//
TYPEINIT1_AUTOFACTORY(SfxStringItem, CntUnencodedStringItem) TYPEINIT1_AUTOFACTORY(SfxStringItem, CntUnencodedStringItem)

View File

@@ -731,7 +731,7 @@ void SfxStyleSheetBasePool::Remove( SfxStyleSheetBase* p )
// existing SdrUndoAttrObj incarnations. Rely on refcounting for disposal, // existing SdrUndoAttrObj incarnations. Rely on refcounting for disposal,
// this works well under normal conditions (checked breaking and counting // this works well under normal conditions (checked breaking and counting
// on SfxStyleSheetBase constructors and destructors) // on SfxStyleSheetBase constructors and destructors)
//
// com::sun::star::uno::Reference< com::sun::star::lang::XComponent > xComp( static_cast< ::cppu::OWeakObject* >((*aIter).get()), com::sun::star::uno::UNO_QUERY ); // com::sun::star::uno::Reference< com::sun::star::lang::XComponent > xComp( static_cast< ::cppu::OWeakObject* >((*aIter).get()), com::sun::star::uno::UNO_QUERY );
// if( xComp.is() ) try // if( xComp.is() ) try
// { // {

View File

@@ -21,9 +21,9 @@
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <tools/stream.hxx> #include <tools/stream.hxx>
//
// class SfxVisibilityItem // class SfxVisibilityItem
//
DBG_NAME(SfxVisibilityItem) DBG_NAME(SfxVisibilityItem)

View File

@@ -161,9 +161,9 @@ inline void SvAddressParser_Impl::addTokenToRealName()
} }
} }
//
// SvAddressParser_Impl // SvAddressParser_Impl
//
bool SvAddressParser_Impl::readToken() bool SvAddressParser_Impl::readToken()
{ {
@@ -718,9 +718,9 @@ SvAddressParser_Impl::SvAddressParser_Impl(SvAddressParser * pParser,
} }
} }
//
// SvAddressParser // SvAddressParser
//
SvAddressParser::SvAddressParser(const OUString& rInput) SvAddressParser::SvAddressParser(const OUString& rInput)
: m_bHasFirst(false) : m_bHasFirst(false)

View File

@@ -419,9 +419,9 @@ MediaTypeEntry const aStaticExtensionMap[]
} }
//
// Registration // Registration
//
Registration::~Registration() Registration::~Registration()
{ {
@@ -523,9 +523,9 @@ INetContentType Registration::GetContentType4Extension(OUString const & rExtensi
: CONTENT_TYPE_UNKNOWN; : CONTENT_TYPE_UNKNOWN;
} }
//
// seekEntry // seekEntry
//
namespace namespace
{ {

View File

@@ -16,11 +16,11 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
//============================================================================
//
// Internet Media Type Presentations // Internet Media Type Presentations
//
//============================================================================
#include <svl/svl.hrc> #include <svl/svl.hrc>

View File

@@ -131,9 +131,9 @@ inline sal_uInt32 SvDataPipe_Impl::getReadPosition() const
- m_pReadPage->m_aBuffer); - m_pReadPage->m_aBuffer);
} }
//
// SvOutputStreamOpenLockBytes // SvOutputStreamOpenLockBytes
//
TYPEINIT1(SvOutputStreamOpenLockBytes, SvOpenLockBytes) TYPEINIT1(SvOutputStreamOpenLockBytes, SvOpenLockBytes)
@@ -241,9 +241,9 @@ void SvOutputStreamOpenLockBytes::Terminate()
} }
} }
//
// SvLockBytesInputStream // SvLockBytesInputStream
//
// virtual // virtual
uno::Any SAL_CALL SvLockBytesInputStream::queryInterface(uno::Type const & uno::Any SAL_CALL SvLockBytesInputStream::queryInterface(uno::Type const &
@@ -419,9 +419,9 @@ sal_Int64 SAL_CALL SvLockBytesInputStream::getLength()
return aStat.nSize; return aStat.nSize;
} }
//
// SvInputStream // SvInputStream
//
bool SvInputStream::open() bool SvInputStream::open()
{ {
@@ -667,9 +667,9 @@ void SvInputStream::RemoveMark(sal_uLong nPos)
m_pPipe->removeMark(nPos); m_pPipe->removeMark(nPos);
} }
//
// SvOutputStream // SvOutputStream
//
// virtual // virtual
sal_uLong SvOutputStream::GetData(void *, sal_uLong) sal_uLong SvOutputStream::GetData(void *, sal_uLong)
@@ -770,9 +770,9 @@ sal_uInt16 SvOutputStream::IsA() const
return 0; return 0;
} }
//
// SvDataPipe_Impl // SvDataPipe_Impl
//
bool SvDataPipe_Impl::remove(Page * pPage) bool SvDataPipe_Impl::remove(Page * pPage)
{ {

View File

@@ -46,9 +46,9 @@
using namespace com::sun::star; using namespace com::sun::star;
//
// SmartRel2Abs // SmartRel2Abs
//
OUString URIHelper::SmartRel2Abs(INetURLObject const & rTheBaseURIRef, OUString URIHelper::SmartRel2Abs(INetURLObject const & rTheBaseURIRef,
OUString const & rTheRelURIRef, OUString const & rTheRelURIRef,
@@ -104,9 +104,9 @@ OUString URIHelper::SmartRel2Abs(INetURLObject const & rTheBaseURIRef,
return aAbsURIRef.GetMainURL(eDecodeMechanism, eCharset); return aAbsURIRef.GetMainURL(eDecodeMechanism, eCharset);
} }
//
// SetMaybeFileHdl // SetMaybeFileHdl
//
namespace { struct MaybeFileHdl : public rtl::Static< Link, MaybeFileHdl > {}; } namespace { struct MaybeFileHdl : public rtl::Static< Link, MaybeFileHdl > {}; }
@@ -115,9 +115,9 @@ void URIHelper::SetMaybeFileHdl(Link const & rTheMaybeFileHdl)
MaybeFileHdl::get() = rTheMaybeFileHdl; MaybeFileHdl::get() = rTheMaybeFileHdl;
} }
//
// GetMaybeFileHdl // GetMaybeFileHdl
//
Link URIHelper::GetMaybeFileHdl() Link URIHelper::GetMaybeFileHdl()
{ {
@@ -284,9 +284,9 @@ OUString URIHelper::simpleNormalizedMakeRelative(
return rel.is() ? rel->getUriReference() : uriReference; return rel.is() ? rel->getUriReference() : uriReference;
} }
//
// FindFirstURLInText // FindFirstURLInText
//
namespace { namespace {
@@ -447,34 +447,34 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
// Search for the first substring of [rBegin..rEnd[ that matches any of the // Search for the first substring of [rBegin..rEnd[ that matches any of the
// following productions (for which the appropriate style bit is set in // following productions (for which the appropriate style bit is set in
// eStyle, if applicable). // eStyle, if applicable).
//
// 1st Production (known scheme): // 1st Production (known scheme):
// \B1 <one of the known schemes, except file> ":" 1*wchar ["#" 1*wchar] // \B1 <one of the known schemes, except file> ":" 1*wchar ["#" 1*wchar]
// \B1 // \B1
//
// 2nd Production (file): // 2nd Production (file):
// \B1 "FILE:" 1*(wchar / "\" / "|") ["#" 1*wchar] \B1 // \B1 "FILE:" 1*(wchar / "\" / "|") ["#" 1*wchar] \B1
//
// 3rd Production (ftp): // 3rd Production (ftp):
// \B1 "FTP" 2*("." label) ["/" *wchar] ["#" 1*wchar] \B1 // \B1 "FTP" 2*("." label) ["/" *wchar] ["#" 1*wchar] \B1
//
// 4th Production (http): // 4th Production (http):
// \B1 "WWW" 2*("." label) ["/" *wchar] ["#" 1*wchar] \B1 // \B1 "WWW" 2*("." label) ["/" *wchar] ["#" 1*wchar] \B1
//
// 5th Production (mailto): // 5th Production (mailto):
// \B2 local-part "@" domain \B1 // \B2 local-part "@" domain \B1
//
// 6th Production (UNC file): // 6th Production (UNC file):
// \B1 "\\" domain "\" *(wchar / "\") \B1 // \B1 "\\" domain "\" *(wchar / "\") \B1
//
// 7th Production (DOS file): // 7th Production (DOS file):
// \B1 ALPHA ":\" *(wchar / "\") \B1 // \B1 ALPHA ":\" *(wchar / "\") \B1
//
// 8th Production (Unix-like DOS file): // 8th Production (Unix-like DOS file):
// \B1 ALPHA ":/" *(wchar / "\") \B1 // \B1 ALPHA ":/" *(wchar / "\") \B1
//
// The productions use the following auxiliary rules. // The productions use the following auxiliary rules.
//
// local-part = atom *("." atom) // local-part = atom *("." atom)
// atom = 1*(alphanum / "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" // atom = 1*(alphanum / "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+"
// / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}" // / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}"
@@ -484,27 +484,27 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
// alphanum = ALPHA / DIGIT // alphanum = ALPHA / DIGIT
// wchar = <any uric character (ignoring the escaped rule), or "%", or // wchar = <any uric character (ignoring the escaped rule), or "%", or
// a letter or digit (according to rCharClass)> // a letter or digit (according to rCharClass)>
//
// "\B1" (boundary 1) stands for the beginning or end of the block of text, // "\B1" (boundary 1) stands for the beginning or end of the block of text,
// or a character that is neither (a) a letter or digit (according to // or a character that is neither (a) a letter or digit (according to
// rCharClass), nor (b) any of "$", "%", "&", "-", "/", "@", or "\". // rCharClass), nor (b) any of "$", "%", "&", "-", "/", "@", or "\".
// (FIXME: What was the rationale for this set of punctuation characters?) // (FIXME: What was the rationale for this set of punctuation characters?)
//
// "\B2" (boundary 2) stands for the beginning or end of the block of text, // "\B2" (boundary 2) stands for the beginning or end of the block of text,
// or a character that is neither (a) a letter or digit (according to // or a character that is neither (a) a letter or digit (according to
// rCharClass), nor (b) any of "!", "#", "$", "%", "&", "'", "*", "+", "-", // rCharClass), nor (b) any of "!", "#", "$", "%", "&", "'", "*", "+", "-",
// "/", "=", "?", "@", "^", "_", "`", "{", "|", "}", or "~" (i.e., an RFC // "/", "=", "?", "@", "^", "_", "`", "{", "|", "}", or "~" (i.e., an RFC
// 822 <atom> character, or "@" from \B1's set above). // 822 <atom> character, or "@" from \B1's set above).
//
// Productions 1--4, and 6--8 try to find a maximum-length match, but they // Productions 1--4, and 6--8 try to find a maximum-length match, but they
// stop at the first <wchar> character that is a "\B1" character which is // stop at the first <wchar> character that is a "\B1" character which is
// only followed by "\B1" characters (taking "\" and "|" characters into // only followed by "\B1" characters (taking "\" and "|" characters into
// account appropriately). Production 5 simply tries to find a maximum- // account appropriately). Production 5 simply tries to find a maximum-
// length match. // length match.
//
// Productions 1--4 use the given eMechanism and eCharset. Productions 5--9 // Productions 1--4 use the given eMechanism and eCharset. Productions 5--9
// use ENCODE_ALL. // use ENCODE_ALL.
//
// Productions 6--9 are only applicable if the FSYS_DOS bit is set in // Productions 6--9 are only applicable if the FSYS_DOS bit is set in
// eStyle. // eStyle.
@@ -727,9 +727,9 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText,
return OUString(); return OUString();
} }
//
// removePassword // removePassword
//
OUString URIHelper::removePassword(OUString const & rURI, OUString URIHelper::removePassword(OUString const & rURI,
INetURLObject::EncodeMechanism eEncodeMechanism, INetURLObject::EncodeMechanism eEncodeMechanism,

View File

@@ -82,7 +82,7 @@ struct IndexTable
static IndexTable theIndexTable; static IndexTable theIndexTable;
// ====================================================================
/** /**
instead of every number formatter being a listener we have a registry which instead of every number formatter being a listener we have a registry which
@@ -163,7 +163,7 @@ void SvNumberFormatterRegistry_Impl::ConfigurationChanged( utl::ConfigurationBro
} }
// ====================================================================
SvNumberFormatterRegistry_Impl* SvNumberFormatter::pFormatterRegistry = NULL; SvNumberFormatterRegistry_Impl* SvNumberFormatter::pFormatterRegistry = NULL;
bool SvNumberFormatter::bCurrencyTableInitialized = false; bool SvNumberFormatter::bCurrencyTableInitialized = false;

View File

@@ -29,9 +29,9 @@
#include <tools/shl.hxx> #include <tools/shl.hxx>
#include <vector> #include <vector>
// ----------------
// - Conversation - // - Conversation -
// ----------------
struct Conversation struct Conversation
{ {
@@ -41,9 +41,9 @@ struct Conversation
typedef ::std::vector< Conversation* > ConvList; typedef ::std::vector< Conversation* > ConvList;
// ---------------
// - DdeInternal - // - DdeInternal -
// ---------------
class DdeInternal class DdeInternal
{ {
@@ -59,9 +59,9 @@ public:
static DdeItem* FindItem( DdeTopic&, HSZ ); static DdeItem* FindItem( DdeTopic&, HSZ );
}; };
// -------------
// - DdeString - // - DdeString -
// -------------
class DdeString class DdeString
{ {
@@ -81,9 +81,9 @@ public:
OUString toOUString() const { return m_aString; } OUString toOUString() const { return m_aString; }
}; };
// --------------
// - DdeDataImp - // - DdeDataImp -
// --------------
struct DdeDataImp struct DdeDataImp
{ {