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 /sdext | |
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 'sdext')
39 files changed, 0 insertions, 134 deletions
diff --git a/sdext/source/minimizer/graphiccollector.hxx b/sdext/source/minimizer/graphiccollector.hxx index c152d31141a1..2e54dc77dc6a 100644 --- a/sdext/source/minimizer/graphiccollector.hxx +++ b/sdext/source/minimizer/graphiccollector.hxx @@ -90,9 +90,6 @@ class GraphicCollector }; - - - #endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_GRAPHICCOLLECTOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx index 164a3e22080e..03ba917617d8 100644 --- a/sdext/source/minimizer/impoptimizer.cxx +++ b/sdext/source/minimizer/impoptimizer.cxx @@ -477,8 +477,6 @@ void CompressGraphics( ImpOptimizer& rOptimizer, const Reference< XComponentCont } - - ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, const Reference< XModel >& rxModel ) : mxContext ( rxContext ), mxModel ( rxModel ), @@ -497,13 +495,11 @@ ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, con } - ImpOptimizer::~ImpOptimizer() { } - void ImpOptimizer::DispatchStatus() { if ( mxStatusDispatcher.is() ) @@ -516,7 +512,6 @@ void ImpOptimizer::DispatchStatus() } - bool ImpOptimizer::Optimize() { @@ -590,7 +585,6 @@ static void DispatchURL( Reference< XComponentContext > xContext, const OUString } - void ImpOptimizer::Optimize( const Sequence< PropertyValue >& rArguments ) { if ( mxModel.is() ) diff --git a/sdext/source/minimizer/impoptimizer.hxx b/sdext/source/minimizer/impoptimizer.hxx index 974e1107d099..60f15fb500ae 100644 --- a/sdext/source/minimizer/impoptimizer.hxx +++ b/sdext/source/minimizer/impoptimizer.hxx @@ -31,8 +31,6 @@ #include <com/sun/star/uno/XComponentContext.hpp> - - class ImpOptimizer : public OptimizationStats { private: diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx index b129b33a1802..4409c78f89f9 100644 --- a/sdext/source/minimizer/informationdialog.cxx +++ b/sdext/source/minimizer/informationdialog.cxx @@ -37,9 +37,6 @@ #define PAGE_WIDTH ( DIALOG_WIDTH - PAGE_POS_X ) - 6 - - - using namespace ::com::sun::star; using namespace ::com::sun::star::io; using namespace ::com::sun::star::ui; @@ -53,9 +50,6 @@ using namespace ::com::sun::star::script; using namespace ::com::sun::star::container; - - - OUString InsertFixedText( InformationDialog& rInformationDialog, const OUString& rControlName, const OUString& rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, bool bMultiLine, sal_Int16 nTabIndex ) { @@ -310,7 +304,6 @@ void InformationDialog::InitDialog() } - InformationDialog::InformationDialog( const Reference< XComponentContext > &rxContext, Reference< XFrame >& rxFrame, const OUString& rSaveAsURL, bool& rbOpenNewDocument, const sal_Int64& rSourceSize, const sal_Int64& rDestSize, const sal_Int64& rApproxSize ) : UnoDialog( rxContext, rxFrame ), ConfigurationAccess( rxContext, nullptr ), @@ -330,13 +323,11 @@ InformationDialog::InformationDialog( const Reference< XComponentContext > &rxCo } - InformationDialog::~InformationDialog() { } - void InformationDialog::execute() { UnoDialog::execute(); @@ -354,7 +345,6 @@ void InformationDialog::execute() } - void OKActionListener::actionPerformed( const ActionEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) { diff --git a/sdext/source/minimizer/informationdialog.hxx b/sdext/source/minimizer/informationdialog.hxx index 3fdc72d5eaa5..4c5453aabc9f 100644 --- a/sdext/source/minimizer/informationdialog.hxx +++ b/sdext/source/minimizer/informationdialog.hxx @@ -41,7 +41,6 @@ #include <cppuhelper/implbase.hxx> - class InformationDialog : public UnoDialog, public ConfigurationAccess { public: diff --git a/sdext/source/minimizer/optimizationstats.cxx b/sdext/source/minimizer/optimizationstats.cxx index 9518bb1cef31..74c3c141f99e 100644 --- a/sdext/source/minimizer/optimizationstats.cxx +++ b/sdext/source/minimizer/optimizationstats.cxx @@ -32,20 +32,17 @@ using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::beans; - OptimizationStats::OptimizationStats() { } - void OptimizationStats::SetStatusValue( const PPPOptimizerTokenEnum eStat, const uno::Any& rStatValue ) { maStats[ eStat ] = rStatValue; } - const uno::Any* OptimizationStats::GetStatusValue( const PPPOptimizerTokenEnum eStat ) const { std::map< PPPOptimizerTokenEnum, uno::Any, Compare >::const_iterator aIter( maStats.find( eStat ) ); @@ -53,7 +50,6 @@ const uno::Any* OptimizationStats::GetStatusValue( const PPPOptimizerTokenEnum e } - css::beans::PropertyValues OptimizationStats::GetStatusSequence() { int i = 0; @@ -68,7 +64,6 @@ css::beans::PropertyValues OptimizationStats::GetStatusSequence() } - void OptimizationStats::InitializeStatusValues( const uno::Sequence< PropertyValue >& rOptimizationStats ) { for( int i = 0; i < rOptimizationStats.getLength(); i++ ) @@ -76,7 +71,6 @@ void OptimizationStats::InitializeStatusValues( const uno::Sequence< PropertyVal } - void OptimizationStats::InitializeStatusValuesFromDocument( Reference< XModel > rxModel ) { try diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index 54ce34f9fc6f..fd65f08af4ee 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -31,8 +31,6 @@ #include <osl/time.h> - - using namespace ::com::sun::star::io; using namespace ::com::sun::star::ui; using namespace ::com::sun::star::awt; @@ -46,8 +44,6 @@ using namespace ::com::sun::star::script; using namespace ::com::sun::star::container; - - void OptimizerDialog::InitDialog() { // setting the dialog properties @@ -78,7 +74,6 @@ void OptimizerDialog::InitDialog() } - void OptimizerDialog::InitRoadmap() { try @@ -133,7 +128,6 @@ void OptimizerDialog::InitRoadmap() } - void OptimizerDialog::InsertRoadmapItem( const sal_Int32 nIndex, const bool bEnabled, const OUString& rLabel, const sal_Int32 nItemID ) { try @@ -154,7 +148,6 @@ void OptimizerDialog::InsertRoadmapItem( const sal_Int32 nIndex, const bool bEna } - void OptimizerDialog::UpdateConfiguration() { sal_Int16 nInt16 = 0; @@ -203,7 +196,6 @@ void OptimizerDialog::UpdateConfiguration() } - OptimizerDialog::OptimizerDialog( const Reference< XComponentContext > &rxContext, Reference< XFrame >& rxFrame, Reference< XDispatch > rxStatusDispatcher ) : UnoDialog( rxContext, rxFrame ), ConfigurationAccess( rxContext, nullptr ), @@ -238,7 +230,6 @@ OptimizerDialog::OptimizerDialog( const Reference< XComponentContext > &rxContex } - OptimizerDialog::~OptimizerDialog() { // not saving configuration if the dialog has been finished via cancel or close window @@ -247,7 +238,6 @@ OptimizerDialog::~OptimizerDialog() } - void OptimizerDialog::execute() { Reference< XItemEventBroadcaster > maRoadmapBroadcaster( mxRoadmapControl, UNO_QUERY_THROW ); @@ -258,7 +248,6 @@ void OptimizerDialog::execute() } - void OptimizerDialog::SwitchPage( sal_Int16 nNewStep ) { if ( ( nNewStep != mnCurrentStep ) && ( nNewStep <= MAX_STEP ) && ( nNewStep >= 0 ) ) @@ -305,7 +294,6 @@ void OptimizerDialog::UpdateControlStates( sal_Int16 nPage ) } - OUString OptimizerDialog::GetSelectedString( OUString const & token ) { OUString aSelectedItem; @@ -326,7 +314,6 @@ OUString OptimizerDialog::GetSelectedString( OUString const & token ) } - void OptimizerDialog::UpdateStatus( const css::uno::Sequence< css::beans::PropertyValue >& rStatus ) { if ( mxReschedule.is() ) @@ -358,7 +345,6 @@ void OptimizerDialog::UpdateStatus( const css::uno::Sequence< css::beans::Proper } - void ItemListener::itemStateChanged( const ItemEvent& Event ) throw ( RuntimeException, std::exception ) { @@ -493,7 +479,6 @@ void ItemListener::disposing( const css::lang::EventObject& /* Source */ ) } - void ActionListener::actionPerformed( const ActionEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) { @@ -643,7 +628,6 @@ void ActionListener::disposing( const css::lang::EventObject& /* Source */ ) } - void ActionListenerListBox0Pg0::actionPerformed( const ActionEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) { @@ -662,7 +646,6 @@ void ActionListenerListBox0Pg0::disposing( const css::lang::EventObject& /* Sour } - void TextListenerFormattedField0Pg1::textChanged( const TextEvent& /* rEvent */ ) throw ( css::uno::RuntimeException, std::exception ) { @@ -677,7 +660,6 @@ void TextListenerFormattedField0Pg1::disposing( const css::lang::EventObject& /* } - void TextListenerComboBox0Pg1::textChanged( const TextEvent& /* rEvent */ ) throw ( css::uno::RuntimeException, std::exception ) { @@ -706,7 +688,6 @@ void TextListenerComboBox0Pg1::disposing( const css::lang::EventObject& /* Sourc } - void SpinListenerFormattedField0Pg1::up( const SpinEvent& /* rEvent */ ) throw ( css::uno::RuntimeException, std::exception ) { diff --git a/sdext/source/minimizer/optimizerdialog.hxx b/sdext/source/minimizer/optimizerdialog.hxx index ccd942d4c14b..6a0299bb78b5 100644 --- a/sdext/source/minimizer/optimizerdialog.hxx +++ b/sdext/source/minimizer/optimizerdialog.hxx @@ -55,7 +55,6 @@ #define PAGE_WIDTH OD_DIALOG_WIDTH - PAGE_POS_X - class OptimizerDialog : public UnoDialog, public ConfigurationAccess { public: @@ -126,7 +125,6 @@ public: }; - class ItemListener : public ::cppu::WeakImplHelper< css::awt::XItemListener > { public: @@ -140,7 +138,6 @@ private: }; - class ActionListener : public ::cppu::WeakImplHelper< css::awt::XActionListener > { public: @@ -154,7 +151,6 @@ private: }; - class ActionListenerListBox0Pg0 : public ::cppu::WeakImplHelper< css::awt::XActionListener > { public: @@ -168,7 +164,6 @@ private: }; - class TextListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper< css::awt::XTextListener > { public: @@ -182,7 +177,6 @@ private: }; - class TextListenerComboBox0Pg1 : public ::cppu::WeakImplHelper< css::awt::XTextListener > { public: @@ -196,7 +190,6 @@ private: }; - class SpinListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper< css::awt::XSpinListener > { public: diff --git a/sdext/source/minimizer/optimizerdialogcontrols.cxx b/sdext/source/minimizer/optimizerdialogcontrols.cxx index c599b185aa5a..6c266f69e7c9 100644 --- a/sdext/source/minimizer/optimizerdialogcontrols.cxx +++ b/sdext/source/minimizer/optimizerdialogcontrols.cxx @@ -21,7 +21,6 @@ #include "optimizerdialog.hxx" - #include "pppoptimizer.hxx" #include "graphiccollector.hxx" #include "pagecollector.hxx" @@ -45,7 +44,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::presentation; - void SetBold( OptimizerDialog& rOptimizerDialog, const OUString& rControl ) { FontDescriptor aFontDescriptor; @@ -57,7 +55,6 @@ void SetBold( OptimizerDialog& rOptimizerDialog, const OUString& rControl ) } - OUString InsertSeparator( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, sal_Int32 nOrientation, sal_Int32 nPosX, sal_Int32 nPosY, sal_Int32 nWidth, sal_Int32 nHeight ) { @@ -88,7 +85,6 @@ OUString InsertSeparator( OptimizerDialog& rOptimizerDialog, const OUString& rCo } - OUString InsertButton( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, Reference< XActionListener >& xActionListener, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex, bool bEnabled, PPPOptimizerTokenEnum nResID, sal_Int16 nPushButtonType ) { @@ -125,7 +121,6 @@ OUString InsertButton( OptimizerDialog& rOptimizerDialog, const OUString& rContr } - OUString InsertFixedText( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, const OUString& rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, bool bMultiLine, bool bBold, sal_Int16 nTabIndex ) { @@ -161,7 +156,6 @@ OUString InsertFixedText( OptimizerDialog& rOptimizerDialog, const OUString& rCo } - OUString InsertCheckBox( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, const Reference< XItemListener >& xItemListener, const OUString& rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) @@ -198,7 +192,6 @@ OUString InsertCheckBox( OptimizerDialog& rOptimizerDialog, const OUString& rCon } - OUString InsertFormattedField( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, const Reference< XTextListener >& xTextListener, const Reference< XSpinListener >& xSpinListener, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, double fEffectiveMin, double fEffectiveMax, sal_Int16 nTabIndex ) @@ -246,7 +239,6 @@ OUString InsertFormattedField( OptimizerDialog& rOptimizerDialog, const OUString } - OUString InsertComboBox( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, const Reference< XTextListener >& rTextListener, const bool bEnabled, const Sequence< OUString >& rItemList, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) @@ -287,7 +279,6 @@ OUString InsertComboBox( OptimizerDialog& rOptimizerDialog, const OUString& rCon } - OUString InsertRadioButton( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, const Reference< XItemListener >& rItemListener, const OUString& rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, bool bMultiLine, sal_Int16 nTabIndex ) { @@ -323,7 +314,6 @@ OUString InsertRadioButton( OptimizerDialog& rOptimizerDialog, const OUString& r } - OUString InsertListBox( OptimizerDialog& rOptimizerDialog, const OUString& rControlName, const Reference< XActionListener >& rActionListener, const bool bEnabled, const Sequence< OUString >& rItemList, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) @@ -366,7 +356,6 @@ OUString InsertListBox( OptimizerDialog& rOptimizerDialog, const OUString& rCont } - void OptimizerDialog::InitNavigationBar() { sal_Int32 nCancelPosX = OD_DIALOG_WIDTH - BUTTON_WIDTH - 6; @@ -386,7 +375,6 @@ void OptimizerDialog::InitNavigationBar() } - void OptimizerDialog::UpdateControlStatesPage0() { sal_uInt32 i; @@ -435,7 +423,6 @@ void OptimizerDialog::InitPage0() } - void OptimizerDialog::UpdateControlStatesPage1() { bool bDeleteUnusedMasterPages( GetConfigProperty( TK_DeleteUnusedMasterPages, false ) ); @@ -475,7 +462,6 @@ void OptimizerDialog::InitPage1() } - void OptimizerDialog::UpdateControlStatesPage2() { bool bJPEGCompression( GetConfigProperty( TK_JPEGCompression, false ) ); @@ -540,7 +526,6 @@ void OptimizerDialog::InitPage2() } - void OptimizerDialog::UpdateControlStatesPage3() { bool bConvertOLEObjects( GetConfigProperty( TK_OLEOptimization, false ) ); @@ -582,7 +567,6 @@ void OptimizerDialog::InitPage3() } - static OUString ImpValueOfInMB( const sal_Int64& rVal, sal_Unicode nSeparator = '.' ) { double fVal( static_cast<double>( rVal ) ); diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx index d47c023c3e46..460e4c386a23 100644 --- a/sdext/source/minimizer/pppoptimizer.cxx +++ b/sdext/source/minimizer/pppoptimizer.cxx @@ -29,8 +29,6 @@ using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; - - PPPOptimizer::PPPOptimizer( css::uno::Reference<css::uno::XComponentContext> const & xContext, css::uno::Reference< css::frame::XFrame > const & xFrame): @@ -40,7 +38,6 @@ PPPOptimizer::PPPOptimizer( } - PPPOptimizer::~PPPOptimizer() { } @@ -62,7 +59,6 @@ Reference< css::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispatch( } - Sequence< Reference< css::frame::XDispatch > > SAL_CALL PPPOptimizer::queryDispatches( const Sequence< css::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException, std::exception ) { diff --git a/sdext/source/minimizer/pppoptimizer.hxx b/sdext/source/minimizer/pppoptimizer.hxx index 9508caca5221..17e1222b2cd9 100644 --- a/sdext/source/minimizer/pppoptimizer.hxx +++ b/sdext/source/minimizer/pppoptimizer.hxx @@ -28,8 +28,6 @@ #include <com/sun/star/frame/XController.hpp> - - class PPPOptimizer : public cppu::WeakImplHelper< css::frame::XDispatchProvider, css::frame::XDispatch > diff --git a/sdext/source/minimizer/pppoptimizerdialog.hxx b/sdext/source/minimizer/pppoptimizerdialog.hxx index 090fc8264c5b..774885501cd4 100644 --- a/sdext/source/minimizer/pppoptimizerdialog.hxx +++ b/sdext/source/minimizer/pppoptimizerdialog.hxx @@ -35,8 +35,6 @@ #include <cppuhelper/implbase.hxx> - - class OptimizerDialog; class PPPOptimizerDialog : public ::cppu::WeakImplHelper< css::lang::XInitialization, @@ -96,7 +94,6 @@ css::uno::Reference< css::uno::XInterface > PPPOptimizerDialog_createInstance( c throw( css::uno::Exception ); - #endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_PPPOPTIMIZERDIALOG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx index d75d50b4c350..986d2866dfe9 100644 --- a/sdext/source/minimizer/unodialog.cxx +++ b/sdext/source/minimizer/unodialog.cxx @@ -31,8 +31,6 @@ #include <com/sun/star/view/XControlAccess.hpp> - - using namespace ::com::sun::star::awt; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; @@ -65,14 +63,12 @@ UnoDialog::UnoDialog( const Reference< XComponentContext > &rxContext, Reference } - UnoDialog::~UnoDialog() { } - void UnoDialog::execute() { mxDialog->setEnable( sal_True ); @@ -87,7 +83,6 @@ void UnoDialog::endExecute( bool bStatus ) } - Reference< XWindowPeer > UnoDialog::createWindowPeer( Reference< XWindowPeer > xParentPeer ) throw ( Exception ) { @@ -102,7 +97,6 @@ Reference< XWindowPeer > UnoDialog::createWindowPeer( Reference< XWindowPeer > x } - Reference< XInterface > UnoDialog::insertControlModel( const OUString& rServiceName, const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { @@ -121,7 +115,6 @@ Reference< XInterface > UnoDialog::insertControlModel( const OUString& rServiceN } - void UnoDialog::setVisible( const OUString& rName, bool bVisible ) { try @@ -136,7 +129,6 @@ void UnoDialog::setVisible( const OUString& rName, bool bVisible ) } - Reference< XButton > UnoDialog::insertButton( const OUString& rName, Reference< XActionListener > xActionListener, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { @@ -163,7 +155,6 @@ Reference< XButton > UnoDialog::insertButton( const OUString& rName, Reference< } - Reference< XFixedText > UnoDialog::insertFixedText( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XFixedText > xFixedText; @@ -181,7 +172,6 @@ Reference< XFixedText > UnoDialog::insertFixedText( const OUString& rName, const } - Reference< XCheckBox > UnoDialog::insertCheckBox( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XCheckBox > xCheckBox; @@ -199,7 +189,6 @@ Reference< XCheckBox > UnoDialog::insertCheckBox( const OUString& rName, const S } - Reference< XControl > UnoDialog::insertFormattedField( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XControl > xControl; @@ -217,7 +206,6 @@ Reference< XControl > UnoDialog::insertFormattedField( const OUString& rName, co } - Reference< XComboBox > UnoDialog::insertComboBox( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XComboBox > xControl; @@ -235,7 +223,6 @@ Reference< XComboBox > UnoDialog::insertComboBox( const OUString& rName, const S } - Reference< XRadioButton > UnoDialog::insertRadioButton( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XRadioButton > xControl; @@ -253,7 +240,6 @@ Reference< XRadioButton > UnoDialog::insertRadioButton( const OUString& rName, c } - Reference< XListBox > UnoDialog::insertListBox( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XListBox > xControl; @@ -271,7 +257,6 @@ Reference< XListBox > UnoDialog::insertListBox( const OUString& rName, const Seq } - Reference< XControl > UnoDialog::insertImage( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XControl > xControl; @@ -289,7 +274,6 @@ Reference< XControl > UnoDialog::insertImage( const OUString& rName, const Seque } - void UnoDialog::setControlProperty( const OUString& rControlName, const OUString& rPropertyName, const Any& rPropertyValue ) { try @@ -306,7 +290,6 @@ void UnoDialog::setControlProperty( const OUString& rControlName, const OUString } - Any UnoDialog::getControlProperty( const OUString& rControlName, const OUString& rPropertyName ) { Any aRet; @@ -325,7 +308,6 @@ Any UnoDialog::getControlProperty( const OUString& rControlName, const OUString& } - void UnoDialog::enableControl( const OUString& rControlName ) { const OUString sEnabled( "Enabled" ); @@ -333,7 +315,6 @@ void UnoDialog::enableControl( const OUString& rControlName ) } - void UnoDialog::disableControl( const OUString& rControlName ) { const OUString sEnabled( "Enabled" ); @@ -341,5 +322,4 @@ void UnoDialog::disableControl( const OUString& rControlName ) } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx index efeda5cd6ec0..0d8cfba3a6cc 100644 --- a/sdext/source/minimizer/unodialog.hxx +++ b/sdext/source/minimizer/unodialog.hxx @@ -50,10 +50,6 @@ #include <com/sun/star/awt/Size.hpp> - - - - class UnoDialog { public: diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx index bfdf33df06af..1aa752673328 100644 --- a/sdext/source/pdfimport/filterdet.cxx +++ b/sdext/source/pdfimport/filterdet.cxx @@ -181,9 +181,6 @@ unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned } - - - PDFDetector::PDFDetector( const uno::Reference< uno::XComponentContext >& xContext) : PDFDetectorBase( m_aMutex ), m_xContext( xContext ) diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 7ccd8e253ada..6ef4462592ed 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -35,7 +35,6 @@ #include <string.h> - namespace pdfparse { diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx index 46ed9b460a98..8a68dc82850e 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx @@ -383,7 +383,6 @@ void DrawXmlEmitter::visit( DocumentElement& elem, const std::list< Element* >:: } - void DrawXmlOptimizer::visit( HyperlinkElement&, const std::list< Element* >::const_iterator& ) { } diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx index 5cf415624a12..36335e779a1a 100644 --- a/sdext/source/pdfimport/tree/writertreevisiting.cxx +++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx @@ -341,7 +341,6 @@ void WriterXmlEmitter::visit( DocumentElement& elem, const std::list< Element* > } - void WriterXmlOptimizer::visit( HyperlinkElement&, const std::list< Element* >::const_iterator& ) { } @@ -837,8 +836,6 @@ void WriterXmlOptimizer::visit( DocumentElement& elem, const std::list< Element* } - - void WriterXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& ) { // xxx TODO copied from DrawElement diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index a2a845495c1a..ea44e1b008ca 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -444,8 +444,6 @@ inline void writeMaskLF( OutputBuffer& o_rOutputBuf, bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,true,bInvert); } - - int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state ) const { FontAttributes aNewFont; diff --git a/sdext/source/presenter/PresenterButton.cxx b/sdext/source/presenter/PresenterButton.cxx index 28e2fa9eda3c..65c05c57cc38 100644 --- a/sdext/source/presenter/PresenterButton.cxx +++ b/sdext/source/presenter/PresenterButton.cxx @@ -362,7 +362,6 @@ void SAL_CALL PresenterButton::disposing (const css::lang::EventObject& rEvent) } - css::geometry::IntegerSize2D PresenterButton::CalculateButtonSize() { if (mpFont.get()!=nullptr && !mpFont->mxFont.is() && mxCanvas.is()) diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index 597c94a65d0b..79e4d020c31a 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -1102,7 +1102,6 @@ void SAL_CALL PresenterController::mouseDragged (const css::awt::MouseEvent& rEv } - void PresenterController::InitializeMainPane (const Reference<XPane>& rxPane) { if ( ! rxPane.is()) diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx index 6631cf017107..d1add25cd397 100644 --- a/sdext/source/presenter/PresenterHelpView.cxx +++ b/sdext/source/presenter/PresenterHelpView.cxx @@ -463,7 +463,6 @@ sal_Bool SAL_CALL PresenterHelpView::isAnchorOnly() } - void PresenterHelpView::ProvideCanvas() { if ( ! mxCanvas.is() && mxPane.is()) diff --git a/sdext/source/presenter/PresenterNotesView.cxx b/sdext/source/presenter/PresenterNotesView.cxx index 6bcfc1317f16..791c55bca828 100644 --- a/sdext/source/presenter/PresenterNotesView.cxx +++ b/sdext/source/presenter/PresenterNotesView.cxx @@ -421,7 +421,6 @@ void SAL_CALL PresenterNotesView::keyReleased (const awt::KeyEvent& rEvent) } - void PresenterNotesView::Layout() { if ( ! mxParentWindow.is()) diff --git a/sdext/source/presenter/PresenterPane.cxx b/sdext/source/presenter/PresenterPane.cxx index 79f53a97e1df..de2dfce53b55 100644 --- a/sdext/source/presenter/PresenterPane.cxx +++ b/sdext/source/presenter/PresenterPane.cxx @@ -140,7 +140,6 @@ void SAL_CALL PresenterPane::windowPaint (const awt::PaintEvent& rEvent) } - void PresenterPane::CreateCanvases ( const Reference<awt::XWindow>& rxParentWindow, const Reference<rendering::XSpriteCanvas>& rxParentCanvas) diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx index f698dd9175b1..7ca117265f01 100644 --- a/sdext/source/presenter/PresenterPaneBase.cxx +++ b/sdext/source/presenter/PresenterPaneBase.cxx @@ -315,7 +315,6 @@ void SAL_CALL PresenterPaneBase::disposing (const lang::EventObject& rEvent) } - void PresenterPaneBase::CreateWindows ( const Reference<awt::XWindow>& rxParentWindow, const bool bIsWindowVisibleOnCreation) diff --git a/sdext/source/presenter/PresenterPaneBorderManager.cxx b/sdext/source/presenter/PresenterPaneBorderManager.cxx index 414971758c29..acfba8a4f7ae 100644 --- a/sdext/source/presenter/PresenterPaneBorderManager.cxx +++ b/sdext/source/presenter/PresenterPaneBorderManager.cxx @@ -477,7 +477,6 @@ void SAL_CALL PresenterPaneBorderManager::disposing (const lang::EventObject& rE } - void PresenterPaneBorderManager::CaptureMouse (const Reference<awt::XWindow>& rxWindow) { if (mxPresenterHelper.is()) diff --git a/sdext/source/presenter/PresenterPaneBorderPainter.cxx b/sdext/source/presenter/PresenterPaneBorderPainter.cxx index 07bbc49e9b3e..dea2b2be76cd 100644 --- a/sdext/source/presenter/PresenterPaneBorderPainter.cxx +++ b/sdext/source/presenter/PresenterPaneBorderPainter.cxx @@ -292,7 +292,6 @@ awt::Point SAL_CALL PresenterPaneBorderPainter::getCalloutOffset ( } - bool PresenterPaneBorderPainter::ProvideTheme (const Reference<rendering::XCanvas>& rxCanvas) { bool bModified (false); diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx index 6655e15f9c5f..5167a9d748c4 100644 --- a/sdext/source/presenter/PresenterPaneFactory.cxx +++ b/sdext/source/presenter/PresenterPaneFactory.cxx @@ -217,7 +217,6 @@ void SAL_CALL PresenterPaneFactory::releaseResource (const Reference<XResource>& } - Reference<XResource> PresenterPaneFactory::CreatePane ( const Reference<XResourceId>& rxPaneId, const OUString& rsTitle) diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 8cedd7475c75..4e273a4491e0 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -353,7 +353,6 @@ Sequence<Reference<frame::XDispatch> > SAL_CALL PresenterProtocolHandler::queryD } - void PresenterProtocolHandler::ThrowIfDisposed() const throw (css::lang::DisposedException) { diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx index 86dcec128048..5b9d9a4a21fa 100644 --- a/sdext/source/presenter/PresenterScreen.cxx +++ b/sdext/source/presenter/PresenterScreen.cxx @@ -327,7 +327,6 @@ void SAL_CALL PresenterScreen::disposing (const lang::EventObject& /*rEvent*/) } - void PresenterScreen::InitializePresenterScreen() { try diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx index 0c7eb2b43827..d848b1a4b2b8 100644 --- a/sdext/source/presenter/PresenterScrollBar.cxx +++ b/sdext/source/presenter/PresenterScrollBar.cxx @@ -462,7 +462,6 @@ void SAL_CALL PresenterScrollBar::disposing (const css::lang::EventObject& rEven } - geometry::RealRectangle2D PresenterScrollBar::GetRectangle (const Area eArea) const { OSL_ASSERT(eArea>=0 && eArea<__AreaCount__); diff --git a/sdext/source/presenter/PresenterSlidePreview.cxx b/sdext/source/presenter/PresenterSlidePreview.cxx index 21e1da86ae95..be164061fba3 100644 --- a/sdext/source/presenter/PresenterSlidePreview.cxx +++ b/sdext/source/presenter/PresenterSlidePreview.cxx @@ -216,7 +216,6 @@ Reference<drawing::XDrawPage> SAL_CALL PresenterSlidePreview::getCurrentPage() } - void PresenterSlidePreview::SetSlide (const Reference<drawing::XDrawPage>& rxPage) { mxCurrentSlide = rxPage; diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx index 8ea2068f8fe3..09882941553b 100644 --- a/sdext/source/presenter/PresenterSlideShowView.cxx +++ b/sdext/source/presenter/PresenterSlideShowView.cxx @@ -687,7 +687,6 @@ void PresenterSlideShowView::DeactivatePresenterView() } - void PresenterSlideShowView::PaintOuterWindow (const awt::Rectangle& rRepaintBox) { if ( ! mxCanvas.is()) diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index 1df8d94b322b..70f53b67e8f8 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -681,7 +681,6 @@ Reference<drawing::XDrawPage> SAL_CALL PresenterSlideSorter::getCurrentPage() } - void PresenterSlideSorter::UpdateLayout() { if ( ! mxWindow.is()) diff --git a/sdext/source/presenter/PresenterSpritePane.cxx b/sdext/source/presenter/PresenterSpritePane.cxx index ba43585dca9f..9c4161ccc2a0 100644 --- a/sdext/source/presenter/PresenterSpritePane.cxx +++ b/sdext/source/presenter/PresenterSpritePane.cxx @@ -147,7 +147,6 @@ void SAL_CALL PresenterSpritePane::windowPaint (const awt::PaintEvent& rEvent) } - std::shared_ptr<PresenterSprite> PresenterSpritePane::GetSprite() { return mpSprite; diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index 9038a974b395..5a8a8aaa0768 100644 --- a/sdext/source/presenter/PresenterTextView.cxx +++ b/sdext/source/presenter/PresenterTextView.cxx @@ -1126,7 +1126,6 @@ void PresenterTextCaret::HideCaret() } - void PresenterTextCaret::SetPosition ( const sal_Int32 nParagraphIndex, const sal_Int32 nCharacterIndex) diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index e3835e325898..bbd179fd461b 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -622,7 +622,6 @@ Reference<drawing::XDrawPage> SAL_CALL PresenterToolBar::getCurrentPage() } - void PresenterToolBar::CreateControls ( const OUString& rsConfigurationPath) { diff --git a/sdext/source/presenter/PresenterViewFactory.cxx b/sdext/source/presenter/PresenterViewFactory.cxx index 101a03b7b641..75a86f7ab8cc 100644 --- a/sdext/source/presenter/PresenterViewFactory.cxx +++ b/sdext/source/presenter/PresenterViewFactory.cxx @@ -287,7 +287,6 @@ void SAL_CALL PresenterViewFactory::releaseResource (const Reference<XResource>& } - Reference<XResource> PresenterViewFactory::GetViewFromCache( const Reference<XResourceId>& rxViewId, const Reference<XPane>& rxAnchorPane) const diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index bca2de7419fa..349928ef5f96 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -370,7 +370,6 @@ void SAL_CALL PresenterWindowManager::disposing (const lang::EventObject& rEvent } - bool PresenterWindowManager::PaintChildren (const awt::PaintEvent& rEvent) const { bool bChildInvalidated (false); @@ -784,7 +783,6 @@ void PresenterWindowManager::LayoutNotesMode() } - } void PresenterWindowManager::LayoutSlideSorterMode() |