summaryrefslogtreecommitdiffstats
path: root/include/dbaccess
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 09:51:32 -0600
commit8792ec7b2129650777b7b4bfacaa7c13d923279b (patch)
treef181e37b61533b460397cc68625fd21f46bb6393 /include/dbaccess
parentimport date cells from OOXML (diff)
downloadcore-8792ec7b2129650777b7b4bfacaa7c13d923279b.tar.gz
core-8792ec7b2129650777b7b4bfacaa7c13d923279b.zip
Remove visual noise from include
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/dbaccess')
-rw-r--r--include/dbaccess/AsyncronousLink.hxx4
-rw-r--r--include/dbaccess/controllerframe.hxx12
-rw-r--r--include/dbaccess/dbaundomanager.hxx12
-rw-r--r--include/dbaccess/dbsubcomponentcontroller.hxx16
-rw-r--r--include/dbaccess/genericcontroller.hxx38
5 files changed, 41 insertions, 41 deletions
diff --git a/include/dbaccess/AsyncronousLink.hxx b/include/dbaccess/AsyncronousLink.hxx
index 96c96f6f278c..2a1cfc06a4f2 100644
--- a/include/dbaccess/AsyncronousLink.hxx
+++ b/include/dbaccess/AsyncronousLink.hxx
@@ -25,9 +25,9 @@
namespace dbaui
{
- // =========================================================================
+
// a helper for multi-threaded handling of async events
- // -------------------------------------------------------------------------
+
/** handles asynchronous links which may be called in multi-threaded environments
If you use an instance of this class as member of your own class, it will handle
several crucial points for you (for instance the case that somebody posts the
diff --git a/include/dbaccess/controllerframe.hxx b/include/dbaccess/controllerframe.hxx
index 0990865fac25..e39c63251586 100644
--- a/include/dbaccess/controllerframe.hxx
+++ b/include/dbaccess/controllerframe.hxx
@@ -25,16 +25,16 @@
#include <memory>
-//........................................................................
+
namespace dbaui
{
-//........................................................................
+
class IController;
- //====================================================================
+
//= ControllerFrame
- //====================================================================
+
struct ControllerFrame_Data;
/** helper class to ancapsulate the frame which a controller is plugged into,
doing some common actions on it.
@@ -67,9 +67,9 @@ namespace dbaui
::std::auto_ptr< ControllerFrame_Data > m_pData;
};
-//........................................................................
+
} // namespace dbaui
-//........................................................................
+
#endif // INCLUDED_DBACCESS_CONTROLLERFRAME_HXX
diff --git a/include/dbaccess/dbaundomanager.hxx b/include/dbaccess/dbaundomanager.hxx
index 7bdb450169e1..01e5417045af 100644
--- a/include/dbaccess/dbaundomanager.hxx
+++ b/include/dbaccess/dbaundomanager.hxx
@@ -30,14 +30,14 @@
class SfxUndoManager;
-//......................................................................................................................
+
namespace dbaui
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= UndoManager
- //==================================================================================================================
+
struct UndoManager_Impl;
typedef ::cppu::ImplHelper1< ::com::sun::star::document::XUndoManager > UndoManager_Base;
class DBACCESS_DLLPUBLIC UndoManager : public UndoManager_Base
@@ -87,9 +87,9 @@ namespace dbaui
::boost::scoped_ptr< UndoManager_Impl > m_pImpl;
};
-//......................................................................................................................
+
} // namespace dbaui
-//......................................................................................................................
+
#endif // INCLUDED_DBACCESS_DBAUNDOMANAGER_HXX
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx
index 4c093d693686..6ffa59a62f07 100644
--- a/include/dbaccess/dbsubcomponentcontroller.hxx
+++ b/include/dbaccess/dbsubcomponentcontroller.hxx
@@ -37,14 +37,14 @@
#include <memory>
-//........................................................................
+
namespace dbaui
{
-//........................................................................
- //====================================================================
+
+
//= DBSubComponentController
- //====================================================================
+
class DBSubComponentController;
typedef ::cppu::ImplInheritanceHelper2 < OGenericUnoController
@@ -82,7 +82,7 @@ namespace dbaui
sal_Bool isEditable() const;
void setEditable(sal_Bool _bEditable);
- // ----------------------------------------------------------------
+
// asking for connection-related stuff
sal_Bool isConnected() const;
@@ -90,7 +90,7 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >
getMetaData( ) const;
- // ----------------------------------------------------------------
+
// access to the data source / document
OUString getDataSourceName() const;
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >&
@@ -195,9 +195,9 @@ namespace dbaui
DBSubComponentController(); // never implemented
};
-//........................................................................
+
} // namespace dbaui
-//........................................................................
+
#endif // INCLUDED_DBACCESS_DBSUBCOMPONENTCONTROLLER_HXX
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index 526719fe2620..1694da644127 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -70,9 +70,9 @@ namespace dbaui
{
class ODataView;
- // ====================================================================
+
// = optional
- // ====================================================================
+
/** convenience wrapper around boost::optional, allowing typed assignments
*/
template < typename T >
@@ -113,9 +113,9 @@ namespace dbaui
return !!_value;
}
- // ====================================================================
+
// = FeatureState
- // ====================================================================
+
/** describes the state of a feature
In opposite to the FeatureStateEvent in css.frame, this one allows for multiple states to be specified at once.
@@ -134,33 +134,33 @@ namespace dbaui
FeatureState() : bEnabled(sal_False) { }
};
- // ====================================================================
+
// = helper
- // ====================================================================
- // ....................................................................
+
+
struct ControllerFeature : public ::com::sun::star::frame::DispatchInformation
{
sal_uInt16 nFeatureId;
};
- // ....................................................................
+
typedef ::std::map < OUString
, ControllerFeature
, ::std::less< OUString >
> SupportedFeatures;
- // ....................................................................
+
struct CompareFeatureById : ::std::binary_function< SupportedFeatures::value_type, sal_Int32, bool >
{
- // ................................................................
+
inline bool operator()( const SupportedFeatures::value_type& _aType, const sal_Int32& _nId ) const
{
return !!( _nId == _aType.second.nFeatureId );
}
};
- // ....................................................................
+
struct FeatureListener
{
::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >
@@ -169,20 +169,20 @@ namespace dbaui
sal_Bool bForceBroadcast;
};
- // ....................................................................
+
typedef ::std::deque< FeatureListener > FeatureListeners;
- // ....................................................................
+
struct FindFeatureListener : ::std::binary_function< FeatureListener, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >, bool >
{
- // ................................................................
+
inline bool operator()( const FeatureListener& lhs, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& rhs ) const
{
return !!( lhs.xListener == rhs );
}
};
- // ....................................................................
+
typedef ::comphelper::SharedMutexBase OGenericUnoController_MBASE;
typedef ::cppu::WeakComponentImplHelper11 < ::com::sun::star::frame::XDispatch
@@ -199,7 +199,7 @@ namespace dbaui
> OGenericUnoController_Base;
struct OGenericUnoController_Data;
- // ====================================================================
+
class DBACCESS_DLLPUBLIC OGenericUnoController
:public OGenericUnoController_MBASE
,public OGenericUnoController_Base
@@ -219,7 +219,7 @@ namespace dbaui
#endif
protected:
- // ----------------------------------------------------------------
+
// attributes
struct DispatchTarget
{
@@ -257,12 +257,12 @@ namespace dbaui
- // ----------------------------------------------------------------
+
// attribute access
::osl::Mutex& getMutex() const { return OGenericUnoController_MBASE::getMutex(); }
::cppu::OBroadcastHelper& getBroadcastHelper() { return OGenericUnoController_Base::rBHelper; }
- // ----------------------------------------------------------------
+
// methods
OGenericUnoController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rM );
const ::comphelper::NamedValueCollection&