summaryrefslogtreecommitdiff
path: root/forms/source/solar
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/solar')
-rw-r--r--forms/source/solar/component/navbarcontrol.cxx18
-rw-r--r--forms/source/solar/component/navbarcontrol.hxx16
-rw-r--r--forms/source/solar/control/navtoolbar.cxx24
-rw-r--r--forms/source/solar/inc/navtoolbar.hxx16
4 files changed, 37 insertions, 37 deletions
diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx
index cd29d5eb6bc3..b3f9814b2786 100644
--- a/forms/source/solar/component/navbarcontrol.cxx
+++ b/forms/source/solar/component/navbarcontrol.cxx
@@ -45,10 +45,10 @@ extern "C" void SAL_CALL createRegistryInfo_ONavigationBarControl()
static ::frm::OMultiInstanceAutoRegistration< ::frm::ONavigationBarControl > aAutoRegistration;
}
-//.........................................................................
+
namespace frm
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -65,9 +65,9 @@ namespace frm
xTypedPeer->method( param1 ); \
}
- //==================================================================
+
// ONavigationBarControl
- //==================================================================
+
ONavigationBarControl::ONavigationBarControl( const Reference< XComponentContext >& _rxORB)
:UnoControl(), m_xContext(_rxORB)
@@ -96,7 +96,7 @@ namespace frm
namespace
{
- //..............................................................
+
static WinBits lcl_getWinBits_nothrow( const Reference< XControlModel >& _rxModel )
{
WinBits nBits = 0;
@@ -229,9 +229,9 @@ namespace frm
FORWARD_TO_PEER_1( XVclWindowPeer, setDesignMode, _bOn );
}
- //==================================================================
+
// ONavigationBarPeer
- //==================================================================
+
ONavigationBarPeer* ONavigationBarPeer::Create( const Reference< XComponentContext >& _rxORB,
Window* _pParentWindow, const Reference< XControlModel >& _rxModel )
@@ -517,8 +517,8 @@ namespace frm
_rFeatureIds.push_back( FormFeature::RemoveFilterAndSort );
}
-//.........................................................................
+
} // namespace frm
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx
index 8e23dc1fcf77..e96db9aec8db 100644
--- a/forms/source/solar/component/navbarcontrol.hxx
+++ b/forms/source/solar/component/navbarcontrol.hxx
@@ -31,14 +31,14 @@
#include <cppuhelper/implbase1.hxx>
#include <tools/wintypes.hxx>
-//.........................................................................
+
namespace frm
{
-//.........................................................................
- //==================================================================
+
+
// ONavigationBarControl
- //==================================================================
+
typedef ::cppu::ImplHelper1 < ::com::sun::star::frame::XDispatchProviderInterception
> ONavigationBarControl_Base;
@@ -84,9 +84,9 @@ namespace frm
virtual void SAL_CALL releaseDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException, std::exception);
};
- //==================================================================
+
// ONavigationBarPeer
- //==================================================================
+
class ONavigationBarPeer
:public VCLXWindow
,public OFormNavigationHelper
@@ -142,9 +142,9 @@ namespace frm
virtual bool isEnabled( sal_Int16 _nFeatureId ) const;
};
-//.........................................................................
+
} // namespace frm
-//.........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_SOLAR_COMPONENT_NAVBARCONTROL_HXX
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index 3fd7e856203d..a47048a2bef8 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -36,16 +36,16 @@
#define LID_RECORD_LABEL 1000
#define LID_RECORD_FILLER 1001
-//.........................................................................
+
namespace frm
{
-//.........................................................................
+
using ::com::sun::star::uno::makeAny;
namespace FormFeature = ::com::sun::star::form::runtime::FormFeature;
- //=====================================================================
- //.....................................................................
+
+
namespace
{
static bool isArtificialItem( sal_Int16 _nFeatureId )
@@ -95,9 +95,9 @@ namespace frm
}
}
- //=====================================================================
+
//= ImplNavToolBar
- //=====================================================================
+
class ImplNavToolBar : public ToolBox
{
protected:
@@ -135,9 +135,9 @@ namespace frm
}
}
- //=====================================================================
+
//= NavigationToolBar
- //=====================================================================
+
NavigationToolBar::NavigationToolBar( Window* _pParent, WinBits _nStyle, const PCommandImageProvider& _pImageProvider,
const PCommandDescriptionProvider& _pDescriptionProvider )
@@ -651,9 +651,9 @@ namespace frm
_pItemWindow->EnableRTL( *static_cast< const sal_Bool* >( _pIsRTLEnabled ) );
}
- //=====================================================================
+
//= RecordPositionInput
- //=====================================================================
+
RecordPositionInput::RecordPositionInput( Window* _pParent )
:NumericField( _pParent, WB_BORDER | WB_VCENTER )
@@ -710,8 +710,8 @@ namespace frm
}
-//.........................................................................
+
} // namespace frm
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx
index e9179c65b981..62c252e3ffdb 100644
--- a/forms/source/solar/inc/navtoolbar.hxx
+++ b/forms/source/solar/inc/navtoolbar.hxx
@@ -25,10 +25,10 @@
#include <boost/shared_ptr.hpp>
-//.........................................................................
+
namespace frm
{
-//.........................................................................
+
class IFeatureDispatcher;
class ICommandImageProvider;
@@ -36,9 +36,9 @@ namespace frm
class ImplNavToolBar;
- //=====================================================================
+
//= NavigationToolBar
- //=====================================================================
+
class NavigationToolBar : public Window
{
public:
@@ -154,9 +154,9 @@ namespace frm
void enableItemRTL( sal_uInt16 /*_nItemId*/, Window* _pItemWindow, const void* _pIsRTLEnabled ) const;
};
- //=====================================================================
+
//= RecordPositionInput
- //=====================================================================
+
class RecordPositionInput : public NumericField
{
private:
@@ -179,9 +179,9 @@ namespace frm
void FirePosition( sal_Bool _bForce );
};
-//.........................................................................
+
} // namespace frm
-//.........................................................................
+
#endif // INCLUDED_FORMS_SOURCE_SOLAR_INC_NAVTOOLBAR_HXX