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>
This commit is contained in:
@@ -48,12 +48,10 @@ using namespace ::com::sun::star::embed;
|
||||
using namespace ::com::sun::star::container;
|
||||
|
||||
|
||||
|
||||
namespace stringresource
|
||||
{
|
||||
|
||||
|
||||
|
||||
// mutex
|
||||
|
||||
|
||||
@@ -73,7 +71,6 @@ namespace stringresource
|
||||
}
|
||||
|
||||
|
||||
|
||||
// StringResourceImpl
|
||||
|
||||
|
||||
@@ -96,8 +93,6 @@ static Reference< XInterface > SAL_CALL create_StringResourceImpl(
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
StringResourceImpl::StringResourceImpl( const Reference< XComponentContext >& rxContext )
|
||||
: m_xContext( rxContext )
|
||||
, m_pCurrentLocaleItem( nullptr )
|
||||
@@ -111,7 +106,6 @@ StringResourceImpl::StringResourceImpl( const Reference< XComponentContext >& rx
|
||||
}
|
||||
|
||||
|
||||
|
||||
StringResourceImpl::~StringResourceImpl()
|
||||
{
|
||||
for( LocaleItemVectorIt it = m_aLocaleItemVector.begin(); it != m_aLocaleItemVector.end(); ++it )
|
||||
@@ -128,7 +122,6 @@ StringResourceImpl::~StringResourceImpl()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// XServiceInfo
|
||||
|
||||
OUString StringResourceImpl::getImplementationName( ) throw (RuntimeException, std::exception)
|
||||
@@ -147,7 +140,6 @@ Sequence< OUString > StringResourceImpl::getSupportedServiceNames( ) throw (Run
|
||||
}
|
||||
|
||||
|
||||
|
||||
// XModifyBroadcaster
|
||||
|
||||
void StringResourceImpl::addModifyListener( const Reference< XModifyListener >& aListener )
|
||||
@@ -171,7 +163,6 @@ void StringResourceImpl::removeModifyListener( const Reference< XModifyListener
|
||||
}
|
||||
|
||||
|
||||
|
||||
// XStringResourceResolver
|
||||
|
||||
OUString StringResourceImpl::implResolveString
|
||||
@@ -319,7 +310,6 @@ Sequence< Locale > StringResourceImpl::getLocales( )
|
||||
}
|
||||
|
||||
|
||||
|
||||
// XStringResourceManager
|
||||
|
||||
void StringResourceImpl::implCheckReadOnly( const sal_Char* pExceptionMsg )
|
||||
@@ -636,7 +626,6 @@ sal_Int32 StringResourceImpl::getUniqueNumericId( )
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Private helper methods
|
||||
|
||||
LocaleItem* StringResourceImpl::getItemForLocale
|
||||
@@ -718,7 +707,6 @@ void StringResourceImpl::implNotifyListeners()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Loading
|
||||
|
||||
bool StringResourceImpl::loadLocale( LocaleItem* pLocaleItem )
|
||||
@@ -743,7 +731,6 @@ StringResourcePersistenceImpl::StringResourcePersistenceImpl( const Reference< X
|
||||
}
|
||||
|
||||
|
||||
|
||||
StringResourcePersistenceImpl::~StringResourcePersistenceImpl()
|
||||
{
|
||||
}
|
||||
@@ -759,7 +746,6 @@ OUString StringResourcePersistenceImpl::getImplementationName( )
|
||||
}
|
||||
|
||||
|
||||
|
||||
sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServiceName )
|
||||
throw (RuntimeException, std::exception)
|
||||
{
|
||||
@@ -767,7 +753,6 @@ sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServic
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< OUString > StringResourcePersistenceImpl::getSupportedServiceNames( )
|
||||
throw (RuntimeException, std::exception)
|
||||
{
|
||||
@@ -1221,7 +1206,6 @@ void StringResourcePersistenceImpl::implStoreAtLocation
|
||||
}
|
||||
|
||||
|
||||
|
||||
// BinaryOutput, helper class for exportBinary
|
||||
|
||||
class BinaryOutput
|
||||
@@ -1623,7 +1607,6 @@ void StringResourcePersistenceImpl::importBinary( const Sequence< ::sal_Int8 >&
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Private helper methods
|
||||
|
||||
bool checkNamingSceme( const OUString& aName, const OUString& aNameBase,
|
||||
@@ -2222,7 +2205,6 @@ bool StringResourcePersistenceImpl::implWritePropertiesFile( LocaleItem* pLocale
|
||||
}
|
||||
|
||||
|
||||
|
||||
// StringResourceWithStorageImpl
|
||||
|
||||
|
||||
@@ -2245,7 +2227,6 @@ static Reference< XInterface > SAL_CALL create_StringResourceWithStorageImpl(
|
||||
}
|
||||
|
||||
|
||||
|
||||
StringResourceWithStorageImpl::StringResourceWithStorageImpl( const Reference< XComponentContext >& rxContext )
|
||||
: StringResourceWithStorageImpl_BASE( rxContext )
|
||||
, m_bStorageChanged( false )
|
||||
@@ -2253,7 +2234,6 @@ StringResourceWithStorageImpl::StringResourceWithStorageImpl( const Reference< X
|
||||
}
|
||||
|
||||
|
||||
|
||||
StringResourceWithStorageImpl::~StringResourceWithStorageImpl()
|
||||
{
|
||||
}
|
||||
@@ -2500,7 +2480,6 @@ void StringResourceWithStorageImpl::setStorage( const Reference< XStorage >& Sto
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Private helper methods
|
||||
|
||||
|
||||
@@ -2546,7 +2525,6 @@ bool StringResourceWithStorageImpl::implLoadLocale( LocaleItem* pLocaleItem )
|
||||
}
|
||||
|
||||
|
||||
|
||||
// StringResourceWithLocationImpl
|
||||
|
||||
|
||||
@@ -2569,7 +2547,6 @@ static Reference< XInterface > SAL_CALL create_StringResourceWithLocationImpl(
|
||||
}
|
||||
|
||||
|
||||
|
||||
StringResourceWithLocationImpl::StringResourceWithLocationImpl( const Reference< XComponentContext >& rxContext )
|
||||
: StringResourceWithLocationImpl_BASE( rxContext )
|
||||
, m_bLocationChanged( false )
|
||||
@@ -2577,7 +2554,6 @@ StringResourceWithLocationImpl::StringResourceWithLocationImpl( const Reference<
|
||||
}
|
||||
|
||||
|
||||
|
||||
StringResourceWithLocationImpl::~StringResourceWithLocationImpl()
|
||||
{
|
||||
}
|
||||
@@ -2854,7 +2830,6 @@ void StringResourceWithLocationImpl::setURL( const OUString& URL )
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Private helper methods
|
||||
|
||||
|
||||
@@ -2912,7 +2887,6 @@ const Reference< ucb::XSimpleFileAccess3 > StringResourceWithLocationImpl::getFi
|
||||
}
|
||||
|
||||
|
||||
|
||||
// component export operations
|
||||
|
||||
|
||||
@@ -2940,12 +2914,9 @@ static const struct ::cppu::ImplementationEntry s_component_entries [] =
|
||||
};
|
||||
|
||||
|
||||
|
||||
} // namespace dlgprov
|
||||
|
||||
|
||||
|
||||
|
||||
// component exports
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user