summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 20:30:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 08:19:03 -0600
commite6bd9d718d9962bbb88428a31173fa607f46d45c (patch)
treeca3316f3740bf19327ad7cbc1a476d135bfea847 /sdext
parentd023b7f7d7fc7e8f91b779f4f2dcb919cf38b82a (diff)
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>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/graphiccollector.hxx6
-rw-r--r--sdext/source/minimizer/impoptimizer.cxx12
-rw-r--r--sdext/source/minimizer/impoptimizer.hxx4
-rw-r--r--sdext/source/minimizer/informationdialog.hxx4
-rw-r--r--sdext/source/minimizer/optimizerdialog.hxx18
-rw-r--r--sdext/source/minimizer/pppoptimizer.cxx20
-rw-r--r--sdext/source/minimizer/pppoptimizer.hxx4
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.hxx6
-rw-r--r--sdext/source/minimizer/unodialog.hxx6
-rw-r--r--sdext/source/pdfimport/filterdet.cxx2
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx4
-rw-r--r--sdext/source/pdfimport/tree/writertreevisiting.cxx4
12 files changed, 45 insertions, 45 deletions
diff --git a/sdext/source/minimizer/graphiccollector.hxx b/sdext/source/minimizer/graphiccollector.hxx
index 3cc0b7d7db7e..d1d37a3b96a6 100644
--- a/sdext/source/minimizer/graphiccollector.hxx
+++ b/sdext/source/minimizer/graphiccollector.hxx
@@ -69,7 +69,7 @@ class GraphicCollector
struct GraphicEntity
{
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;
std::vector< GraphicUser > maUser;
@@ -89,9 +89,9 @@ class GraphicCollector
const GraphicSettings& rGraphicSettings, sal_Int32& rGraphics );
};
-// --------------------
+
// - GRAPHICCOLLECTOR -
-// --------------------
+
#endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_GRAPHICCOLLECTOR_HXX
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx
index f19133ccce67..c2eceef564eb 100644
--- a/sdext/source/minimizer/impoptimizer.cxx
+++ b/sdext/source/minimizer/impoptimizer.cxx
@@ -481,9 +481,9 @@ void CompressGraphics( ImpOptimizer& rOptimizer, const Reference< XComponentCont
}
}
-// ----------------
+
// - ImpOptimizer -
-// ----------------
+
ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, const Reference< XModel >& rxModel ) :
mxContext ( rxContext ),
@@ -502,13 +502,13 @@ ImpOptimizer::ImpOptimizer( const Reference< XComponentContext >& rxContext, con
{
}
-// -----------------------------------------------------------------------------
+
ImpOptimizer::~ImpOptimizer()
{
}
-// -----------------------------------------------------------------------------
+
void ImpOptimizer::DispatchStatus()
{
@@ -521,7 +521,7 @@ void ImpOptimizer::DispatchStatus()
}
}
-// -----------------------------------------------------------------------------
+
sal_Bool ImpOptimizer::Optimize()
{
@@ -595,7 +595,7 @@ static void DispatchURL( Reference< XComponentContext > xContext, OUString sURL,
}
}
-// -----------------------------------------------------------------------------
+
sal_Bool ImpOptimizer::Optimize( const Sequence< PropertyValue >& rArguments )
{
diff --git a/sdext/source/minimizer/impoptimizer.hxx b/sdext/source/minimizer/impoptimizer.hxx
index 5ad7ac825838..ca0689f210ae 100644
--- a/sdext/source/minimizer/impoptimizer.hxx
+++ b/sdext/source/minimizer/impoptimizer.hxx
@@ -30,9 +30,9 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-// -------------
+
// - PDFExport -
-// -------------
+
class ImpOptimizer : public OptimizationStats
{
diff --git a/sdext/source/minimizer/informationdialog.hxx b/sdext/source/minimizer/informationdialog.hxx
index d538c4e65026..cba2be5080a4 100644
--- a/sdext/source/minimizer/informationdialog.hxx
+++ b/sdext/source/minimizer/informationdialog.hxx
@@ -38,9 +38,9 @@
#include <com/sun/star/awt/PushButtonType.hpp>
#include <com/sun/star/io/XStream.hpp>
-// ---------------------
+
// - InformationDialog -
-// ---------------------
+
class InformationDialog : public UnoDialog, public ConfigurationAccess
{
public :
diff --git a/sdext/source/minimizer/optimizerdialog.hxx b/sdext/source/minimizer/optimizerdialog.hxx
index 7607e156b170..3ccce0b3759b 100644
--- a/sdext/source/minimizer/optimizerdialog.hxx
+++ b/sdext/source/minimizer/optimizerdialog.hxx
@@ -54,9 +54,9 @@
#define PAGE_POS_Y 8
#define PAGE_WIDTH OD_DIALOG_WIDTH - PAGE_POS_X
-// -------------------
+
// - OPTIMIZERDIALOG -
-// -------------------
+
class OptimizerDialog : public UnoDialog, public ConfigurationAccess
{
public :
@@ -127,7 +127,7 @@ public :
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& GetComponentContext() { return mxContext; };
};
-// -----------------------------------------------------------------------------
+
class ItemListener : public ::cppu::WeakImplHelper1< com::sun::star::awt::XItemListener >
{
@@ -141,7 +141,7 @@ private:
OptimizerDialog& mrOptimizerDialog;
};
-// -----------------------------------------------------------------------------
+
class ActionListener : public ::cppu::WeakImplHelper1< com::sun::star::awt::XActionListener >
{
@@ -155,7 +155,7 @@ private:
OptimizerDialog& mrOptimizerDialog;
};
-// -----------------------------------------------------------------------------
+
class ActionListenerListBox0Pg0 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XActionListener >
{
@@ -169,7 +169,7 @@ private:
OptimizerDialog& mrOptimizerDialog;
};
-// -----------------------------------------------------------------------------
+
class TextListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XTextListener >
{
@@ -183,7 +183,7 @@ private:
OptimizerDialog& mrOptimizerDialog;
};
-// -----------------------------------------------------------------------------
+
class TextListenerComboBox0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XTextListener >
{
@@ -197,7 +197,7 @@ private:
OptimizerDialog& mrOptimizerDialog;
};
-// -----------------------------------------------------------------------------
+
class SpinListenerFormattedField0Pg1 : public ::cppu::WeakImplHelper1< com::sun::star::awt::XSpinListener >
{
@@ -214,7 +214,7 @@ private:
OptimizerDialog& mrOptimizerDialog;
};
-// -----------------------------------------------------------------------------
+
class HelpCloseListener : public ::cppu::WeakImplHelper1< com::sun::star::util::XCloseListener >
{
diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx
index e0dc626c7630..0a88b4728792 100644
--- a/sdext/source/minimizer/pppoptimizer.cxx
+++ b/sdext/source/minimizer/pppoptimizer.cxx
@@ -29,9 +29,9 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::beans;
-// ----------------
+
// - PPPOptimizer -
-// ----------------
+
PPPOptimizer::PPPOptimizer(
css::uno::Reference<css::uno::XComponentContext> const & xContext,
@@ -41,15 +41,15 @@ PPPOptimizer::PPPOptimizer(
{
}
-// -----------------------------------------------------------------------------
+
PPPOptimizer::~PPPOptimizer()
{
}
-// -----------------------------------------------------------------------------
+
// XDispatchProvider
-// -----------------------------------------------------------------------------
+
Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispatch(
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;
}
-// -----------------------------------------------------------------------------
+
// XDispatch
-// -----------------------------------------------------------------------------
+
void SAL_CALL PPPOptimizer::dispatch( const URL& rURL, const Sequence< PropertyValue >& lArguments )
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& )
throw( RuntimeException )
{
@@ -113,7 +113,7 @@ void SAL_CALL PPPOptimizer::addStatusListener( const Reference< XStatusListener
OSL_FAIL( "PPPOptimizer::addStatusListener()\nNot implemented yet!" );
}
-//===============================================
+
void SAL_CALL PPPOptimizer::removeStatusListener( const Reference< XStatusListener >&, const URL& )
throw( RuntimeException )
{
@@ -121,7 +121,7 @@ void SAL_CALL PPPOptimizer::removeStatusListener( const Reference< XStatusListen
OSL_FAIL( "PPPOptimizer::removeStatusListener()\nNot implemented yet!" );
}
-// -----------------------------------------------------------------------------
+
// returning filesize, on error zero is returned
sal_Int64 PPPOptimizer::GetFileSize( const OUString& rURL )
{
diff --git a/sdext/source/minimizer/pppoptimizer.hxx b/sdext/source/minimizer/pppoptimizer.hxx
index 4a7aedfd67d1..4f0de1fb411f 100644
--- a/sdext/source/minimizer/pppoptimizer.hxx
+++ b/sdext/source/minimizer/pppoptimizer.hxx
@@ -27,9 +27,9 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/XController.hpp>
-// ----------------
+
// - PPPOptimizer -
-// ----------------
+
class PPPOptimizer : public cppu::WeakImplHelper2<
com::sun::star::frame::XDispatchProvider,
diff --git a/sdext/source/minimizer/pppoptimizerdialog.hxx b/sdext/source/minimizer/pppoptimizerdialog.hxx
index 0ca880228a23..5aaa4c4d1e55 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.hxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.hxx
@@ -34,9 +34,9 @@
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <cppuhelper/implbase4.hxx>
-// ----------------------
+
// - PPPOptimizerDialog -
-// ----------------------
+
class OptimizerDialog;
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 )
throw( com::sun::star::uno::Exception );
-// -----------------------------------------------------------------------------
+
#endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_PPPOPTIMIZERDIALOG_HXX
diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx
index 0c1e5b64ac6c..34467ec6c356 100644
--- a/sdext/source/minimizer/unodialog.hxx
+++ b/sdext/source/minimizer/unodialog.hxx
@@ -52,11 +52,11 @@
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx>
-// -------------
+
// - UnoDialog -
-// -------------
-////////////////////////////////////////////////////////////////////////
+
+
class UnoDialog
{
diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx
index 1327d3e61f30..b069157016c1 100644
--- a/sdext/source/pdfimport/filterdet.cxx
+++ b/sdext/source/pdfimport/filterdet.cxx
@@ -180,7 +180,7 @@ unsigned int FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned
}
-////////////////////////////////////////////////////////////////////////////////
+
PDFDetector::PDFDetector( const uno::Reference< uno::XComponentContext >& xContext) :
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index bd44686270ac..bd8e6181acb9 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -390,7 +390,7 @@ void DrawXmlEmitter::visit( DocumentElement& elem, const std::list< Element* >::
m_rEmitContext.rEmitter.endTag( "office:body" );
}
-/////////////////////////////////////////////////////////////////
+
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);
}
-//////////////////////////////////////////////////////////////////////////////////
+
void DrawXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& )
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index ac5450b98074..707caf8cc1a7 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -337,7 +337,7 @@ void WriterXmlEmitter::visit( DocumentElement& elem, const std::list< Element* >
m_rEmitContext.rEmitter.endTag( "office:body" );
}
-/////////////////////////////////////////////////////////////////
+
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);
}
-//////////////////////////////////////////////////////////////////////////////////
+
void WriterXmlFinalizer::visit( PolyPolyElement& elem, const std::list< Element* >::const_iterator& )