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 /svx/source/form | |
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 'svx/source/form')
-rw-r--r-- | svx/source/form/ParseContext.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/dataaccessdescriptor.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/datanavi.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/dbcharsethelper.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/filtnav.cxx | 5 | ||||
-rw-r--r-- | svx/source/form/fmdmod.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/fmdocumentclassification.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/fmexch.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/fmexpl.cxx | 3 | ||||
-rw-r--r-- | svx/source/form/fmitems.cxx | 3 | ||||
-rw-r--r-- | svx/source/form/fmobjfac.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/fmpage.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/fmshimp.cxx | 4 | ||||
-rw-r--r-- | svx/source/form/fmsrcimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmtextcontrolshell.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/fmtools.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmundo.cxx | 7 | ||||
-rw-r--r-- | svx/source/form/fmview.cxx | 3 | ||||
-rw-r--r-- | svx/source/form/formcontroller.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/navigatortree.cxx | 3 | ||||
-rw-r--r-- | svx/source/form/navigatortreemodel.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/sqlparserclient.cxx | 1 | ||||
-rw-r--r-- | svx/source/form/tabwin.cxx | 1 |
23 files changed, 0 insertions, 50 deletions
diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx index 56e68c269f8e..3333f797771d 100644 --- a/svx/source/form/ParseContext.cxx +++ b/svx/source/form/ParseContext.cxx @@ -144,8 +144,6 @@ IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode(const OS } - - namespace { diff --git a/svx/source/form/dataaccessdescriptor.cxx b/svx/source/form/dataaccessdescriptor.cxx index c7b1d1caa1f0..3f67bc63f832 100644 --- a/svx/source/form/dataaccessdescriptor.cxx +++ b/svx/source/form/dataaccessdescriptor.cxx @@ -402,5 +402,4 @@ namespace svx } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index e28f9bf3814e..53b5f50de11c 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -2234,11 +2234,9 @@ namespace svxform } - // class NavigatorFrameManager - SFX_IMPL_DOCKINGWINDOW( DataNavigatorManager, SID_FM_SHOW_DATANAVIGATOR ) diff --git a/svx/source/form/dbcharsethelper.cxx b/svx/source/form/dbcharsethelper.cxx index fe88160c9457..184be709c7de 100644 --- a/svx/source/form/dbcharsethelper.cxx +++ b/svx/source/form/dbcharsethelper.cxx @@ -47,6 +47,4 @@ namespace svxform { namespace charset_helper } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 2e4bf31643a7..0e06a4e803ff 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -141,7 +141,6 @@ Image FmFilterData::GetImage() const } - FmParentData::~FmParentData() { for (::std::vector<FmFilterData*>::const_iterator i = m_aChildren.begin(); @@ -150,7 +149,6 @@ FmParentData::~FmParentData() } - Image FmFormItem::GetImage() const { ImageList aNavigatorImages( SVX_RES( RID_SVXIMGLIST_FMEXPL ) ); @@ -158,7 +156,6 @@ Image FmFormItem::GetImage() const } - FmFilterItem* FmFilterItems::Find( const ::sal_Int32 _nFilterComponentIndex ) const { for ( ::std::vector< FmFilterData* >::const_iterator i = m_aChildren.begin(); @@ -182,7 +179,6 @@ Image FmFilterItems::GetImage() const } - FmFilterItem::FmFilterItem( FmFilterItems* pParent, const OUString& aFieldName, const OUString& aText, @@ -1255,7 +1251,6 @@ IMPL_LINK_NOARG_TYPED(FmFilterNavigator, OnDropActionTimer, Timer *, void) } - sal_Int8 FmFilterNavigator::AcceptDrop( const AcceptDropEvent& rEvt ) { Point aDropPos = rEvt.maPosPixel; diff --git a/svx/source/form/fmdmod.cxx b/svx/source/form/fmdmod.cxx index bb63fed3b326..ec6aabfee384 100644 --- a/svx/source/form/fmdmod.cxx +++ b/svx/source/form/fmdmod.cxx @@ -47,7 +47,6 @@ using namespace ::svxform; } - // Encapsulation violation: We *know* that // SvxUnoDrawMSFactory::createInstanceWithArguments() always throws. diff --git a/svx/source/form/fmdocumentclassification.cxx b/svx/source/form/fmdocumentclassification.cxx index a61abcfb923d..ec8c171c8f42 100644 --- a/svx/source/form/fmdocumentclassification.cxx +++ b/svx/source/form/fmdocumentclassification.cxx @@ -74,7 +74,6 @@ namespace svxform using namespace ::com::sun::star::sdbc; - namespace { diff --git a/svx/source/form/fmexch.cxx b/svx/source/form/fmexch.cxx index 58428a6ced0a..0880968c309e 100644 --- a/svx/source/form/fmexch.cxx +++ b/svx/source/form/fmexch.cxx @@ -28,7 +28,6 @@ #include <tools/diagnose_ex.h> - namespace svxform { diff --git a/svx/source/form/fmexpl.cxx b/svx/source/form/fmexpl.cxx index 53bb185cbe8c..316f951c5dcb 100644 --- a/svx/source/form/fmexpl.cxx +++ b/svx/source/form/fmexpl.cxx @@ -82,7 +82,6 @@ FmNavInsertedHint::~FmNavInsertedHint() } - // class FmNavInsertedHint FmNavModelReplacedHint::FmNavModelReplacedHint( FmEntryData* pAffectedEntryData ) @@ -599,11 +598,9 @@ namespace svxform } - // class NavigatorFrameManager - SFX_IMPL_DOCKINGWINDOW( NavigatorFrameManager, SID_FM_SHOW_FMEXPLORER ) diff --git a/svx/source/form/fmitems.cxx b/svx/source/form/fmitems.cxx index e8f319c5380e..aed2077ddac6 100644 --- a/svx/source/form/fmitems.cxx +++ b/svx/source/form/fmitems.cxx @@ -26,7 +26,6 @@ // class FmInterfaceItem - bool FmInterfaceItem::operator==( const SfxPoolItem& rAttr ) const { DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" ); @@ -54,6 +53,4 @@ SfxPoolItem* FmInterfaceItem::Create( SvStream& /*rStrm*/, sal_uInt16 ) const } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx index 4f8e5e363dd3..115dfa0d739c 100644 --- a/svx/source/form/fmobjfac.cxx +++ b/svx/source/form/fmobjfac.cxx @@ -235,5 +235,4 @@ IMPL_STATIC_LINK_TYPED( } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/fmpage.cxx b/svx/source/form/fmpage.cxx index 41a1aef3b029..cf4d5919a6fd 100644 --- a/svx/source/form/fmpage.cxx +++ b/svx/source/form/fmpage.cxx @@ -53,7 +53,6 @@ using com::sun::star::container::XChild; using com::sun::star::container::XNameContainer; - FmFormPage::FmFormPage(FmFormModel& rModel, bool bMasterPage) :SdrPage(rModel, bMasterPage) ,m_pImpl( new FmFormPageImpl( *this ) ) diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 264e83a8c83b..6c3fc9a9bc9e 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -3970,7 +3970,6 @@ bool FmXFormShell::HasControlFocus() const } - SearchableControlIterator::SearchableControlIterator(Reference< XInterface> xStartingPoint) :IndexAccessIterator(xStartingPoint) { @@ -4015,8 +4014,6 @@ bool SearchableControlIterator::ShouldStepInto(const Reference< XInterface>& /*x } - - SFX_IMPL_MENU_CONTROL(ControlConversionMenuController, SfxBoolItem); @@ -4091,5 +4088,4 @@ void ControlConversionMenuController::StateChanged(sal_uInt16 nSID, SfxItemState } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index caf0bd2be212..2b4abd434bf5 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -65,7 +65,6 @@ using namespace ::com::sun::star::beans; using namespace ::svxform; - // = FmSearchThread void FmSearchThread::run() @@ -660,7 +659,6 @@ FmSearchEngine::SEARCH_RESULT FmSearchEngine::SearchRegularApprox(const OUString } - FmSearchEngine::FmSearchEngine(const Reference< XComponentContext >& _rxContext, const Reference< XResultSet > & xCursor, const OUString& sVisibleFields, const Reference< XNumberFormatsSupplier > & xFormatSupplier, FMSEARCH_MODE eMode) diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index ed77e61673eb..97a8b9984e3f 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -183,7 +183,6 @@ namespace svx }; - FmFocusListenerAdapter::FmFocusListenerAdapter( const Reference< css::awt::XControl >& _rxControl, IFocusObserver* _pObserver ) :m_pObserver( _pObserver ) ,m_xWindow( _rxControl, UNO_QUERY ) diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx index 8db5d5346f65..40c90dcf5882 100644 --- a/svx/source/form/fmtools.cxx +++ b/svx/source/form/fmtools.cxx @@ -299,7 +299,6 @@ void FmXDisposeListener::setAdapter(FmXDisposeMultiplexer* pAdapter) } - FmXDisposeMultiplexer::FmXDisposeMultiplexer(FmXDisposeListener* _pListener, const Reference< css::lang::XComponent>& _rxObject, sal_Int16 _nId) :m_xObject(_rxObject) ,m_pListener(_pListener) @@ -347,7 +346,6 @@ void FmXDisposeMultiplexer::dispose() } - sal_Int16 getControlTypeByObject(const Reference< css::lang::XServiceInfo>& _rxObject) { // ask for the persistent service name diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 0be8b170021d..e07570a14778 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -164,7 +164,6 @@ struct PropertySetInfo typedef std::map<Reference< XPropertySet >, PropertySetInfo> PropertySetInfoCache; - OUString static_STR_UNDO_PROPERTY; @@ -827,7 +826,6 @@ void FmXUndoEnvironment::TogglePropertyListening(const Reference< XInterface > & } - void FmXUndoEnvironment::switchListening( const Reference< XIndexContainer >& _rxContainer, bool _bStartListening ) { OSL_PRECOND( _rxContainer.is(), "FmXUndoEnvironment::switchListening: invalid container!" ); @@ -963,7 +961,6 @@ void FmXUndoEnvironment::RemoveElement(const Reference< XInterface >& _rxElement } - FmUndoPropertyAction::FmUndoPropertyAction(FmFormModel& rNewMod, const PropertyChangeEvent& evt) :SdrUndoAction(rNewMod) ,xObj(evt.Source, UNO_QUERY) @@ -978,7 +975,6 @@ FmUndoPropertyAction::FmUndoPropertyAction(FmFormModel& rNewMod, const PropertyC } - void FmUndoPropertyAction::Undo() { FmXUndoEnvironment& rEnv = static_cast<FmFormModel&>(rMod).GetUndoEnv(); @@ -1028,7 +1024,6 @@ OUString FmUndoPropertyAction::GetComment() const } - FmUndoContainerAction::FmUndoContainerAction(FmFormModel& _rMod, Action _eAction, const Reference< XIndexContainer > & xCont, @@ -1072,7 +1067,6 @@ FmUndoContainerAction::~FmUndoContainerAction() } - void FmUndoContainerAction::DisposeElement( const Reference< XInterface > & xElem ) { Reference< XComponent > xComp( xElem, UNO_QUERY ); @@ -1216,7 +1210,6 @@ FmUndoModelReplaceAction::~FmUndoModelReplaceAction() } - void FmUndoModelReplaceAction::DisposeElement( const css::uno::Reference< css::awt::XControlModel>& xReplaced ) { Reference< XComponent > xComp(xReplaced, UNO_QUERY); diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx index d3ff3b1ef636..5c84e2ac1303 100644 --- a/svx/source/form/fmview.cxx +++ b/svx/source/form/fmview.cxx @@ -79,9 +79,6 @@ using namespace ::svxform; using namespace ::svx; - - - FmFormView::FmFormView( FmFormModel* pModel, OutputDevice* pOut ) :E3dView(pModel,pOut) { diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 5d8895abaef4..efa5b3892bb5 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -2380,7 +2380,6 @@ void FormController::stopListening() } - Reference< XControl > FormController::findControl(Sequence< Reference< XControl > >& _rControls, const Reference< XControlModel > & xCtrlModel ,bool _bRemove,bool _bOverWrite) const { OSL_ENSURE( !impl_isDisposed_nofail(), "FormController: already disposed!" ); diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index 29d6d8711e86..e7a628b715cf 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -1362,7 +1362,6 @@ namespace svxform } - // insert form GetNavModel()->Insert( pNewFormData, TREELIST_APPEND, true ); @@ -1548,7 +1547,6 @@ namespace svxform } - IMPL_LINK_NOARG_TYPED(NavigatorTree, OnClipboardAction, OLocalExchange&, void) { if ( !m_aControlExchange.isClipboardOwner() ) @@ -2178,5 +2176,4 @@ namespace svxform } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index f949bd35019f..05d6c73bd798 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -219,7 +219,6 @@ namespace svxform } - void NavigatorTreeModel::SetModified( bool bMod ) { if( !m_pFormShell ) return; @@ -965,5 +964,4 @@ namespace svxform } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/sqlparserclient.cxx b/svx/source/form/sqlparserclient.cxx index 3d6e58b62235..8665ab4639c0 100644 --- a/svx/source/form/sqlparserclient.cxx +++ b/svx/source/form/sqlparserclient.cxx @@ -50,5 +50,4 @@ namespace svxform } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx index c2ba42afd83a..db01e9ad1a1e 100644 --- a/svx/source/form/tabwin.cxx +++ b/svx/source/form/tabwin.cxx @@ -398,7 +398,6 @@ void FmFieldWin::Resize() Size aOutputSize( GetOutputSizePixel() ); - // adapt size of css::form::ListBox Point aLBPos( LISTBOX_BORDER, LISTBOX_BORDER ); Size aLBSize( aOutputSize ); |