Remove visual noise from sdext

Change-Id: I792249b9e92db9af4daee0bd835e04044d29bca5
Reviewed-on: https://gerrit.libreoffice.org/8308
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Alexander Wilms 2014-02-25 20:30:17 +01:00 committed by Caolán McNamara
parent d023b7f7d7
commit e6bd9d718d
12 changed files with 46 additions and 46 deletions

View File

@ -69,7 +69,7 @@ class GraphicCollector
struct GraphicEntity struct GraphicEntity
{ {
com::sun::star::awt::Size maLogicalSize; // the biggest logical size the graphic will be displayed com::sun::star::awt::Size maLogicalSize; // the biggest logical size the graphic will be displayed
sal_Bool mbRemoveCropArea; // sal_Bool mbRemoveCropArea;
com::sun::star::text::GraphicCrop maGraphicCropLogic; com::sun::star::text::GraphicCrop maGraphicCropLogic;
std::vector< GraphicUser > maUser; std::vector< GraphicUser > maUser;
@ -89,9 +89,9 @@ class GraphicCollector
const GraphicSettings& rGraphicSettings, sal_Int32& rGraphics ); const GraphicSettings& rGraphicSettings, sal_Int32& rGraphics );
}; };
// --------------------
// - GRAPHICCOLLECTOR - // - GRAPHICCOLLECTOR -
// --------------------
#endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_GRAPHICCOLLECTOR_HXX #endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_GRAPHICCOLLECTOR_HXX

View File

