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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -731,7 +731,7 @@ void SfxStyleSheetBasePool::Remove( SfxStyleSheetBase* p )
// existing SdrUndoAttrObj incarnations. Rely on refcounting for disposal,
// this works well under normal conditions (checked breaking and counting
// 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 );
// if( xComp.is() ) try
// {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -82,7 +82,7 @@ struct IndexTable
static IndexTable theIndexTable;
// ====================================================================
/**
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;
bool SvNumberFormatter::bCurrencyTableInitialized = false;

View File

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