summaryrefslogtreecommitdiff
path: root/toolkit/source/awt
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /toolkit/source/awt
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r--toolkit/source/awt/animatedimagespeer.cxx42
-rw-r--r--toolkit/source/awt/stylesettings.cxx230
-rw-r--r--toolkit/source/awt/vclxdevice.cxx4
-rw-r--r--toolkit/source/awt/vclxspinbutton.cxx44
-rw-r--r--toolkit/source/awt/vclxtopwindow.cxx12
-rw-r--r--toolkit/source/awt/vclxwindow.cxx18
-rw-r--r--toolkit/source/awt/vclxwindows.cxx2
7 files changed, 176 insertions, 176 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx
index 464522c70cc5..362719ed8ee0 100644
--- a/toolkit/source/awt/animatedimagespeer.cxx
+++ b/toolkit/source/awt/animatedimagespeer.cxx
@@ -106,7 +106,7 @@ namespace toolkit
//==================================================================================================================
namespace
{
- //--------------------------------------------------------------------------------------------------------------
+
OUString lcl_getHighContrastURL( OUString const& i_imageURL )
{
INetURLObject aURL( i_imageURL );
@@ -127,7 +127,7 @@ namespace toolkit
return composer.makeStringAndClear();
}
- //--------------------------------------------------------------------------------------------------------------
+
bool lcl_ensureImage_throw( Reference< XGraphicProvider > const& i_graphicProvider, const bool i_isHighContrast, const CachedImage& i_cachedImage )
{
if ( !i_cachedImage.xGraphic.is() )
@@ -148,7 +148,7 @@ namespace toolkit
return i_cachedImage.xGraphic.is();
}
- //--------------------------------------------------------------------------------------------------------------
+
Size lcl_getGraphicSizePixel( Reference< XGraphic > const& i_graphic )
{
Size aSizePixel;
@@ -167,7 +167,7 @@ namespace toolkit
return aSizePixel;
}
- //--------------------------------------------------------------------------------------------------------------
+
void lcl_init( Sequence< OUString > const& i_imageURLs, ::std::vector< CachedImage >& o_images )
{
o_images.resize(0);
@@ -179,7 +179,7 @@ namespace toolkit
}
}
- //--------------------------------------------------------------------------------------------------------------
+
void lcl_updateImageList_nothrow( AnimatedImagesPeer_Data& i_data )
{
Throbber* pThrobber = dynamic_cast< Throbber* >( i_data.rAntiImpl.GetWindow() );
@@ -268,7 +268,7 @@ namespace toolkit
}
}
- //--------------------------------------------------------------------------------------------------------------
+
void lcl_updateImageList_nothrow( AnimatedImagesPeer_Data& i_data, const Reference< XAnimatedImages >& i_images )
{
try
@@ -295,19 +295,19 @@ namespace toolkit
//==================================================================================================================
//= AnimatedImagesPeer
//==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
+
AnimatedImagesPeer::AnimatedImagesPeer()
:AnimatedImagesPeer_Base()
,m_pData( new AnimatedImagesPeer_Data( *this ) )
{
}
- //------------------------------------------------------------------------------------------------------------------
+
AnimatedImagesPeer::~AnimatedImagesPeer()
{
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::startAnimation( ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -316,7 +316,7 @@ namespace toolkit
pThrobber->start();
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::stopAnimation( ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -325,7 +325,7 @@ namespace toolkit
pThrobber->stop();
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Bool SAL_CALL AnimatedImagesPeer::isAnimationRunning( ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -335,7 +335,7 @@ namespace toolkit
return sal_False;
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::setProperty( const OUString& i_propertyName, const Any& i_value ) throw(RuntimeException)
{
SolarMutexGuard aGuard;
@@ -382,7 +382,7 @@ namespace toolkit
}
}
- //------------------------------------------------------------------------------------------------------------------
+
Any SAL_CALL AnimatedImagesPeer::getProperty( const OUString& i_propertyName ) throw(RuntimeException)
{
SolarMutexGuard aGuard;
@@ -419,7 +419,7 @@ namespace toolkit
return aReturn;
}
- //------------------------------------------------------------------------------------------------------------------
+
void AnimatedImagesPeer::ProcessWindowEvent( const VclWindowEvent& i_windowEvent )
{
switch ( i_windowEvent.GetId() )
@@ -432,7 +432,7 @@ namespace toolkit
AnimatedImagesPeer_Base::ProcessWindowEvent( i_windowEvent );
}
- //------------------------------------------------------------------------------------------------------------------
+
void AnimatedImagesPeer::impl_updateImages_nolck( const Reference< XInterface >& i_animatedImages )
{
SolarMutexGuard aGuard;
@@ -440,7 +440,7 @@ namespace toolkit
lcl_updateImageList_nothrow( *m_pData, Reference< XAnimatedImages >( i_animatedImages, UNO_QUERY_THROW ) );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::elementInserted( const ContainerEvent& i_event ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -463,7 +463,7 @@ namespace toolkit
lcl_updateImageList_nothrow( *m_pData );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::elementRemoved( const ContainerEvent& i_event ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -482,7 +482,7 @@ namespace toolkit
lcl_updateImageList_nothrow( *m_pData );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::elementReplaced( const ContainerEvent& i_event ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -505,19 +505,19 @@ namespace toolkit
lcl_updateImageList_nothrow( *m_pData );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::disposing( const EventObject& i_event ) throw (RuntimeException)
{
VCLXWindow::disposing( i_event );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::modified( const EventObject& i_event ) throw (RuntimeException)
{
impl_updateImages_nolck( i_event.Source );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL AnimatedImagesPeer::dispose( ) throw(RuntimeException)
{
AnimatedImagesPeer_Base::dispose();
diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx
index a09f95f7af2e..91a7231fd833 100644
--- a/toolkit/source/awt/stylesettings.cxx
+++ b/toolkit/source/awt/stylesettings.cxx
@@ -68,7 +68,7 @@ namespace toolkit
DECL_LINK( OnWindowEvent, const VclWindowEvent* );
};
- //------------------------------------------------------------------------------------------------------------------
+
IMPL_LINK( WindowStyleSettings_Data, OnWindowEvent, const VclWindowEvent*, i_pEvent )
{
if ( !i_pEvent || ( i_pEvent->GetId() != VCLEVENT_WINDOW_DATACHANGED ) )
@@ -107,7 +107,7 @@ namespace toolkit
//==================================================================================================================
//= WindowStyleSettings
//==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
+
WindowStyleSettings::WindowStyleSettings(::osl::Mutex& i_rListenerMutex, VCLXWindow& i_rOwningWindow )
:m_pData( new WindowStyleSettings_Data(i_rListenerMutex, i_rOwningWindow ) )
{
@@ -117,12 +117,12 @@ namespace toolkit
pWindow->AddEventListener( LINK( m_pData.get(), WindowStyleSettings_Data, OnWindowEvent ) );
}
- //------------------------------------------------------------------------------------------------------------------
+
WindowStyleSettings::~WindowStyleSettings()
{
}
- //------------------------------------------------------------------------------------------------------------------
+
void WindowStyleSettings::dispose()
{
StyleMethodGuard aGuard( *m_pData );
@@ -138,7 +138,7 @@ namespace toolkit
m_pData->pOwningWindow = NULL;
}
- //------------------------------------------------------------------------------------------------------------------
+
namespace
{
sal_Int32 lcl_getStyleColor( WindowStyleSettings_Data& i_rData, Color const & (StyleSettings::*i_pGetter)() const )
@@ -180,217 +180,217 @@ namespace toolkit
}
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getActiveBorderColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveBorderColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setActiveBorderColor( ::sal_Int32 _activebordercolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveBorderColor, _activebordercolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getActiveColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setActiveColor( ::sal_Int32 _activecolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveColor, _activecolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getActiveTabColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveTabColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setActiveTabColor( ::sal_Int32 _activetabcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveTabColor, _activetabcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getActiveTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setActiveTextColor( ::sal_Int32 _activetextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveTextColor, _activetextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getButtonRolloverTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetButtonRolloverTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setButtonRolloverTextColor( ::sal_Int32 _buttonrollovertextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetButtonRolloverTextColor, _buttonrollovertextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getButtonTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetButtonTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setButtonTextColor( ::sal_Int32 _buttontextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetButtonTextColor, _buttontextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getCheckedColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetCheckedColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setCheckedColor( ::sal_Int32 _checkedcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetCheckedColor, _checkedcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDarkShadowColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDarkShadowColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDarkShadowColor( ::sal_Int32 _darkshadowcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDarkShadowColor, _darkshadowcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveBorderColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDeactiveBorderColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDeactiveBorderColor( ::sal_Int32 _deactivebordercolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDeactiveBorderColor, _deactivebordercolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDeactiveColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDeactiveColor( ::sal_Int32 _deactivecolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDeactiveColor, _deactivecolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDeactiveTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDeactiveTextColor( ::sal_Int32 _deactivetextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDeactiveTextColor, _deactivetextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDialogColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDialogColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDialogColor( ::sal_Int32 _dialogcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDialogColor, _dialogcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDialogTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDialogTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDialogTextColor( ::sal_Int32 _dialogtextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDialogTextColor, _dialogtextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getDisableColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetDisableColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setDisableColor( ::sal_Int32 _disablecolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetDisableColor, _disablecolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getFaceColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetFaceColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setFaceColor( ::sal_Int32 _facecolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetFaceColor, _facecolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getFaceGradientColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
@@ -400,301 +400,301 @@ namespace toolkit
return aStyleSettings.GetFaceGradientColor().GetColor();
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getFieldColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetFieldColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setFieldColor( ::sal_Int32 _fieldcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetFieldColor, _fieldcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getFieldRolloverTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetFieldRolloverTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setFieldRolloverTextColor( ::sal_Int32 _fieldrollovertextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetFieldRolloverTextColor, _fieldrollovertextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getFieldTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetFieldTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setFieldTextColor( ::sal_Int32 _fieldtextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetFieldTextColor, _fieldtextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getGroupTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetGroupTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setGroupTextColor( ::sal_Int32 _grouptextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetGroupTextColor, _grouptextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getHelpColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetHelpColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setHelpColor( ::sal_Int32 _helpcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetHelpColor, _helpcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getHelpTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetHelpTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setHelpTextColor( ::sal_Int32 _helptextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetHelpTextColor, _helptextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getHighlightColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetHighlightColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setHighlightColor( ::sal_Int32 _highlightcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetHighlightColor, _highlightcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getHighlightTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetHighlightTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setHighlightTextColor( ::sal_Int32 _highlighttextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetHighlightTextColor, _highlighttextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getInactiveTabColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetInactiveTabColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setInactiveTabColor( ::sal_Int32 _inactivetabcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetInactiveTabColor, _inactivetabcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getInfoTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetInfoTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setInfoTextColor( ::sal_Int32 _infotextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetInfoTextColor, _infotextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getLabelTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetLabelTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setLabelTextColor( ::sal_Int32 _labeltextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetLabelTextColor, _labeltextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getLightColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetLightColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setLightColor( ::sal_Int32 _lightcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetLightColor, _lightcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBarColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuBarColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuBarColor( ::sal_Int32 _menubarcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuBarColor, _menubarcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBarTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuBarTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuBarTextColor( ::sal_Int32 _menubartextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuBarTextColor, _menubartextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBorderColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuBorderColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuBorderColor( ::sal_Int32 _menubordercolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuBorderColor, _menubordercolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuColor( ::sal_Int32 _menucolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuColor, _menucolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuHighlightColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuHighlightColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuHighlightColor( ::sal_Int32 _menuhighlightcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuHighlightColor, _menuhighlightcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuHighlightTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuHighlightTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuHighlightTextColor( ::sal_Int32 _menuhighlighttextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuHighlightTextColor, _menuhighlighttextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMenuTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuTextColor( ::sal_Int32 _menutextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuTextColor, _menutextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getMonoColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetMonoColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMonoColor( ::sal_Int32 _monocolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetMonoColor, _monocolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getRadioCheckTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetRadioCheckTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setRadioCheckTextColor( ::sal_Int32 _radiochecktextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetRadioCheckTextColor, _radiochecktextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getSeparatorColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
@@ -704,63 +704,63 @@ namespace toolkit
return aStyleSettings.GetSeparatorColor().GetColor();
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getShadowColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetShadowColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setShadowColor( ::sal_Int32 _shadowcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetShadowColor, _shadowcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getWindowColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetWindowColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setWindowColor( ::sal_Int32 _windowcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetWindowColor, _windowcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getWindowTextColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetWindowTextColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setWindowTextColor( ::sal_Int32 _windowtextcolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetWindowTextColor, _windowtextcolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Int32 SAL_CALL WindowStyleSettings::getWorkspaceColor() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleColor( *m_pData, &StyleSettings::GetWorkspaceColor );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setWorkspaceColor( ::sal_Int32 _workspacecolor ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleColor( *m_pData, &StyleSettings::SetWorkspaceColor, _workspacecolor );
}
- //------------------------------------------------------------------------------------------------------------------
+
::sal_Bool SAL_CALL WindowStyleSettings::getHighContrastMode() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
@@ -770,7 +770,7 @@ namespace toolkit
return aStyleSettings.GetHighContrastMode();
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setHighContrastMode( ::sal_Bool _highcontrastmode ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
@@ -782,175 +782,175 @@ namespace toolkit
pWindow->SetSettings( aAllSettings );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getApplicationFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetAppFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setApplicationFont( const FontDescriptor& _applicationfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetAppFont, &StyleSettings::GetAppFont, _applicationfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getHelpFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetHelpFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setHelpFont( const FontDescriptor& _helpfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetHelpFont, &StyleSettings::GetHelpFont, _helpfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getTitleFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetTitleFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setTitleFont( const FontDescriptor& _titlefont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetTitleFont, &StyleSettings::GetTitleFont, _titlefont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getFloatTitleFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetFloatTitleFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setFloatTitleFont( const FontDescriptor& _floattitlefont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetFloatTitleFont, &StyleSettings::GetFloatTitleFont, _floattitlefont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getMenuFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetMenuFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setMenuFont( const FontDescriptor& _menufont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetMenuFont, &StyleSettings::GetMenuFont, _menufont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getToolFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetToolFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setToolFont( const FontDescriptor& _toolfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetToolFont, &StyleSettings::GetToolFont, _toolfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getGroupFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetGroupFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setGroupFont( const FontDescriptor& _groupfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetGroupFont, &StyleSettings::GetGroupFont, _groupfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getLabelFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetLabelFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setLabelFont( const FontDescriptor& _labelfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetLabelFont, &StyleSettings::GetLabelFont, _labelfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getInfoFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetInfoFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setInfoFont( const FontDescriptor& _infofont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetInfoFont, &StyleSettings::GetInfoFont, _infofont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getRadioCheckFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetRadioCheckFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setRadioCheckFont( const FontDescriptor& _radiocheckfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetRadioCheckFont, &StyleSettings::GetRadioCheckFont, _radiocheckfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getPushButtonFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetPushButtonFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setPushButtonFont( const FontDescriptor& _pushbuttonfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetPushButtonFont, &StyleSettings::GetPushButtonFont, _pushbuttonfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
FontDescriptor SAL_CALL WindowStyleSettings::getFieldFont() throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
return lcl_getStyleFont( *m_pData, &StyleSettings::GetFieldFont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::setFieldFont( const FontDescriptor& _fieldfont ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
lcl_setStyleFont( *m_pData, &StyleSettings::SetFieldFont, &StyleSettings::GetFieldFont, _fieldfont );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::addStyleChangeListener( const Reference< XStyleChangeListener >& i_rListener ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
@@ -958,7 +958,7 @@ namespace toolkit
m_pData->aStyleChangeListeners.addInterface( i_rListener );
}
- //------------------------------------------------------------------------------------------------------------------
+
void SAL_CALL WindowStyleSettings::removeStyleChangeListener( const Reference< XStyleChangeListener >& i_rListener ) throw (RuntimeException)
{
StyleMethodGuard aGuard( *m_pData );
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index f2573db0a923..75e6ecc6cfc4 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -235,9 +235,9 @@ VCLXVirtualDevice::~VCLXVirtualDevice()
}
-// -----------------------------------------------------------------------------
+
// Interface implementation of ::com::sun::star::awt::XUnitConversion
-// -----------------------------------------------------------------------------
+
::com::sun::star::awt::Point SAL_CALL VCLXDevice::convertPointToLogic( const ::com::sun::star::awt::Point& aPoint, ::sal_Int16 TargetUnit ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
diff --git a/toolkit/source/awt/vclxspinbutton.cxx b/toolkit/source/awt/vclxspinbutton.cxx
index a34b8f4a3614..7215dec464f9 100644
--- a/toolkit/source/awt/vclxspinbutton.cxx
+++ b/toolkit/source/awt/vclxspinbutton.cxx
@@ -42,7 +42,7 @@ namespace toolkit
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
- //--------------------------------------------------------------------
+
namespace
{
void lcl_modifyStyle( Window* _pWindow, WinBits _nStyleBits, sal_Bool _bShouldBePresent )
@@ -60,26 +60,26 @@ namespace toolkit
//= VCLXSpinButton
//====================================================================
DBG_NAME( VCLXSpinButton )
- //--------------------------------------------------------------------
+
VCLXSpinButton::VCLXSpinButton()
:maAdjustmentListeners( *this )
{
DBG_CTOR( VCLXSpinButton, NULL );
}
- //--------------------------------------------------------------------
+
VCLXSpinButton::~VCLXSpinButton()
{
DBG_DTOR( VCLXSpinButton, NULL );
}
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XINTERFACE2( VCLXSpinButton, VCLXWindow, VCLXSpinButton_Base )
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXSpinButton, VCLXWindow, VCLXSpinButton_Base )
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::dispose( ) throw(RuntimeException)
{
{
@@ -93,14 +93,14 @@ namespace toolkit
VCLXWindow::dispose();
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::addAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException)
{
if ( listener.is() )
maAdjustmentListeners.addInterface( listener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::removeAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException)
{
if ( listener.is() )
@@ -135,13 +135,13 @@ namespace toolkit
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setValue( sal_Int32 n ) throw (RuntimeException)
{
lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValue, n );
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -151,49 +151,49 @@ namespace toolkit
setValue( currentValue );
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL VCLXSpinButton::getValue( ) throw (RuntimeException)
{
return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValue );
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setMinimum( sal_Int32 minValue ) throw (RuntimeException)
{
lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMin, minValue );
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setMaximum( sal_Int32 maxValue ) throw (RuntimeException)
{
lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMax, maxValue );
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL VCLXSpinButton::getMinimum( ) throw (RuntimeException)
{
return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMin );
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL VCLXSpinButton::getMaximum( ) throw (RuntimeException)
{
return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMax );
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setSpinIncrement( sal_Int32 spinIncrement ) throw (RuntimeException)
{
lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValueStep, spinIncrement );
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL VCLXSpinButton::getSpinIncrement( ) throw (RuntimeException)
{
return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValueStep );
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setOrientation( sal_Int32 orientation ) throw (NoSupportException, RuntimeException)
{
SolarMutexGuard aGuard;
@@ -201,7 +201,7 @@ namespace toolkit
lcl_modifyStyle( GetWindow(), WB_HSCROLL, orientation == ScrollBarOrientation::HORIZONTAL );
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL VCLXSpinButton::getOrientation( ) throw (RuntimeException)
{
return ( 0 != ( GetWindow()->GetStyle() & WB_HSCROLL ) )
@@ -209,7 +209,7 @@ namespace toolkit
: ScrollBarOrientation::VERTICAL;
}
- //--------------------------------------------------------------------
+
void VCLXSpinButton::ProcessWindowEvent( const VclWindowEvent& _rVclWindowEvent )
{
SolarMutexClearableGuard aGuard;
@@ -241,7 +241,7 @@ namespace toolkit
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL VCLXSpinButton::setProperty( const OUString& PropertyName, const Any& Value ) throw(RuntimeException)
{
SolarMutexGuard aGuard;
@@ -291,7 +291,7 @@ namespace toolkit
}
}
- //--------------------------------------------------------------------
+
Any SAL_CALL VCLXSpinButton::getProperty( const OUString& PropertyName ) throw(RuntimeException)
{
SolarMutexGuard aGuard;
diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx
index e2697aeed071..cf11f2ad3eb5 100644
--- a/toolkit/source/awt/vclxtopwindow.cxx
+++ b/toolkit/source/awt/vclxtopwindow.cxx
@@ -161,7 +161,7 @@ void VCLXTopWindow_Base::setMenuBar( const ::com::sun::star::uno::Reference< ::c
mxMenuBar = rxMenu;
}
-//--------------------------------------------------------------------
+
::sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -173,7 +173,7 @@ void VCLXTopWindow_Base::setMenuBar( const ::com::sun::star::uno::Reference< ::c
return pWindow->IsMaximized();
}
-//--------------------------------------------------------------------
+
void SAL_CALL VCLXTopWindow_Base::setIsMaximized( ::sal_Bool _ismaximized ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -185,7 +185,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMaximized( ::sal_Bool _ismaximized ) thro
pWindow->Maximize( _ismaximized );
}
-//--------------------------------------------------------------------
+
::sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -197,7 +197,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMaximized( ::sal_Bool _ismaximized ) thro
return pWindow->IsMinimized();
}
-//--------------------------------------------------------------------
+
void SAL_CALL VCLXTopWindow_Base::setIsMinimized( ::sal_Bool _isMinimized ) throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -209,7 +209,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMinimized( ::sal_Bool _isMinimized ) thro
_isMinimized ? pWindow->Minimize() : pWindow->Restore();
}
-//--------------------------------------------------------------------
+
::sal_Int32 SAL_CALL VCLXTopWindow_Base::getDisplay() throw (RuntimeException)
{
SolarMutexGuard aGuard;
@@ -221,7 +221,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMinimized( ::sal_Bool _isMinimized ) thro
return pWindow->GetScreenNumber();
}
-//--------------------------------------------------------------------
+
void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display ) throw (RuntimeException, IndexOutOfBoundsException)
{
SolarMutexGuard aGuard;
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index a8b8981bed99..66ed80c97f6c 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -198,7 +198,7 @@ private:
VCLXWindowImpl& operator=( const VCLXWindowImpl& ); // never implemented
};
-//--------------------------------------------------------------------
+
VCLXWindowImpl::VCLXWindowImpl( VCLXWindow& _rAntiImpl, bool _bWithDefaultProps )
:mrAntiImpl( _rAntiImpl )
,mbDisposed( false )
@@ -234,7 +234,7 @@ VCLXWindowImpl::~VCLXWindowImpl()
delete mpPropHelper;
}
-//--------------------------------------------------------------------
+
void VCLXWindowImpl::disposing()
{
SolarMutexGuard aGuard;
@@ -264,7 +264,7 @@ void VCLXWindowImpl::disposing()
mxWindowStyleSettings.clear();
}
-//--------------------------------------------------------------------
+
void VCLXWindowImpl::callBackAsync( const VCLXWindow::Callback& i_callback )
{
DBG_TESTSOLARMUTEX();
@@ -277,7 +277,7 @@ void VCLXWindowImpl::callBackAsync( const VCLXWindow::Callback& i_callback )
}
}
-//----------------------------------------------------------------------------------------------------------------------
+
IMPL_LINK_NOARG(VCLXWindowImpl, OnProcessCallbacks)
{
const Reference< uno::XInterface > xKeepAlive( mrAntiImpl );
@@ -313,19 +313,19 @@ IMPL_LINK_NOARG(VCLXWindowImpl, OnProcessCallbacks)
return 0L;
}
-//--------------------------------------------------------------------
+
void SAL_CALL VCLXWindowImpl::acquire()
{
mrAntiImpl.acquire();
}
-//--------------------------------------------------------------------
+
void SAL_CALL VCLXWindowImpl::release()
{
mrAntiImpl.release();
}
-//--------------------------------------------------------------------
+
Reference< XStyleSettings > VCLXWindowImpl::getStyleSettings()
{
SolarMutexGuard aGuard;
@@ -383,13 +383,13 @@ VCLXWindow::~VCLXWindow()
}
}
-//----------------------------------------------------------------------------------------------------------------------
+
void VCLXWindow::ImplExecuteAsyncWithoutSolarLock( const Callback& i_callback )
{
mpImpl->callBackAsync( i_callback );
}
-//----------------------------------------------------------------------------------------------------------------------
+
::toolkit::IAccessibleFactory& VCLXWindow::getAccessibleFactory()
{
return mpImpl->getAccessibleFactory().getFactory();
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 623c5eb0cecf..f7cefe668003 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -328,7 +328,7 @@ void VCLXGraphicControl::setProperty( const OUString& PropertyName, const ::com:
return aProp;
}
-//--------------------------------------------------------------------
+
// class VCLXButton
// ----------------------------------------------------