@ -481,9 +481,9 @@ void CompressGraphics( ImpOptimizer& rOptimizer, const Reference< XComponentCont
} }
} }
// ----------------
// - ImpOptimizer - // - ImpOptimizer -
// ----------------
ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, const Reference< XModel >& rxModel ) : ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, const Reference< XModel >& rxModel ) :
mxContext ( rxContext ), mxContext ( rxContext ),
@ -502,13 +502,13 @@ ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, con
{ {
} }
// -----------------------------------------------------------------------------
ImpOptimizer::~ImpOptimizer() ImpOptimizer::~ImpOptimizer()
{ {
} }
// -----------------------------------------------------------------------------
void ImpOptimizer::DispatchStatus() void ImpOptimizer::DispatchStatus()
{ {
@ -521,7 +521,7 @@ void ImpOptimizer::DispatchStatus()
} }
} }
// -----------------------------------------------------------------------------
sal_Bool ImpOptimizer::Optimize() sal_Bool ImpOptimizer::Optimize()
{ {
@ -595,7 +595,7 @@ static void DispatchURL( Reference< XComponentContext > xContext, OUString sURL,
} }
} }
// -----------------------------------------------------------------------------
sal_Bool ImpOptimizer::Optimize( const Sequence< PropertyValue >& rArguments ) sal_Bool ImpOptimizer::Optimize( const Sequence< PropertyValue >& rArguments )
{ {

View File

@ -30,9 +30,9 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
// -------------
// - PDFExport - // - PDFExport -
// -------------
class ImpOptimizer : public OptimizationStats class ImpOptimizer : public OptimizationStats
{ {

View File

@ -38,9 +38,9 @@
#include <com/sun/star/awt/PushButtonType.hpp> #include <com/sun/star/awt/PushButtonType.hpp>
#include <com/sun/star/io/XStream.hpp> #include <com/sun/star/io/XStream.hpp>
// ---------------------
// - InformationDialog - // - InformationDialog -
// ---------------------
class InformationDialog : public UnoDialog, public ConfigurationAccess class InformationDialog : public UnoDialog, public ConfigurationAccess
{ {
public : public :

View File

@ -54,9 +54,9 @@
#define PAGE_POS_Y 8 #define PAGE_POS_Y 8
#define PAGE_WIDTH OD_DIALOG_WIDTH - PAGE_POS_X #define PAGE_WIDTH OD_DIALOG_WIDTH - PAGE_POS_X
// -------------------
// - OPTIMIZERDIALOG - // - OPTIMIZERDIALOG -
// -------------------
class OptimizerDialog : public UnoDialog, public ConfigurationAccess class OptimizerDialog : public UnoDialog, public ConfigurationAccess
{ {
public : public :
@ -127,7 +127,7 @@ public :
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& GetComponentContext() { return mxContext; }; const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& GetComponentContext() { return mxContext; };
}; };
// -----------------------------------------------------------------------------
class ItemListener : public ::cppu::WeakImplHelper1< com::sun::star::awt::XItemListener > class ItemListener : public ::cppu::WeakImplHelper1< com::sun::star::awt::XItemListener >
{ {
@ -141,7 +141,7 @@ private:
OptimizerDialog& mrOptimizerDialog; OptimizerDialog& mrOptimizerDialog;
}; };
// -----------------------------------------------------------------------------
class ActionListener : public ::cppu::WeakImplHelper1< com::sun::star::awt::XActionListener > class ActionListener : public ::cppu::WeakImplHelper1< com::sun::star::awt::XActionListener >
{ {
@ -155,7 +155,7 @@ private:
OptimizerDialog& mrOptimizerDialog; OptimizerDialog& mrOptimizerDialog;
}; };
// -----------------------------------------------------------------------------
class ActionListenerListBox0Pg0 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XActionListener > class ActionListenerListBox0Pg0 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XActionListener >
{ {
@ -169,7 +169,7 @@ private:
OptimizerDialog& mrOptimizerDialog; OptimizerDialog& mrOptimizerDialog;
}; };
// -----------------------------------------------------------------------------
class TextListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XTextListener > class TextListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XTextListener >
{ {
@ -183,7 +183,7 @@ private:
OptimizerDialog& mrOptimizerDialog; OptimizerDialog& mrOptimizerDialog;
}; };
// -----------------------------------------------------------------------------
class TextListenerComboBox0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XTextListener > class TextListenerComboBox0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XTextListener >
{ {
@ -197,7 +197,7 @@ private:
OptimizerDialog& mrOptimizerDialog; OptimizerDialog& mrOptimizerDialog;
}; };
// -----------------------------------------------------------------------------
class SpinListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XSpinListener > class SpinListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XSpinListener >
{ {
@ -214,7 +214,7 @@ private:
OptimizerDialog& mrOptimizerDialog; OptimizerDialog& mrOptimizerDialog;
}; };
// -----------------------------------------------------------------------------
class HelpCloseListener : public ::cppu::WeakImplHelper1< com::sun::star::util::XCloseListener > class HelpCloseListener : public ::cppu::WeakImplHelper1< com::sun::star::util::XCloseListener >
{ {

View File

@ -29,9 +29,9 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame; using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::beans; using namespace ::com::sun::star::beans;
// ----------------
// - PPPOptimizer - // - PPPOptimizer -
// ----------------
PPPOptimizer::PPPOptimizer( PPPOptimizer::PPPOptimizer(
css::uno::Reference<css::uno::XComponentContext> const & xContext, css::uno::Reference<css::uno::XComponentContext> const & xContext,
@ -41,15 +41,15 @@ PPPOptimizer::PPPOptimizer(
{ {
} }
// -----------------------------------------------------------------------------
PPPOptimizer::~PPPOptimizer() PPPOptimizer::~PPPOptimizer()
{ {
} }
// -----------------------------------------------------------------------------
// XDispatchProvider // XDispatchProvider
// -----------------------------------------------------------------------------
Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispatch( Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispatch(
const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException ) const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException )
@ -78,9 +78,9 @@ Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizer:
return aReturn; return aReturn;
} }
// -----------------------------------------------------------------------------
// XDispatch // XDispatch
// -----------------------------------------------------------------------------
void SAL_CALL PPPOptimizer::dispatch( const URL& rURL, const Sequence< PropertyValue >& lArguments ) void SAL_CALL PPPOptimizer::dispatch( const URL& rURL, const Sequence< PropertyValue >& lArguments )
throw( RuntimeException ) throw( RuntimeException )
@ -105,7 +105,7 @@ void SAL_CALL PPPOptimizer::dispatch( const URL& rURL, const Sequence< PropertyV
} }
} }
//===============================================
void SAL_CALL PPPOptimizer::addStatusListener( const Reference< XStatusListener >&, const URL& ) void SAL_CALL PPPOptimizer::addStatusListener( const Reference< XStatusListener >&, const URL& )
throw( RuntimeException ) throw( RuntimeException )
{ {
@ -113,7 +113,7 @@ void SAL_CALL PPPOptimizer::addStatusListener( const Reference< XStatusListener
OSL_FAIL( "PPPOptimizer::addStatusListener()\nNot implemented yet!" ); OSL_FAIL( "PPPOptimizer::addStatusListener()\nNot implemented yet!" );
} }
//===============================================
void SAL_CALL PPPOptimizer::removeStatusListener( const Reference< XStatusListener >&, const URL& ) void SAL_CALL PPPOptimizer::removeStatusListener( const Reference< XStatusListener >&, const URL& )
throw( RuntimeException ) throw( RuntimeException )
{ {
@ -121,7 +121,7 @@ void SAL_CALL PPPOptimizer::removeStatusListener( const Reference< XStatusListen
OSL_FAIL( "PPPOptimizer::removeStatusListener()\nNot implemented yet!" ); OSL_FAIL( "PPPOptimizer::removeStatusListener()\nNot implemented yet!" );
} }
// -----------------------------------------------------------------------------
// returning filesize, on error zero is returned // returning filesize, on error zero is returned
sal_Int64 PPPOptimizer::GetFileSize( const OUString& rURL ) sal_Int64 PPPOptimizer::GetFileSize( const OUString& rURL )
{ {

View File

@ -27,9 +27,9 @@
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XController.hpp> #include <com/sun/star/frame/XController.hpp>
// ----------------
// - PPPOptimizer - // - PPPOptimizer -
// ----------------
class PPPOptimizer : public cppu::WeakImplHelper2< class PPPOptimizer : public cppu::WeakImplHelper2<
com::sun::star::frame::XDispatchProvider, com::sun::star::frame::XDispatchProvider,

View File

@ -34,9 +34,9 @@
#include <com/sun/star/frame/XDispatchProvider.hpp> #include <com/sun/star/frame/XDispatchProvider.hpp>
#include <cppuhelper/implbase4.hxx> #include <cppuhelper/implbase4.hxx>
// ----------------------
// - PPPOptimizerDialog - // - PPPOptimizerDialog -
// ----------------------
class OptimizerDialog; class OptimizerDialog;
class PPPOptimizerDialog : public ::cppu::WeakImplHelper4< class PPPOptimizerDialog : public ::cppu::WeakImplHelper4<
@ -96,7 +96,7 @@ com::sun::star::uno::Sequence< OUString > PPPOptimizerDialog_getSupportedService
com::sun::star::uno::Reference< com::sun::star::uno::XInterface > PPPOptimizerDialog_createInstance( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rSMgr ) com::sun::star::uno::Reference< com::sun::star::uno::XInterface > PPPOptimizerDialog_createInstance( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rSMgr )
throw( com::sun::star::uno::Exception ); throw( com::sun::star::uno::Exception );
// -----------------------------------------------------------------------------
#endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_PPPOPTIMIZERDIALOG_HXX #endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_PPPOPTIMIZERDIALOG_HXX

View File

@ -52,11 +52,11 @@
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase3.hxx>
// -------------
// - UnoDialog -
// -------------
//////////////////////////////////////////////////////////////////////// // - UnoDialog -
class UnoDialog class UnoDialog
{ {

View File

@ -180,7 +180,7 @@ unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned
} }
////////////////////////////////////////////////////////////////////////////////
PDFDetector::PDFDetector( const uno::Reference< uno::XComponentContext >& xContext) : PDFDetector::PDFDetector( const uno::Reference< uno::XComponentContext >& xContext) :

View File

@ -390,7 +390,7 @@ void DrawXmlEmitter::visit( DocumentElement& elem, const std::list< Element* >::
m_rEmitContext.rEmitter.endTag( "office:body" ); m_rEmitContext.rEmitter.endTag( "office:body" );
} }
/////////////////////////////////////////////////////////////////
void DrawXmlOptimizer::visit( HyperlinkElement&, const std::list< Element* >::const_iterator& ) void DrawXmlOptimizer::visit( HyperlinkElement&, const std::list< Element* >::const_iterator& )
{ {
@ -765,7 +765,7 @@ void DrawXmlOptimizer::visit( DocumentElement& elem, const std::list< Element* >
elem.applyToChildren(*this); elem.applyToChildren(*this);
} }
//////////////////////////////////////////////////////////////////////////////////
void DrawXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& ) void DrawXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& )

View File

@ -337,7 +337,7 @@ void WriterXmlEmitter::visit( DocumentElement& elem, const std::list< Element* >
m_rEmitContext.rEmitter.endTag( "office:body" ); m_rEmitContext.rEmitter.endTag( "office:body" );
} }
/////////////////////////////////////////////////////////////////
void WriterXmlOptimizer::visit( HyperlinkElement&, const std::list< Element* >::const_iterator& ) void WriterXmlOptimizer::visit( HyperlinkElement&, const std::list< Element* >::const_iterator& )
{ {
@ -831,7 +831,7 @@ void WriterXmlOptimizer::visit( DocumentElement& elem, const std::list< Element*
elem.applyToChildren(*this); elem.applyToChildren(*this);
} }
//////////////////////////////////////////////////////////////////////////////////
void WriterXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& ) void WriterXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& )