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 /basic/source/basmgr | |
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 'basic/source/basmgr')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 18 | ||||
-rw-r--r-- | basic/source/basmgr/vbahelper.cxx | 8 |
2 files changed, 0 insertions, 26 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index c558e8b09e37..12f015aa8e73 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -168,7 +168,6 @@ public: }; - // BasMgrContainerListenerImpl @@ -236,7 +235,6 @@ void BasMgrContainerListenerImpl::addLibraryModulesImpl( BasicManager* pMgr, } - // XEventListener @@ -295,7 +293,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementInserted( const container::Con } - void SAL_CALL BasMgrContainerListenerImpl::elementReplaced( const container::ContainerEvent& Event ) throw( uno::RuntimeException, std::exception ) { @@ -322,7 +319,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementReplaced( const container::Con } - void SAL_CALL BasMgrContainerListenerImpl::elementRemoved( const container::ContainerEvent& Event ) throw( uno::RuntimeException, std::exception ) { @@ -366,8 +362,6 @@ BasicError::BasicError( const BasicError& rErr ) : } - - class BasicLibInfo { private: @@ -1686,7 +1680,6 @@ ErrCode BasicManager::ExecuteMacro( OUString const& i_fullyQualifiedName, OUStri } - class ModuleInfo_Impl : public ModuleInfoHelper { OUString maName; @@ -1707,8 +1700,6 @@ public: }; - - class DialogInfo_Impl : public WeakImplHelper< script::XStarBasicDialogInfo > { OUString maName; @@ -1726,8 +1717,6 @@ public: }; - - class LibraryInfo_Impl : public WeakImplHelper< script::XStarBasicLibraryInfo > { OUString maName; @@ -1771,7 +1760,6 @@ public: }; - class ModuleContainer_Impl : public NameContainerHelper { StarBASIC* mpLib; @@ -1893,8 +1881,6 @@ void ModuleContainer_Impl::removeByName( const OUString& Name ) } - - uno::Sequence< sal_Int8 > implGetDialogData( SbxObject* pDialog ) { SvMemoryStream aMemStream; @@ -2074,9 +2060,6 @@ void DialogContainer_Impl::removeByName( const OUString& Name ) } - - - class LibraryContainer_Impl : public NameContainerHelper { BasicManager* mpMgr; @@ -2221,7 +2204,6 @@ void LibraryContainer_Impl::removeByName( const OUString& Name ) } - typedef WeakImplHelper< script::XStarBasicAccess > StarBasicAccessHelper; diff --git a/basic/source/basmgr/vbahelper.cxx b/basic/source/basmgr/vbahelper.cxx index d62c79e3004b..366df75dff53 100644 --- a/basic/source/basmgr/vbahelper.cxx +++ b/basic/source/basmgr/vbahelper.cxx @@ -36,7 +36,6 @@ namespace vba { using namespace ::com::sun::star; - namespace { /** Create an instance of a module manager. @@ -90,7 +89,6 @@ void lclLockControllers( const uno::Reference< frame::XModel >& rxModel, bool bL } - /** Enables or disables the container windows of all controllers of the specified document model. */ @@ -121,7 +119,6 @@ void lclEnableContainerWindows( const uno::Reference< frame::XModel >& rxModel, } - typedef void (*ModifyDocumentFunc)( const uno::Reference< frame::XModel >&, bool ); /** Implementation iterating over all documents that have the same type as the @@ -144,7 +141,6 @@ void lclIterateDocuments( ModifyDocumentFunc pModifyDocumentFunc, const uno::Ref } - struct CurrDirPool { ::osl::Mutex maMutex; @@ -156,21 +152,18 @@ struct StaticCurrDirPool : public ::rtl::Static< CurrDirPool, StaticCurrDirPool } // namespace - void lockControllersOfAllDocuments( const uno::Reference< frame::XModel >& rxModel, bool bLockControllers ) { lclIterateDocuments( &lclLockControllers, rxModel, bLockControllers ); } - void enableContainerWindowsOfAllDocuments( const uno::Reference< frame::XModel >& rxModel, bool bEnableWindows ) { lclIterateDocuments( &lclEnableContainerWindows, rxModel, bEnableWindows ); } - void registerCurrentDirectory( const uno::Reference< frame::XModel >& rxModel, const OUString& rPath ) { if( !rPath.isEmpty() ) @@ -191,7 +184,6 @@ void registerCurrentDirectory( const uno::Reference< frame::XModel >& rxModel, c } - } // namespace vba } // namespace basic |