diff options
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r-- | toolkit/source/awt/animatedimagespeer.cxx | 20 | ||||
-rw-r--r-- | toolkit/source/awt/stylesettings.cxx | 20 | ||||
-rw-r--r-- | toolkit/source/awt/stylesettings.hxx | 12 | ||||
-rw-r--r-- | toolkit/source/awt/vclxbitmap.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxcontainer.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxdevice.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxfont.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxgraphics.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxpointer.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxregion.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxspinbutton.cxx | 16 | ||||
-rw-r--r-- | toolkit/source/awt/vclxsystemdependentwindow.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtabpagecontainer.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtabpagemodel.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtopwindow.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 12 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 94 |
17 files changed, 109 insertions, 109 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index 9579d8c2ff6b..3c81a52b80f5 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -40,10 +40,10 @@ #include <limits> -//...................................................................................................................... + namespace toolkit { -//...................................................................................................................... + using ::com::sun::star::uno::XComponentContext; using ::com::sun::star::uno::Reference; @@ -68,9 +68,9 @@ namespace toolkit namespace ImageScaleMode = ::com::sun::star::awt::ImageScaleMode; - //================================================================================================================== + //= AnimatedImagesPeer_Data - //================================================================================================================== + struct CachedImage { OUString sImageURL; @@ -101,9 +101,9 @@ namespace toolkit } }; - //================================================================================================================== + //= helper - //================================================================================================================== + namespace { @@ -292,9 +292,9 @@ namespace toolkit } } - //================================================================================================================== + //= AnimatedImagesPeer - //================================================================================================================== + AnimatedImagesPeer::AnimatedImagesPeer() :AnimatedImagesPeer_Base() @@ -525,8 +525,8 @@ namespace toolkit m_pData->aCachedImageSets.resize(0); } -//...................................................................................................................... + } // namespace toolkit -//...................................................................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index 91a7231fd833..16752a2afdc0 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -30,10 +30,10 @@ #include <vcl/settings.hxx> #include <vcl/svapp.hxx> -//...................................................................................................................... + namespace toolkit { -//...................................................................................................................... + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; @@ -51,9 +51,9 @@ namespace toolkit using ::com::sun::star::awt::FontDescriptor; using ::com::sun::star::awt::XStyleChangeListener; - //================================================================================================================== + //= WindowStyleSettings_Data - //================================================================================================================== + struct WindowStyleSettings_Data { VCLXWindow* pOwningWindow; @@ -84,9 +84,9 @@ namespace toolkit return 1L; } - //================================================================================================================== + //= StyleMethodGuard - //================================================================================================================== + class StyleMethodGuard { public: @@ -104,9 +104,9 @@ namespace toolkit SolarMutexGuard m_aGuard; }; - //================================================================================================================== + //= WindowStyleSettings - //================================================================================================================== + WindowStyleSettings::WindowStyleSettings(::osl::Mutex& i_rListenerMutex, VCLXWindow& i_rOwningWindow ) :m_pData( new WindowStyleSettings_Data(i_rListenerMutex, i_rOwningWindow ) ) @@ -966,8 +966,8 @@ namespace toolkit m_pData->aStyleChangeListeners.removeInterface( i_rListener ); } -//...................................................................................................................... + } // namespace toolkit -//...................................................................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/awt/stylesettings.hxx b/toolkit/source/awt/stylesettings.hxx index b827cc42a16a..912c2f08ccb4 100644 --- a/toolkit/source/awt/stylesettings.hxx +++ b/toolkit/source/awt/stylesettings.hxx @@ -33,14 +33,14 @@ namespace osl class VCLXWindow; -//...................................................................................................................... + namespace toolkit { -//...................................................................................................................... - //================================================================================================================== + + //= WindowStyleSettings - //================================================================================================================== + struct WindowStyleSettings_Data; typedef ::cppu::WeakImplHelper1 < ::com::sun::star::awt::XStyleSettings > WindowStyleSettings_Base; @@ -168,9 +168,9 @@ namespace toolkit ::boost::scoped_ptr< WindowStyleSettings_Data > m_pData; }; -//...................................................................................................................... + } // namespace toolkit -//...................................................................................................................... + #endif // TOOLKIT_STYLESETTINGS_HXX diff --git a/toolkit/source/awt/vclxbitmap.cxx b/toolkit/source/awt/vclxbitmap.cxx index 7047f123ff9b..04853a4ec6c1 100644 --- a/toolkit/source/awt/vclxbitmap.cxx +++ b/toolkit/source/awt/vclxbitmap.cxx @@ -24,9 +24,9 @@ #include <rtl/uuid.h> #include <vcl/dibtools.hxx> -// ---------------------------------------------------- + // class VCLXBitmap -// ---------------------------------------------------- + // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any VCLXBitmap::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx index 782bea9e98c0..d007b425e25e 100644 --- a/toolkit/source/awt/vclxcontainer.cxx +++ b/toolkit/source/awt/vclxcontainer.cxx @@ -29,9 +29,9 @@ #include "toolkit/awt/scrollabledialog.hxx" #include <toolkit/helper/property.hxx> -// ---------------------------------------------------- + // class VCLXContainer -// ---------------------------------------------------- + void VCLXContainer::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx index cf4aa026dce1..d6b2e22abba4 100644 --- a/toolkit/source/awt/vclxdevice.cxx +++ b/toolkit/source/awt/vclxdevice.cxx @@ -38,9 +38,9 @@ #include <vcl/bitmapex.hxx> #include <vcl/font.hxx> -// ---------------------------------------------------- + // class VCLXDevice -// ---------------------------------------------------- + VCLXDevice::VCLXDevice() { mpOutputDevice = NULL; diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index 1f79313704b8..0fc2d187feb3 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -28,9 +28,9 @@ #include <vcl/outdev.hxx> -// ---------------------------------------------------- + // class VCLXFont -// ---------------------------------------------------- + VCLXFont::VCLXFont() { mpFontMetric = NULL; diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index 21cc15ddd971..d447e1f47786 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -34,9 +34,9 @@ using namespace com::sun::star; -// ---------------------------------------------------- + // class VCLXGraphics -// ---------------------------------------------------- + // uno::XInterface uno::Any VCLXGraphics::queryInterface( const uno::Type & rType ) throw(uno::RuntimeException) diff --git a/toolkit/source/awt/vclxpointer.cxx b/toolkit/source/awt/vclxpointer.cxx index b556d1bbdacf..cde9ca69e766 100644 --- a/toolkit/source/awt/vclxpointer.cxx +++ b/toolkit/source/awt/vclxpointer.cxx @@ -22,9 +22,9 @@ #include <toolkit/helper/macros.hxx> #include <cppuhelper/typeprovider.hxx> -// ---------------------------------------------------- + // class VCLXPointer -// ---------------------------------------------------- + VCLXPointer::VCLXPointer() { } diff --git a/toolkit/source/awt/vclxregion.cxx b/toolkit/source/awt/vclxregion.cxx index 8764d4cb5807..e7871e554e27 100644 --- a/toolkit/source/awt/vclxregion.cxx +++ b/toolkit/source/awt/vclxregion.cxx @@ -25,9 +25,9 @@ #include <rtl/uuid.h> #include <vcl/svapp.hxx> -// ---------------------------------------------------- + // class VCLXRegion -// ---------------------------------------------------- + VCLXRegion::VCLXRegion() { } diff --git a/toolkit/source/awt/vclxspinbutton.cxx b/toolkit/source/awt/vclxspinbutton.cxx index 3c3f0d4b7d33..3571719b5ddd 100644 --- a/toolkit/source/awt/vclxspinbutton.cxx +++ b/toolkit/source/awt/vclxspinbutton.cxx @@ -32,10 +32,10 @@ namespace toolkit ::com::sun::star::uno::Any getButtonLikeFaceColor( const Window* _pWindow ); } -//........................................................................ + namespace toolkit { -//........................................................................ + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::awt; @@ -56,9 +56,9 @@ namespace toolkit } } - //==================================================================== + //= VCLXSpinButton - //==================================================================== + DBG_NAME( VCLXSpinButton ) VCLXSpinButton::VCLXSpinButton() @@ -112,7 +112,7 @@ namespace toolkit typedef void (SpinButton::*SetSpinButtonValue) (long); typedef long (SpinButton::*GetSpinButtonValue) (void) const; - //................................................................ + void lcl_setSpinButtonValue(Window* _pWindow, SetSpinButtonValue _pSetter, sal_Int32 _nValue ) { SolarMutexGuard aGuard; @@ -121,7 +121,7 @@ namespace toolkit (pSpinButton->*_pSetter)( _nValue ); } - //................................................................ + sal_Int32 lcl_getSpinButtonValue(const Window* _pWindow, GetSpinButtonValue _pGetter ) { SolarMutexGuard aGuard; @@ -340,8 +340,8 @@ namespace toolkit return aReturn; } -//........................................................................ + } // namespace toolkit -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/awt/vclxsystemdependentwindow.cxx b/toolkit/source/awt/vclxsystemdependentwindow.cxx index 1579c02db8c0..91aead615cc0 100644 --- a/toolkit/source/awt/vclxsystemdependentwindow.cxx +++ b/toolkit/source/awt/vclxsystemdependentwindow.cxx @@ -37,9 +37,9 @@ #include <vcl/syschild.hxx> #include <vcl/sysdata.hxx> -// ---------------------------------------------------- + // class VCLXSystemDependentWindow -// ---------------------------------------------------- + VCLXSystemDependentWindow::VCLXSystemDependentWindow() { } diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx index 154e373476c8..337ea0dfe5c3 100644 --- a/toolkit/source/awt/vclxtabpagecontainer.cxx +++ b/toolkit/source/awt/vclxtabpagecontainer.cxx @@ -35,9 +35,9 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::view; -// ---------------------------------------------------- + // class VCLXTabPageContainer -// ---------------------------------------------------- + void VCLXTabPageContainer::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { VCLXWindow::ImplGetPropertyIds( rIds ); diff --git a/toolkit/source/awt/vclxtabpagemodel.cxx b/toolkit/source/awt/vclxtabpagemodel.cxx index 51756ed92220..f84e4755d1d0 100644 --- a/toolkit/source/awt/vclxtabpagemodel.cxx +++ b/toolkit/source/awt/vclxtabpagemodel.cxx @@ -24,9 +24,9 @@ #include <toolkit/helper/vclunohelper.hxx> #include <toolkit/helper/unopropertyarrayhelper.hxx> #include <cppuhelper/typeprovider.hxx> -// ---------------------------------------------------- + // class VCLXDialog -// ---------------------------------------------------- + VCLXTabPageModel::VCLXTabPageModel() { diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx index cf11f2ad3eb5..408612a7d2a4 100644 --- a/toolkit/source/awt/vclxtopwindow.cxx +++ b/toolkit/source/awt/vclxtopwindow.cxx @@ -236,9 +236,9 @@ void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display ) throw (Runt pWindow->SetScreenNumber( _display ); } -// ---------------------------------------------------- + // class VCLXTopWindow -// ---------------------------------------------------- + void VCLXTopWindow::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 6fdedf9ad8b4..08ded0437793 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -81,9 +81,9 @@ using ::com::sun::star::style::VerticalAlignment_MAKE_FIXED_SIZE; namespace WritingMode2 = ::com::sun::star::text::WritingMode2; namespace MouseWheelBehavior = ::com::sun::star::awt::MouseWheelBehavior; -//==================================================================== + //= VCLXWindowImpl -//==================================================================== + class VCLXWindowImpl { private: @@ -336,8 +336,8 @@ Reference< XStyleSettings > VCLXWindowImpl::getStyleSettings() return mxWindowStyleSettings; } -//==================================================================== -//==================================================================== + + // Uses an out-parameter instead of return value, due to the object reference @@ -355,9 +355,9 @@ void ImplInitWindowEvent( ::com::sun::star::awt::WindowEvent& rEvent, Window* pW pWindow->GetBorder( rEvent.LeftInset, rEvent.TopInset, rEvent.RightInset, rEvent.BottomInset ); } -// ---------------------------------------------------- + // class VCLXWindow -// ---------------------------------------------------- + DBG_NAME(VCLXWindow); diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 546aa7d5e74f..320b62a5cb0f 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -199,9 +199,9 @@ namespace toolkit } } -// ---------------------------------------------------- + // class VCLXGraphicControl -// ---------------------------------------------------- + void VCLXGraphicControl::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -330,7 +330,7 @@ void VCLXGraphicControl::setProperty( const OUString& PropertyName, const ::com: // class VCLXButton -// ---------------------------------------------------- + void VCLXButton::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -613,9 +613,9 @@ void VCLXButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } } -// ---------------------------------------------------- + // class VCLXImageControl -// ---------------------------------------------------- + void VCLXImageControl::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -744,9 +744,9 @@ void VCLXImageControl::setProperty( const OUString& PropertyName, const ::com::s return aProp; } -// ---------------------------------------------------- + // class VCLXCheckBox -// ---------------------------------------------------- + void VCLXCheckBox::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) @@ -1046,9 +1046,9 @@ void VCLXCheckBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } } -// ---------------------------------------------------- + // class VCLXRadioButton -// ---------------------------------------------------- + void VCLXRadioButton::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { PushPropertyIds( rIds, @@ -1329,9 +1329,9 @@ void VCLXRadioButton::ImplClickedOrToggled( bool bToggled ) } } -// ---------------------------------------------------- + // class VCLXSpinField -// ---------------------------------------------------- + void VCLXSpinField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { PushPropertyIds( rIds, @@ -1463,9 +1463,9 @@ void VCLXSpinField::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } -// ---------------------------------------------------- + // class VCLXListBox -// ---------------------------------------------------- + void VCLXListBox::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { PushPropertyIds( rIds, @@ -2172,9 +2172,9 @@ void SAL_CALL VCLXListBox::disposing( const EventObject& i_rEvent ) throw (Runti VCLXWindow::disposing( i_rEvent ); } -// ---------------------------------------------------- + // class VCLXMessageBox -// ---------------------------------------------------- + void VCLXMessageBox::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -2257,9 +2257,9 @@ sal_Int16 VCLXMessageBox::execute() throw(::com::sun::star::uno::RuntimeExceptio return ::com::sun::star::awt::Size( 250, 100 ); } -// ---------------------------------------------------- + // class VCLXDialog -// ---------------------------------------------------- + void VCLXDialog::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { VCLXTopWindow::ImplGetPropertyIds( rIds ); @@ -2443,9 +2443,9 @@ throw(::com::sun::star::uno::RuntimeException) } -// ---------------------------------------------------- + // class VCLXTabPage -// ---------------------------------------------------- + VCLXMultiPage::VCLXMultiPage() : maTabListeners( *this ), mTabId( 1 ) { OSL_TRACE("VCLXMultiPage::VCLXMultiPage()" ); @@ -2728,9 +2728,9 @@ void VCLXMultiPage::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) }; } -// ---------------------------------------------------- + // class VCLXTabPage -// ---------------------------------------------------- + VCLXTabPage::VCLXTabPage() { } @@ -2862,9 +2862,9 @@ TabPage *VCLXTabPage::getTabPage() const throw (uno::RuntimeException) throw uno::RuntimeException(); } -// ---------------------------------------------------- + // class VCLXFixedHyperlink -// ---------------------------------------------------- + VCLXFixedHyperlink::VCLXFixedHyperlink() : @@ -3154,9 +3154,9 @@ void VCLXFixedHyperlink::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) VCLXWindow::ImplGetPropertyIds( rIds ); } -// ---------------------------------------------------- + // class VCLXFixedText -// ---------------------------------------------------- + void VCLXFixedText::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { PushPropertyIds( rIds, @@ -3297,9 +3297,9 @@ short VCLXFixedText::getAlignment() throw(::com::sun::star::uno::RuntimeExceptio return VCLUnoHelper::ConvertToAWTSize( aAdjustedSize ); } -// ---------------------------------------------------- + // class VCLXScrollBar -// ---------------------------------------------------- + void VCLXScrollBar::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { PushPropertyIds( rIds, @@ -3774,9 +3774,9 @@ void VCLXScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } -// ---------------------------------------------------- + // class VCLXEdit -// ---------------------------------------------------- + void VCLXEdit::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -4151,9 +4151,9 @@ void VCLXEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } } -// ---------------------------------------------------- + // class VCLXComboBox -// ---------------------------------------------------- + void VCLXComboBox::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -4641,9 +4641,9 @@ void SAL_CALL VCLXComboBox::disposing( const EventObject& i_rEvent ) throw (Runt VCLXEdit::disposing( i_rEvent ); } -// ---------------------------------------------------- + // class VCLXFormattedSpinField -// ---------------------------------------------------- + void VCLXFormattedSpinField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { // Interestingly in the UnoControl API this is @@ -4746,9 +4746,9 @@ void VCLXFormattedSpinField::setProperty( const OUString& PropertyName, const :: } -// ---------------------------------------------------- + // class VCLXDateField -// ---------------------------------------------------- + void VCLXDateField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -5096,9 +5096,9 @@ sal_Bool VCLXDateField::isStrictFormat() throw(::com::sun::star::uno::RuntimeExc } -// ---------------------------------------------------- + // class VCLXTimeField -// ---------------------------------------------------- + void VCLXTimeField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -5405,9 +5405,9 @@ void VCLXTimeField::setProperty( const OUString& PropertyName, const ::com::sun: return aProp; } -// ---------------------------------------------------- + // class VCLXNumericField -// ---------------------------------------------------- + void VCLXNumericField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -5999,9 +5999,9 @@ void VCLXMetricField::setProperty( const OUString& PropertyName, const ::com::su } -// ---------------------------------------------------- + // class VCLXCurrencyField -// ---------------------------------------------------- + void VCLXCurrencyField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -6356,9 +6356,9 @@ void VCLXCurrencyField::setProperty( const OUString& PropertyName, const ::com:: return aProp; } -// ---------------------------------------------------- + // class VCLXPatternField -// ---------------------------------------------------- + void VCLXPatternField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds ) { @@ -6530,9 +6530,9 @@ void VCLXPatternField::setProperty( const OUString& PropertyName, const ::com::s return aProp; } -// ---------------------------------------------------- + // class VCLXToolBox -// ---------------------------------------------------- + VCLXToolBox::VCLXToolBox() { } @@ -6546,9 +6546,9 @@ VCLXToolBox::~VCLXToolBox() return getAccessibleFactory().createAccessibleContext( this ); } -// ---------------------------------------------------- + // class VCLXFrame -// ---------------------------------------------------- + VCLXFrame::VCLXFrame() { } |