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 /ucb/source/ucp/file/shell.cxx | |
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 'ucb/source/ucp/file/shell.cxx')
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index a10d2020371b..42e4ab59c219 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -434,7 +434,6 @@ shell::registerNotifier( const OUString& aUnqPath, Notifier* pNotifier ) } - void SAL_CALL shell::deregisterNotifier( const OUString& aUnqPath,Notifier* pNotifier ) { @@ -451,7 +450,6 @@ shell::deregisterNotifier( const OUString& aUnqPath,Notifier* pNotifier ) } - /*********************************************************************************/ /* */ /* de/associate-Implementation */ @@ -505,8 +503,6 @@ shell::associate( const OUString& aUnqPath, } - - void SAL_CALL shell::deassociate( const OUString& aUnqPath, const OUString& PropertyName ) @@ -554,8 +550,6 @@ shell::deassociate( const OUString& aUnqPath, } - - /*********************************************************************************/ /* */ /* page-Implementation */ @@ -566,7 +560,6 @@ shell::deassociate( const OUString& aUnqPath, // URL aUnqPath into the XOutputStream - void SAL_CALL shell::page( sal_Int32 CommandId, const OUString& aUnqPath, const uno::Reference< io::XOutputStream >& xOutputStream ) @@ -655,7 +648,6 @@ void SAL_CALL shell::page( sal_Int32 CommandId, // Given a file URL aUnqPath, this methods returns a XInputStream which reads from the open file. - uno::Reference< io::XInputStream > SAL_CALL shell::open( sal_Int32 CommandId, const OUString& aUnqPath, @@ -679,8 +671,6 @@ shell::open( sal_Int32 CommandId, } - - /*********************************************************************************/ /* */ /* open for read/write access-Implementation */ @@ -691,7 +681,6 @@ shell::open( sal_Int32 CommandId, // to read and write from/to the file. - uno::Reference< io::XStream > SAL_CALL shell::open_rw( sal_Int32 CommandId, const OUString& aUnqPath, @@ -714,7 +703,6 @@ shell::open_rw( sal_Int32 CommandId, } - /*********************************************************************************/ /* */ /* ls-Implementation */ @@ -725,7 +713,6 @@ shell::open_rw( sal_Int32 CommandId, // to file URL aUnqPath - uno::Reference< XDynamicResultSet > SAL_CALL shell::ls( sal_Int32 CommandId, const OUString& aUnqPath, @@ -751,8 +738,6 @@ shell::ls( sal_Int32 CommandId, } - - /*********************************************************************************/ /* */ /* info_c implementation */ @@ -768,8 +753,6 @@ shell::info_c() } - - /*********************************************************************************/ /* */ /* info_p-Implementation */ @@ -786,8 +769,6 @@ shell::info_p( const OUString& aUnqPath ) } - - /*********************************************************************************/ /* */ /* setv-Implementation */ @@ -797,7 +778,6 @@ shell::info_p( const OUString& aUnqPath ) // Sets the values of the properties belonging to fileURL aUnqPath - uno::Sequence< uno::Any > SAL_CALL shell::setv( const OUString& aUnqPath, const uno::Sequence< beans::PropertyValue >& values ) @@ -1032,7 +1012,6 @@ shell::setv( const OUString& aUnqPath, // Returns an XRow object containing the values in the requested order. - uno::Reference< sdbc::XRow > SAL_CALL shell::getv( sal_Int32 CommandId, const OUString& aUnqPath, @@ -1274,7 +1253,6 @@ shell::move( sal_Int32 CommandId, } - /********************************************************************************/ /* */ /* copy-implementation */ @@ -1470,7 +1448,6 @@ shell::copy( } - /********************************************************************************/ /* */ /* remove-implementation */ @@ -1481,7 +1458,6 @@ shell::copy( // Return: success of operation - bool SAL_CALL shell::remove( sal_Int32 CommandId, const OUString& aUnqPath, @@ -1888,7 +1864,6 @@ shell::write( sal_Int32 CommandId, } - /*********************************************************************************/ /* */ /* insertDefaultProperties-Implementation */ @@ -1924,8 +1899,6 @@ void SAL_CALL shell::insertDefaultProperties( const OUString& aUnqPath ) } - - /******************************************************************************/ /* */ /* mapping of file urls */ @@ -1955,7 +1928,6 @@ bool SAL_CALL shell::getUnqFromUrl( const OUString& Url, OUString& Unq ) } - bool SAL_CALL shell::getUrlFromUnq( const OUString& Unq,OUString& Url ) { bool err = osl::FileBase::E_None != osl::FileBase::getSystemPathFromFileURL( Unq,Url ); @@ -1966,7 +1938,6 @@ bool SAL_CALL shell::getUrlFromUnq( const OUString& Unq,OUString& Url ) } - // Helper function for public copy osl::FileBase::RC SAL_CALL @@ -2036,7 +2007,6 @@ shell::copy_recursive( const OUString& srcUnqPath, } - // Helper function for mkfil,mkdir and write // Creates whole path // returns success of the operation @@ -2123,15 +2093,11 @@ bool SAL_CALL shell::ensuredir( sal_Int32 CommandId, } - - - // Given a sequence of properties seq, this method determines the mask // used to instantiate a osl::FileStatus, so that a call to // osl::DirectoryItem::getFileStatus fills the required fields. - void SAL_CALL shell::getMaskFromProperties( sal_Int32& n_Mask, @@ -2165,7 +2131,6 @@ shell::getMaskFromProperties( } - /*********************************************************************************/ /* */ /* load-Implementation */ @@ -2224,8 +2189,6 @@ shell::load( const ContentMap::iterator& it, bool create ) } - - /*********************************************************************************/ /* */ /* commit-Implementation */ @@ -2534,10 +2497,6 @@ shell::getv( } - - - - // EventListener @@ -2567,7 +2526,6 @@ shell::getContentEventListeners( const OUString& aName ) } - std::list< ContentEventNotifier* >* SAL_CALL shell::getContentDeletedEventListeners( const OUString& aName ) { @@ -2637,8 +2595,6 @@ shell::notifyContentRemoved( std::list< ContentEventNotifier* >* listeners, } - - std::list< PropertySetInfoChangeNotifier* >* SAL_CALL shell::getPropertySetListeners( const OUString& aName ) { @@ -2695,7 +2651,6 @@ shell::notifyPropertyRemoved( std::list< PropertySetInfoChangeNotifier* >* liste } - std::vector< std::list< ContentEventNotifier* >* >* SAL_CALL shell::getContentExchangedEventListeners( const OUString& aOldPrefix, const OUString& aNewPrefix, @@ -2799,7 +2754,6 @@ shell::getContentExchangedEventListeners( const OUString& aOldPrefix, } - void SAL_CALL shell::notifyContentExchanged( std::vector< std::list< ContentEventNotifier* >* >* listeners_vec ) { @@ -2820,7 +2774,6 @@ shell::notifyContentExchanged( std::vector< std::list< ContentEventNotifier* >* } - std::list< PropertyChangeNotifier* >* SAL_CALL shell::getPropertyChangeNotifier( const OUString& aName ) { @@ -2861,8 +2814,6 @@ void SAL_CALL shell::notifyPropertyChanges( std::list< PropertyChangeNotifier* > } - - /********************************************************************************/ /* remove persistent propertyset */ /********************************************************************************/ @@ -2921,8 +2872,6 @@ shell::erasePersistentSet( const OUString& aUnqPath, } - - /********************************************************************************/ /* copy persistent propertyset */ /* from srcUnqPath to dstUnqPath */ |