summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 18:36:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-27 07:34:29 -0600
commit15246c959ae5ab4e124859a4d8981676f9eb657f (patch)
tree87813888699be2b850201725c45564c8c6423262 /extensions/source/bibliography
parent710178094dfb21b0864335b1fa1a3401e4d82959 (diff)
Remove visual noise from extensions
Change-Id: I0397d0d0e5343b7ed192a790664b068ac6955bd3 Reviewed-on: https://gerrit.libreoffice.org/8259 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r--extensions/source/bibliography/bibbeam.hxx8
-rw-r--r--extensions/source/bibliography/bibconfig.hxx10
-rw-r--r--extensions/source/bibliography/bibresid.hxx2
-rw-r--r--extensions/source/bibliography/bibview.cxx8
-rw-r--r--extensions/source/bibliography/bibview.hxx10
-rw-r--r--extensions/source/bibliography/datman.hxx2
-rw-r--r--extensions/source/bibliography/formcontrolcontainer.cxx12
-rw-r--r--extensions/source/bibliography/formcontrolcontainer.hxx12
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.cxx20
-rw-r--r--extensions/source/bibliography/loadlisteneradapter.hxx24
10 files changed, 54 insertions, 54 deletions
diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx
index 616680e9bc43..06b62eeb8006 100644
--- a/extensions/source/bibliography/bibbeam.hxx
+++ b/extensions/source/bibliography/bibbeam.hxx
@@ -34,10 +34,10 @@
class BibDataManager;
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
class BibGridwin;
class BibBeamer
@@ -78,9 +78,9 @@ namespace bib
virtual void GetFocus();
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif
diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx
index fb17abdcf3a0..fc1fb965d106 100644
--- a/extensions/source/bibliography/bibconfig.hxx
+++ b/extensions/source/bibliography/bibconfig.hxx
@@ -27,7 +27,7 @@ struct Mapping;
typedef boost::ptr_vector<Mapping> MappingArray;
-//-----------------------------------------------------------------------------
+
#define COLUMN_COUNT 31
#define IDENTIFIER_POS 0
#define AUTHORITYTYPE_POS 1
@@ -60,13 +60,13 @@ typedef boost::ptr_vector<Mapping> MappingArray;
#define CUSTOM3_POS 28
#define CUSTOM4_POS 29
#define CUSTOM5_POS 30
-//-----------------------------------------------------------------------------
+
struct StringPair
{
OUString sRealColumnName;
OUString sLogicalColumnName;
};
-//-----------------------------------------------------------------------------
+
struct Mapping
{
OUString sTableName;
@@ -77,14 +77,14 @@ struct Mapping
Mapping() :
nCommandType(0){}
};
-//-----------------------------------------------------------------------------
+
struct BibDBDescriptor
{
OUString sDataSource;
OUString sTableOrQuery;
sal_Int32 nCommandType;
};
-//-----------------------------------------------------------------------------
+
class BibConfig : public utl::ConfigItem
{
diff --git a/extensions/source/bibliography/bibresid.hxx b/extensions/source/bibliography/bibresid.hxx
index daa100db103b..3ba9dbdd083f 100644
--- a/extensions/source/bibliography/bibresid.hxx
+++ b/extensions/source/bibliography/bibresid.hxx
@@ -22,7 +22,7 @@
#include <tools/resid.hxx>
-//===================================================================
+
class BibResId : public ResId
{
diff --git a/extensions/source/bibliography/bibview.cxx b/extensions/source/bibliography/bibview.cxx
index 82cf14141c66..9ecf8807b84d 100644
--- a/extensions/source/bibliography/bibview.cxx
+++ b/extensions/source/bibliography/bibview.cxx
@@ -42,10 +42,10 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
BibView::BibView( Window* _pParent, BibDataManager* _pManager, WinBits _nStyle )
@@ -199,8 +199,8 @@ namespace bib
return m_pGeneralPage? m_pGeneralPage->HandleShortCutKey( rKeyEvent ) : sal_False;
}
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx
index cc3d0332e9e4..80f0949abfad 100644
--- a/extensions/source/bibliography/bibview.hxx
+++ b/extensions/source/bibliography/bibview.hxx
@@ -29,12 +29,12 @@ class BibDataManager;
namespace com{ namespace sun{ namespace star{ namespace awt{ class XFocusListener;}}}}
-//.........................................................................
+
namespace bib
{
-//.........................................................................
- // -----------------------------------------------------------------------
+
+
class BibView : public BibWindow, public FormControlContainer
{
private:
@@ -69,9 +69,9 @@ namespace bib
virtual sal_Bool HandleShortCutKey( const KeyEvent& rKeyEvent ); // returns true, if key was handled
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif
diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx
index d3484b089389..9d649caffa2c 100644
--- a/extensions/source/bibliography/datman.hxx
+++ b/extensions/source/bibliography/datman.hxx
@@ -36,7 +36,7 @@
class Window;
-//-----------------------------------------------------------------------------
+
namespace bib
{
class BibView;
diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx
index e388f9124aa0..7081523beff9 100644
--- a/extensions/source/bibliography/formcontrolcontainer.cxx
+++ b/extensions/source/bibliography/formcontrolcontainer.cxx
@@ -23,19 +23,19 @@
#include <algorithm>
#include <functional>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::form;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::awt;
- //=====================================================================
+
//= FormControlContainer
- //=====================================================================
+
FormControlContainer::FormControlContainer( )
:OLoadListener( m_aMutex )
@@ -142,8 +142,8 @@ namespace bib
implSetDesignMode( sal_False );
}
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/bibliography/formcontrolcontainer.hxx b/extensions/source/bibliography/formcontrolcontainer.hxx
index 3ba21c885e0b..c7737c3f5cf2 100644
--- a/extensions/source/bibliography/formcontrolcontainer.hxx
+++ b/extensions/source/bibliography/formcontrolcontainer.hxx
@@ -24,14 +24,14 @@
#include "loadlisteneradapter.hxx"
#include <com/sun/star/awt/XControlContainer.hpp>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
- //=====================================================================
+
+
//= FormControlContainer
- //=====================================================================
+
class FormControlContainer
:public ::comphelper::OBaseMutex
,public ::bib::OLoadListener
@@ -66,9 +66,9 @@ namespace bib
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif // EXTENSIONS_BIB_FORMCONTROLCONTAINER_HXX
diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx
index aadfac336f4e..e74c24ebaa76 100644
--- a/extensions/source/bibliography/loadlisteneradapter.cxx
+++ b/extensions/source/bibliography/loadlisteneradapter.cxx
@@ -21,18 +21,18 @@
#include <osl/diagnose.h>
#include <rtl/ref.hxx>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::form;
- //=====================================================================
+
//= OComponentListener
- //=====================================================================
+
OComponentListener::~OComponentListener()
{
@@ -69,9 +69,9 @@ namespace bib
}
}
- //=====================================================================
+
//= OComponentAdapterBase
- //=====================================================================
+
OComponentAdapterBase::OComponentAdapterBase( const Reference< XComponent >& _rxComp, sal_Bool _bAutoRelease )
:m_xComponent( _rxComp )
@@ -144,9 +144,9 @@ namespace bib
m_xComponent = NULL;
}
- //=====================================================================
+
//= OLoadListenerAdapter
- //=====================================================================
+
OLoadListenerAdapter::OLoadListenerAdapter( const Reference< XLoadable >& _rxLoadable, sal_Bool _bAutoRelease )
:OComponentAdapterBase( Reference< XComponent >( _rxLoadable, UNO_QUERY ), _bAutoRelease )
@@ -223,8 +223,8 @@ namespace bib
getLoadListener( )->_reloaded( _rEvent );
}
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx
index 799c9681c2d8..2735f59b3981 100644
--- a/extensions/source/bibliography/loadlisteneradapter.hxx
+++ b/extensions/source/bibliography/loadlisteneradapter.hxx
@@ -25,16 +25,16 @@
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/form/XLoadable.hpp>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
class OComponentAdapterBase;
- //=====================================================================
+
//= OComponentListener
- //=====================================================================
+
class OComponentListener
{
friend class OComponentAdapterBase;
@@ -58,9 +58,9 @@ namespace bib
void setAdapter( OComponentAdapterBase* _pAdapter );
};
- //=====================================================================
+
//= OComponentAdapterBase
- //=====================================================================
+
class OComponentAdapterBase
{
friend class OComponentListener;
@@ -114,9 +114,9 @@ namespace bib
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw( ::com::sun::star::uno::RuntimeException, std::exception);
};
- //=====================================================================
+
//= OLoadListener
- //=====================================================================
+
class OLoadListener : public OComponentListener
{
friend class OLoadListenerAdapter;
@@ -132,9 +132,9 @@ namespace bib
virtual void _reloaded( const ::com::sun::star::lang::EventObject& aEvent ) = 0;
};
- //=====================================================================
+
//= OLoadListenerAdapter
- //=====================================================================
+
typedef ::cppu::WeakImplHelper1< ::com::sun::star::form::XLoadListener > OLoadListenerAdapter_Base;
class OLoadListenerAdapter
:public OLoadListenerAdapter_Base
@@ -169,9 +169,9 @@ namespace bib
virtual void SAL_CALL reloaded( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception);
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif // EXTENSIONS_BIB_LOADLISTENERADAPTER_HXX