diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /include/comphelper | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include/comphelper')
38 files changed, 0 insertions, 64 deletions
diff --git a/include/comphelper/InlineContainer.hxx b/include/comphelper/InlineContainer.hxx index 0af1cdaddf4a..023bc43f817a 100644 --- a/include/comphelper/InlineContainer.hxx +++ b/include/comphelper/InlineContainer.hxx @@ -54,7 +54,6 @@ public: }; - /** Creates a vector which contains an arbitrary number of elements. usage: @@ -77,7 +76,6 @@ public: }; - /** Creates a set which contains an arbitrary number of elements. usage: @@ -101,7 +99,6 @@ public: }; - /** usage: map< k, v > aMap( MakeMap< k, v > diff --git a/include/comphelper/SelectionMultiplex.hxx b/include/comphelper/SelectionMultiplex.hxx index fdfeba6587bd..3755f363fac5 100644 --- a/include/comphelper/SelectionMultiplex.hxx +++ b/include/comphelper/SelectionMultiplex.hxx @@ -29,7 +29,6 @@ //= selection helper classes - namespace comphelper { diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx index 9e80e94526cf..9370cdfae20e 100644 --- a/include/comphelper/accessiblecomponenthelper.hxx +++ b/include/comphelper/accessiblecomponenthelper.hxx @@ -32,7 +32,6 @@ namespace comphelper { - //= OCommonAccessibleComponent /** base class encapsulating common functionality for the helper classes implementing diff --git a/include/comphelper/accessiblecontexthelper.hxx b/include/comphelper/accessiblecontexthelper.hxx index 4eae0f781bd1..ed029a053880 100644 --- a/include/comphelper/accessiblecontexthelper.hxx +++ b/include/comphelper/accessiblecontexthelper.hxx @@ -32,7 +32,6 @@ namespace comphelper { - //= IMutex diff --git a/include/comphelper/accessibleeventnotifier.hxx b/include/comphelper/accessibleeventnotifier.hxx index cd47edc78989..15f03013d380 100644 --- a/include/comphelper/accessibleeventnotifier.hxx +++ b/include/comphelper/accessibleeventnotifier.hxx @@ -30,7 +30,6 @@ namespace comphelper { - //= AccessibleEventNotifier class COMPHELPER_DLLPUBLIC AccessibleEventNotifier diff --git a/include/comphelper/accessiblekeybindinghelper.hxx b/include/comphelper/accessiblekeybindinghelper.hxx index cbe81a38a7d1..89ea8d71b050 100644 --- a/include/comphelper/accessiblekeybindinghelper.hxx +++ b/include/comphelper/accessiblekeybindinghelper.hxx @@ -33,7 +33,6 @@ namespace comphelper { - // OAccessibleKeyBindingHelper diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx index ca6edea1e98e..bb222c3b55f5 100644 --- a/include/comphelper/accessibleselectionhelper.hxx +++ b/include/comphelper/accessibleselectionhelper.hxx @@ -34,7 +34,6 @@ namespace comphelper { - //= OCommonAccessibleSelection /** base class encapsulating common functionality for the helper classes implementing diff --git a/include/comphelper/accessibletexthelper.hxx b/include/comphelper/accessibletexthelper.hxx index ed9e6ac2221a..7dd0fc5155ef 100644 --- a/include/comphelper/accessibletexthelper.hxx +++ b/include/comphelper/accessibletexthelper.hxx @@ -29,12 +29,10 @@ #include <comphelper/comphelperdllapi.h> - namespace comphelper { - // OCommonAccessibleText /** base class encapsulating common functionality for the helper classes implementing @@ -97,7 +95,6 @@ namespace comphelper }; - // OAccessibleTextHelper @@ -142,8 +139,6 @@ namespace comphelper #endif // INCLUDED_COMPHELPER_ACCESSIBLETEXTHELPER_HXX - - // OAccessibleTextHelper is a helper class for implementing the // XAccessibleText interface. @@ -174,5 +169,4 @@ namespace comphelper // copyText - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx index 23be9129cd72..e78c4009b562 100644 --- a/include/comphelper/accessiblewrapper.hxx +++ b/include/comphelper/accessiblewrapper.hxx @@ -46,7 +46,6 @@ namespace comphelper { - //= OAccessibleWrapper diff --git a/include/comphelper/anycompare.hxx b/include/comphelper/anycompare.hxx index a871fd80a0a9..5be23c9082cf 100644 --- a/include/comphelper/anycompare.hxx +++ b/include/comphelper/anycompare.hxx @@ -35,7 +35,6 @@ namespace comphelper { - //= IKeyPredicateLess class SAL_NO_VTABLE IKeyPredicateLess diff --git a/include/comphelper/classids.hxx b/include/comphelper/classids.hxx index edb488573b3b..4634cf72667a 100644 --- a/include/comphelper/classids.hxx +++ b/include/comphelper/classids.hxx @@ -92,7 +92,6 @@ #define SO3_SWGLOB_CLASSID SO3_SWGLOB_CLASSID_60 - /* * StarCalc */ diff --git a/include/comphelper/componentbase.hxx b/include/comphelper/componentbase.hxx index 839c6e7bd576..d5e3923eee14 100644 --- a/include/comphelper/componentbase.hxx +++ b/include/comphelper/componentbase.hxx @@ -28,7 +28,6 @@ namespace comphelper { - //= ComponentBase class COMPHELPER_DLLPUBLIC ComponentBase diff --git a/include/comphelper/componentguard.hxx b/include/comphelper/componentguard.hxx index 6957f7397f66..cb6013900a32 100644 --- a/include/comphelper/componentguard.hxx +++ b/include/comphelper/componentguard.hxx @@ -30,7 +30,6 @@ namespace comphelper { - //= ComponentGuard class ComponentGuard diff --git a/include/comphelper/configurationhelper.hxx b/include/comphelper/configurationhelper.hxx index be2bf0509499..51ea3e64e26b 100644 --- a/include/comphelper/configurationhelper.hxx +++ b/include/comphelper/configurationhelper.hxx @@ -36,7 +36,6 @@ namespace comphelper{ - class COMPHELPER_DLLPUBLIC ConfigurationHelper { public: diff --git a/include/comphelper/container.hxx b/include/comphelper/container.hxx index 2cba09882991..730ebc651828 100644 --- a/include/comphelper/container.hxx +++ b/include/comphelper/container.hxx @@ -29,7 +29,6 @@ namespace comphelper { - //= IndexAccessIterator /** an iterator that iterates through all elements, starting from an XIndexAccess (pre-order) diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx index ad973a21fe32..e1f9976d7f87 100644 --- a/include/comphelper/docpasswordhelper.hxx +++ b/include/comphelper/docpasswordhelper.hxx @@ -38,7 +38,6 @@ enum DocPasswordVerifierResult }; - /** Base class for a password verifier used by the DocPasswordHelper class below. @@ -90,7 +89,6 @@ public: }; - /** Helper that asks for a document password and checks its validity. */ class COMPHELPER_DLLPUBLIC DocPasswordHelper @@ -114,7 +112,6 @@ public: GenerateNewModifyPasswordInfo( const OUString& aPassword ); - /** This helper function allows to check whether the "Password to modify" provided by user is the correct one. @@ -134,8 +131,6 @@ public: const css::uno::Sequence< css::beans::PropertyValue >& aInfo ); - - /** This helper function generates the hash code based on the algorithm specified by MS for "Password to modify" feature of Word. @@ -150,7 +145,6 @@ public: const OUString& aString ); - /** This helper function generates the hash code based on the algorithm specified by MS for "Password to modify" and passwords related to table protection of Excel. @@ -171,7 +165,6 @@ public: rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 ); - /** This helper function generates the hash code based on the algorithm specified by MS for "Password to modify" and passwords related to table protection. @@ -192,7 +185,6 @@ public: rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 ); - /** This helper function generates a random sequence of bytes of requested length. */ @@ -201,7 +193,6 @@ public: sal_Int32 nLength ); - /** This helper function generates a byte sequence representing the key digest value used by MSCodec_Std97 codec. */ @@ -211,7 +202,6 @@ public: const css::uno::Sequence< sal_Int8 >& aDocId ); - /** This helper function generates a byte sequence representing the key digest value used by MSCodec_Std97 codec. */ @@ -229,7 +219,6 @@ public: const sal_uInt8 pDocId[16] ); - /** This helper function tries to request and verify a password to load a protected document. @@ -298,7 +287,6 @@ private: }; - } // namespace comphelper #endif diff --git a/include/comphelper/docpasswordrequest.hxx b/include/comphelper/docpasswordrequest.hxx index ee44897344bf..31e2aad7482c 100644 --- a/include/comphelper/docpasswordrequest.hxx +++ b/include/comphelper/docpasswordrequest.hxx @@ -31,7 +31,6 @@ class AbortContinuation; class PasswordContinuation; - /** Selects which UNO document password request type to use. */ enum DocPasswordRequestType { @@ -40,7 +39,6 @@ enum DocPasswordRequestType }; - class COMPHELPER_DLLPUBLIC SimplePasswordRequest : public cppu::WeakImplHelper<css::task::XInteractionRequest> { @@ -64,7 +62,6 @@ private: }; - /** Implements the task.XInteractionRequest interface for requesting a password string for a document. */ @@ -98,7 +95,6 @@ private: }; - } // namespace comphelper #endif diff --git a/include/comphelper/documentinfo.hxx b/include/comphelper/documentinfo.hxx index 07155054eee2..c30d79b40c95 100644 --- a/include/comphelper/documentinfo.hxx +++ b/include/comphelper/documentinfo.hxx @@ -28,7 +28,6 @@ namespace comphelper { - //= DocumentInfo namespace DocumentInfo diff --git a/include/comphelper/evtlistenerhlp.hxx b/include/comphelper/evtlistenerhlp.hxx index 979665530bee..57bbab6947a0 100644 --- a/include/comphelper/evtlistenerhlp.hxx +++ b/include/comphelper/evtlistenerhlp.hxx @@ -30,7 +30,6 @@ namespace comphelper { - //= OCommandsListener // is helper class to avoid a cycle in refcount between the XEventListener // and the member XComponent diff --git a/include/comphelper/guarding.hxx b/include/comphelper/guarding.hxx index 6975880414ae..a750d479064b 100644 --- a/include/comphelper/guarding.hxx +++ b/include/comphelper/guarding.hxx @@ -27,7 +27,6 @@ namespace comphelper { - // = class MutexRelease - diff --git a/include/comphelper/interaction.hxx b/include/comphelper/interaction.hxx index 3ec18f893019..9849465aa6b9 100644 --- a/include/comphelper/interaction.hxx +++ b/include/comphelper/interaction.hxx @@ -36,7 +36,6 @@ namespace comphelper { - //= OInteraction /** template for instantiating concrete interaction handlers<p/> diff --git a/include/comphelper/listenernotification.hxx b/include/comphelper/listenernotification.hxx index 95164393ddce..ad040d1779e0 100644 --- a/include/comphelper/listenernotification.hxx +++ b/include/comphelper/listenernotification.hxx @@ -32,7 +32,6 @@ namespace comphelper { - //= OListenerContainer /** abstract base class which manages a listener container, including diff --git a/include/comphelper/logging.hxx b/include/comphelper/logging.hxx index e8987314ab5e..ef17801aa9f1 100644 --- a/include/comphelper/logging.hxx +++ b/include/comphelper/logging.hxx @@ -33,7 +33,6 @@ namespace comphelper { - //= string conversions, employed by the templatized log* members of //= EventLogger diff --git a/include/comphelper/namedvaluecollection.hxx b/include/comphelper/namedvaluecollection.hxx index 5fc0883b69cd..b7e64810d20b 100644 --- a/include/comphelper/namedvaluecollection.hxx +++ b/include/comphelper/namedvaluecollection.hxx @@ -36,7 +36,6 @@ namespace comphelper { - // = NamedValueCollection struct NamedValueCollection_Impl; diff --git a/include/comphelper/officeresourcebundle.hxx b/include/comphelper/officeresourcebundle.hxx index 22b7a3c243a9..679d850fd467 100644 --- a/include/comphelper/officeresourcebundle.hxx +++ b/include/comphelper/officeresourcebundle.hxx @@ -32,7 +32,6 @@ namespace comphelper { - //= OfficeResourceBundle class ResourceBundle_Impl; diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx index c88a42d65ed6..a129ea0976fe 100644 --- a/include/comphelper/propagg.hxx +++ b/include/comphelper/propagg.hxx @@ -31,12 +31,10 @@ //= property helper classes - namespace comphelper { - //= OPropertyAccessor //= internal helper class for OPropertyArrayAggregationHelper diff --git a/include/comphelper/propertysequence.hxx b/include/comphelper/propertysequence.hxx index 433834277035..28561a6904d7 100644 --- a/include/comphelper/propertysequence.hxx +++ b/include/comphelper/propertysequence.hxx @@ -36,7 +36,6 @@ namespace comphelper } // namespace comphelper - #endif // INCLUDED_COMPHELPER_PROPERTYSEQUENCE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/comphelper/propertystatecontainer.hxx b/include/comphelper/propertystatecontainer.hxx index cc93292baa62..c52bb4a240f4 100644 --- a/include/comphelper/propertystatecontainer.hxx +++ b/include/comphelper/propertystatecontainer.hxx @@ -34,7 +34,6 @@ namespace comphelper { - //= OPropertyStateContainer typedef ::cppu::ImplHelper1 < css::beans::XPropertyState diff --git a/include/comphelper/propmultiplex.hxx b/include/comphelper/propmultiplex.hxx index ac4eb02cd26d..15d9da6899bb 100644 --- a/include/comphelper/propmultiplex.hxx +++ b/include/comphelper/propmultiplex.hxx @@ -28,7 +28,6 @@ //= property helper classes - namespace comphelper { diff --git a/include/comphelper/propstate.hxx b/include/comphelper/propstate.hxx index 3b9a6a89dab1..aa3b50e4e25f 100644 --- a/include/comphelper/propstate.hxx +++ b/include/comphelper/propstate.hxx @@ -36,12 +36,10 @@ //= property helper classes - namespace comphelper { - //= OPropertyStateHelper /// helper class for implementing property states diff --git a/include/comphelper/proxyaggregation.hxx b/include/comphelper/proxyaggregation.hxx index 5c791e57dd93..4b82e8b2c687 100644 --- a/include/comphelper/proxyaggregation.hxx +++ b/include/comphelper/proxyaggregation.hxx @@ -76,7 +76,6 @@ namespace comphelper { - //= OProxyAggregation /** helper class for aggregating a proxy for a foreign object @@ -216,7 +215,6 @@ namespace comphelper } // namespace comphelper - #endif // INCLUDED_COMPHELPER_PROXYAGGREGATION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx index a70b29e8d761..df91bdb16dcd 100644 --- a/include/comphelper/seqstream.hxx +++ b/include/comphelper/seqstream.hxx @@ -36,7 +36,6 @@ namespace comphelper // stream for reading data from a sequence of bytes - class COMPHELPER_DLLPUBLIC SequenceInputStream : public ::cppu::WeakImplHelper< css::io::XInputStream, css::io::XSeekable > { diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx index a5fba55f1ec6..46f8153253f3 100644 --- a/include/comphelper/sequence.hxx +++ b/include/comphelper/sequence.hxx @@ -398,7 +398,6 @@ namespace comphelper } // namespace comphelper - #endif // INCLUDED_COMPHELPER_SEQUENCE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/comphelper/sharedmutex.hxx b/include/comphelper/sharedmutex.hxx index 13e48a67d089..51974ac65e79 100644 --- a/include/comphelper/sharedmutex.hxx +++ b/include/comphelper/sharedmutex.hxx @@ -28,7 +28,6 @@ namespace comphelper { - //= SharedMutex class COMPHELPER_DLLPUBLIC SharedMutex diff --git a/include/comphelper/synchronousdispatch.hxx b/include/comphelper/synchronousdispatch.hxx index 910fd6c20f2f..2488e02ec925 100644 --- a/include/comphelper/synchronousdispatch.hxx +++ b/include/comphelper/synchronousdispatch.hxx @@ -35,12 +35,10 @@ namespace com { namespace sun { namespace star { } } } - namespace comphelper { - //= SynchronousDispatch /** a helper class for working with the dispatch interface replacing diff --git a/include/comphelper/types.hxx b/include/comphelper/types.hxx index c19d1bdb1671..608b21c22d02 100644 --- a/include/comphelper/types.hxx +++ b/include/comphelper/types.hxx @@ -73,7 +73,6 @@ namespace comphelper } - /** get a css::awt::FontDescriptor that is fully initialized with the XXX_DONTKNOW enum values (which isn't the case if you instantiate it via the default constructor) diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx index b5167181e03a..427deb394186 100644 --- a/include/comphelper/uno3.hxx +++ b/include/comphelper/uno3.hxx @@ -160,7 +160,6 @@ namespace comphelper IMPLEMENT_GET_IMPLEMENTATION_ID( classname ) - /** ask for an iface of an aggregated object usage:<br/> Reference<XFoo> xFoo;<br/> diff --git a/include/comphelper/weakeventlistener.hxx b/include/comphelper/weakeventlistener.hxx index 187ca03fb3e8..23952e4e268d 100644 --- a/include/comphelper/weakeventlistener.hxx +++ b/include/comphelper/weakeventlistener.hxx @@ -32,7 +32,6 @@ namespace comphelper { - //= OWeakListenerAdapterBase /** (the base for) an adapter which allows to add as listener to a foreign component, without @@ -84,7 +83,6 @@ namespace comphelper }; - //= OWeakListenerAdapter template< class BROADCASTER, class LISTENER > |