summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/accessiblemenuitemcomponent.cxx
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 /accessibility/source/standard/accessiblemenuitemcomponent.cxx
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 'accessibility/source/standard/accessiblemenuitemcomponent.cxx')
-rw-r--r--accessibility/source/standard/accessiblemenuitemcomponent.cxx76
1 files changed, 38 insertions, 38 deletions
diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx
index 1e0cdbca8f8c..6a3fea7ad38e 100644
--- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx
+++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx
@@ -51,9 +51,9 @@ using namespace ::com::sun::star;
using namespace ::comphelper;
-// -----------------------------------------------------------------------------
+
// class OAccessibleMenuItemComponent
-// -----------------------------------------------------------------------------
+
OAccessibleMenuItemComponent::OAccessibleMenuItemComponent( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu )
:OAccessibleMenuBaseComponent( pMenu )
@@ -64,13 +64,13 @@ OAccessibleMenuItemComponent::OAccessibleMenuItemComponent( Menu* pParent, sal_u
m_sItemText = GetItemText();
}
-// -----------------------------------------------------------------------------
+
OAccessibleMenuItemComponent::~OAccessibleMenuItemComponent()
{
}
-// -----------------------------------------------------------------------------
+
sal_Bool OAccessibleMenuItemComponent::IsEnabled()
{
@@ -83,7 +83,7 @@ sal_Bool OAccessibleMenuItemComponent::IsEnabled()
return bEnabled;
}
-// -----------------------------------------------------------------------------
+
sal_Bool OAccessibleMenuItemComponent::IsVisible()
{
@@ -95,7 +95,7 @@ sal_Bool OAccessibleMenuItemComponent::IsVisible()
return bVisible;
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::Select()
{
@@ -113,7 +113,7 @@ void OAccessibleMenuItemComponent::Select()
m_pParent->HighlightItem( m_nItemPos );
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::DeSelect()
{
@@ -121,7 +121,7 @@ void OAccessibleMenuItemComponent::DeSelect()
m_pParent->DeHighlight();
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::Click()
{
@@ -169,14 +169,14 @@ void OAccessibleMenuItemComponent::Click()
}
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::SetItemPos( sal_uInt16 nItemPos )
{
m_nItemPos = nItemPos;
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::SetAccessibleName( const OUString& sAccessibleName )
{
@@ -190,7 +190,7 @@ void OAccessibleMenuItemComponent::SetAccessibleName( const OUString& sAccessibl
}
}
-// -----------------------------------------------------------------------------
+
OUString OAccessibleMenuItemComponent::GetAccessibleName()
{
@@ -207,7 +207,7 @@ OUString OAccessibleMenuItemComponent::GetAccessibleName()
return sName;
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::SetItemText( const OUString& sItemText )
{
@@ -219,7 +219,7 @@ void OAccessibleMenuItemComponent::SetItemText( const OUString& sItemText )
}
}
-// -----------------------------------------------------------------------------
+
OUString OAccessibleMenuItemComponent::GetItemText()
{
@@ -230,7 +230,7 @@ OUString OAccessibleMenuItemComponent::GetItemText()
return sText;
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet )
{
@@ -250,9 +250,9 @@ void OAccessibleMenuItemComponent::FillAccessibleStateSet( utl::AccessibleStateS
rStateSet.AddState( AccessibleStateType::OPAQUE );
}
-// -----------------------------------------------------------------------------
+
// OCommonAccessibleComponent
-// -----------------------------------------------------------------------------
+
awt::Rectangle OAccessibleMenuItemComponent::implGetBounds() throw (RuntimeException)
{
@@ -290,9 +290,9 @@ awt::Rectangle OAccessibleMenuItemComponent::implGetBounds() throw (RuntimeExcep
return aBounds;
}
-// -----------------------------------------------------------------------------
+
// XComponent
-// -----------------------------------------------------------------------------
+
void SAL_CALL OAccessibleMenuItemComponent::disposing()
{
@@ -303,9 +303,9 @@ void SAL_CALL OAccessibleMenuItemComponent::disposing()
m_sItemText = OUString();
}
-// -----------------------------------------------------------------------------
+
// XAccessibleContext
-// -----------------------------------------------------------------------------
+
sal_Int32 OAccessibleMenuItemComponent::getAccessibleChildCount() throw (RuntimeException)
{
@@ -314,7 +314,7 @@ sal_Int32 OAccessibleMenuItemComponent::getAccessibleChildCount() throw (Runtime
return 0;
}
-// -----------------------------------------------------------------------------
+
Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException)
{
@@ -326,7 +326,7 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_I
return Reference< XAccessible >();
}
-// -----------------------------------------------------------------------------
+
Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) throw (RuntimeException)
{
@@ -335,7 +335,7 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) t
return m_pParent->GetAccessible();
}
-// -----------------------------------------------------------------------------
+
sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) throw (RuntimeException)
{
@@ -344,7 +344,7 @@ sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) throw (Ru
return m_nItemPos;
}
-// -----------------------------------------------------------------------------
+
sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeException)
{
@@ -353,7 +353,7 @@ sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeExce
return AccessibleRole::UNKNOWN;
}
-// -----------------------------------------------------------------------------
+
OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (RuntimeException)
{
@@ -366,7 +366,7 @@ OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (Runtim
return sDescription;
}
-// -----------------------------------------------------------------------------
+
OUString OAccessibleMenuItemComponent::getAccessibleName( ) throw (RuntimeException)
{
@@ -375,7 +375,7 @@ OUString OAccessibleMenuItemComponent::getAccessibleName( ) throw (RuntimeExcep
return m_sAccessibleName;
}
-// -----------------------------------------------------------------------------
+
Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleRelationSet( ) throw (RuntimeException)
{
@@ -386,7 +386,7 @@ Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleR
return xSet;
}
-// -----------------------------------------------------------------------------
+
Locale OAccessibleMenuItemComponent::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException)
{
@@ -395,9 +395,9 @@ Locale OAccessibleMenuItemComponent::getLocale( ) throw (IllegalAccessibleCompo
return Application::GetSettings().GetLanguageTag().getLocale();
}
-// -----------------------------------------------------------------------------
+
// XAccessibleComponent
-// -----------------------------------------------------------------------------
+
Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException)
{
@@ -406,14 +406,14 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleAtPoint( con
return Reference< XAccessible >();
}
-// -----------------------------------------------------------------------------
+
void OAccessibleMenuItemComponent::grabFocus( ) throw (RuntimeException)
{
// no focus for items
}
-// -----------------------------------------------------------------------------
+
sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeException)
{
@@ -431,7 +431,7 @@ sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeExceptio
return nColor;
}
-// -----------------------------------------------------------------------------
+
sal_Int32 OAccessibleMenuItemComponent::getBackground( ) throw (RuntimeException)
{
@@ -449,9 +449,9 @@ sal_Int32 OAccessibleMenuItemComponent::getBackground( ) throw (RuntimeExceptio
return nColor;
}
-// -----------------------------------------------------------------------------
+
// XAccessibleExtendedComponent
-// -----------------------------------------------------------------------------
+
Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (RuntimeException)
{
@@ -469,7 +469,7 @@ Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (Runtime
return xFont;
}
-// -----------------------------------------------------------------------------
+
OUString OAccessibleMenuItemComponent::getTitledBorderText( ) throw (RuntimeException)
{
@@ -478,7 +478,7 @@ OUString OAccessibleMenuItemComponent::getTitledBorderText( ) throw (RuntimeExc
return OUString();
}
-// -----------------------------------------------------------------------------
+
OUString OAccessibleMenuItemComponent::getToolTipText( ) throw (RuntimeException)
{
@@ -491,7 +491,7 @@ OUString OAccessibleMenuItemComponent::getToolTipText( ) throw (RuntimeExceptio
return sRet;
}
-// -----------------------------------------------------------------------------
+
sal_Bool OAccessibleMenuItemComponent::IsMenuHideDisabledEntries()
{