diff options
author | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-03-06 02:04:46 +0100 |
---|---|---|
committer | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2012-03-06 02:06:12 +0100 |
commit | b9046068b187f52c2b64be694b9f6cf7e8602246 (patch) | |
tree | 020aee868c345a15a6c93ff375139097450012da /forms/source/component/Button.cxx | |
parent | don't crash when scrolling in input line, fdo#46975 (diff) | |
download | core-b9046068b187f52c2b64be694b9f6cf7e8602246.tar.gz core-b9046068b187f52c2b64be694b9f6cf7e8602246.zip |
Translate German comments, fix some whitespace and bad translations
Diffstat (limited to 'forms/source/component/Button.cxx')
-rw-r--r-- | forms/source/component/Button.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 0ae1f87ff53c..b3ceefaf2493 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -382,13 +382,13 @@ OButtonControl::OButtonControl(const Reference<XMultiServiceFactory>& _rxFactory { increment(m_refCount); { - // als ActionListener anmelden + // Register as ActionListener Reference<XButton> xButton; query_aggregation( m_xAggregate, xButton); if (xButton.is()) xButton->addActionListener(this); } - // Refcount bei 1 fuer Listener + // For Listener: refcount at one decrement(m_refCount); } @@ -399,7 +399,7 @@ OButtonControl::~OButtonControl() Application::RemoveUserEvent(m_nClickEvent); } -// UNO Anbindung +// UNO binding //------------------------------------------------------------------------------ Any SAL_CALL OButtonControl::queryAggregation(const Type& _rType) throw (RuntimeException) { @@ -437,7 +437,7 @@ void SAL_CALL OButtonControl::disposing( const EventObject& _rSource ) throw( Ru //------------------------------------------------------------------------------ void OButtonControl::actionPerformed(const ActionEvent& /*rEvent*/) throw ( ::com::sun::star::uno::RuntimeException) { - // Asynchron fuer starutil::URL-Button + // Asynchronous for starutil::URL-Button sal_uLong n = Application::PostUserEvent( LINK(this, OButtonControl,OnClick) ); { ::osl::MutexGuard aGuard( m_aMutex ); @@ -459,8 +459,8 @@ IMPL_LINK_NOARG(OButtonControl, OnClick) } else { - // Sonst nicht. Dann darf man aber auf keinen Fal die Listener - // benachrichtigen, auch dann nicht, wenn er spaeter hinzukommt. + // Else, don't. We then must not notify the Listeners in any case, + // not even if added later on. aGuard.clear(); // recognize the button type @@ -485,7 +485,7 @@ IMPL_LINK_NOARG(OButtonControl, OnClick) #ifdef DBG_UTIL catch( const RuntimeException& ) { - // silent this + // silence this } #endif catch( const Exception& ) @@ -685,7 +685,7 @@ sal_Int16 OButtonControl::getModelUrlFeatureId( ) const xModelProps->getPropertyValue( PROPERTY_BUTTONTYPE ) >>= eButtonType; } - // are we an URL button? + // are we a URL button? if ( eButtonType == FormButtonType_URL ) { // is it a feature URL? |