[Libreoffice-commits] core.git: svl/qa svl/source

Alexander Wilms f.alexander.wilms at gmail.com
Tue Feb 25 13:20:50 PST 2014


 svl/qa/complex/ConfigItems/CheckConfigItems.java |   28 ++++++------
 svl/source/inc/poolio.hxx                        |    2 
 svl/source/items/cenumitm.cxx                    |   12 ++---
 svl/source/items/cintitem.cxx                    |   16 +++----
 svl/source/items/ctypeitm.cxx                    |    4 -
 svl/source/items/custritm.cxx                    |    4 -
 svl/source/items/intitem.cxx                     |   24 +++++------
 svl/source/items/stritem.cxx                     |    4 -
 svl/source/items/style.cxx                       |    2 
 svl/source/items/visitem.cxx                     |    4 -
 svl/source/misc/adrparse.cxx                     |    8 +--
 svl/source/misc/inettype.cxx                     |    8 +--
 svl/source/misc/mediatyp.src                     |    8 +--
 svl/source/misc/strmadpt.cxx                     |   20 ++++-----
 svl/source/misc/urihelper.cxx                    |   50 +++++++++++------------
 svl/source/numbers/zforlist.cxx                  |    4 -
 svl/source/svdde/ddeimp.hxx                      |   16 +++----
 17 files changed, 107 insertions(+), 107 deletions(-)

New commits:
commit 31ea60c882cd9e0ce042f2d2945c711bffc93f18
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date:   Tue Feb 25 20:44:28 2014 +0100

    Remove visual noise from svl
    
    Change-Id: Ib914ec8d161e24f4e3e1fb8e7684a780d3ae6209
    Reviewed-on: https://gerrit.libreoffice.org/8319
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
    Tested-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/svl/qa/complex/ConfigItems/CheckConfigItems.java b/svl/qa/complex/ConfigItems/CheckConfigItems.java
index 292ec46..73ca7b7 100644
--- a/svl/qa/complex/ConfigItems/CheckConfigItems.java
+++ b/svl/qa/complex/ConfigItems/CheckConfigItems.java
@@ -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)
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index de90d0b..9fa2dac 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -138,7 +138,7 @@ struct SfxItemPool_Impl
                       SfxPoolItem * pDefItem, SfxPoolItemArray_Impl ** pArr);
 };
 
-// -----------------------------------------------------------------------
+
 
 // IBM-C-Set mag keine doppelten Defines
 #ifdef DBG
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx
index bf13761..d1b0ccd 100644
--- a/svl/source/items/cenumitm.cxx
+++ b/svl/source/items/cenumitm.cxx
@@ -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)
 
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx
index de4559b..5c248d4 100644
--- a/svl/source/items/cintitem.cxx
+++ b/svl/source/items/cintitem.cxx
@@ -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);
 
diff --git a/svl/source/items/ctypeitm.cxx b/svl/source/items/ctypeitm.cxx
index 16a8bf8..e212bc6 100644
--- a/svl/source/items/ctypeitm.cxx
+++ b/svl/source/items/ctypeitm.cxx
@@ -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 );
 
diff --git a/svl/source/items/custritm.cxx b/svl/source/items/custritm.cxx
index 04ed1b5..856a109 100644
--- a/svl/source/items/custritm.cxx
+++ b/svl/source/items/custritm.cxx
@@ -23,9 +23,9 @@
 #include <tools/stream.hxx>
 #include <svl/custritm.hxx>
 
-//
+
 //  class CntUnencodedStringItem
-//
+
 
 DBG_NAME(CntUnencodedStringItem)
 
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index fc6ab6a7..d353cbf 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -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);
 
diff --git a/svl/source/items/stritem.cxx b/svl/source/items/stritem.cxx
index 9f0817a..bdb75b6 100644
--- a/svl/source/items/stritem.cxx
+++ b/svl/source/items/stritem.cxx
@@ -19,9 +19,9 @@
 
 #include <svl/stritem.hxx>
 
-//
+
 //  class SfxStringItem
-//
+
 
 TYPEINIT1_AUTOFACTORY(SfxStringItem, CntUnencodedStringItem)
 
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index f8e15d2..863d1df 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -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
             // {
diff --git a/svl/source/items/visitem.cxx b/svl/source/items/visitem.cxx
index 8adc762..2670a10 100644
--- a/svl/source/items/visitem.cxx
+++ b/svl/source/items/visitem.cxx
@@ -21,9 +21,9 @@
 #include <com/sun/star/uno/Any.hxx>
 #include <tools/stream.hxx>
 
-//
+
 //  class SfxVisibilityItem
-//
+
 
 DBG_NAME(SfxVisibilityItem)
 
diff --git a/svl/source/misc/adrparse.cxx b/svl/source/misc/adrparse.cxx
index e9e297c..68dc841 100644
--- a/svl/source/misc/adrparse.cxx
+++ b/svl/source/misc/adrparse.cxx
@@ -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)
diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx
index 03f5992..310d508 100644
--- a/svl/source/misc/inettype.cxx
+++ b/svl/source/misc/inettype.cxx
@@ -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
 {
diff --git a/svl/source/misc/mediatyp.src b/svl/source/misc/mediatyp.src
index 9b82f47..a7f5b8a 100644
--- a/svl/source/misc/mediatyp.src
+++ b/svl/source/misc/mediatyp.src
@@ -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>
 
diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx
index d4f3986..cb2187e 100644
--- a/svl/source/misc/strmadpt.cxx
+++ b/svl/source/misc/strmadpt.cxx
@@ -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)
 {
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx
index 402e90b..1322c30 100644
--- a/svl/source/misc/urihelper.cxx
+++ b/svl/source/misc/urihelper.cxx
@@ -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,
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 4490b9f..0705fa9 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -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;
diff --git a/svl/source/svdde/ddeimp.hxx b/svl/source/svdde/ddeimp.hxx
index bf31a1e..c8e2efa 100644
--- a/svl/source/svdde/ddeimp.hxx
+++ b/svl/source/svdde/ddeimp.hxx
@@ -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
 {


More information about the Libreoffice-commits mailing list