diff options
author | Herbert Dürr <hdu@apache.org> | 2013-11-28 12:17:31 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-11-28 12:17:31 +0000 |
commit | 8591dbcbac2dadd492faab5618ac7b1810bc8304 (patch) | |
tree | 7e4fbcb88e19abcde1198abaab831e7a2dcc4198 /accessibility | |
parent | bd0c3b940f6006d3cb49381230795db667aeb943 (diff) |
#i123768# [ia2] remove pseudo-automatic noisy comments
Notes
Notes:
merged as: 5585c4f2bf350d3e81d5963caad9a7a61baa9a20
Diffstat (limited to 'accessibility')
13 files changed, 0 insertions, 29 deletions
diff --git a/accessibility/inc/accessibility/extended/accessiblelistbox.hxx b/accessibility/inc/accessibility/extended/accessiblelistbox.hxx index d4beb371d8f2..7298070ecc14 100644 --- a/accessibility/inc/accessibility/extended/accessiblelistbox.hxx +++ b/accessibility/inc/accessibility/extended/accessiblelistbox.hxx @@ -116,7 +116,6 @@ namespace accessibility ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); void SAL_CALL deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); - // IA2 CWS sal_Int32 SAL_CALL getRoleType(); private: diff --git a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx index 1b47dc681216..6c58efbffe2d 100644 --- a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx +++ b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx @@ -52,7 +52,6 @@ #include <comphelper/accessibletexthelper.hxx> #include <rtl/ref.hxx> -// IAccessible2 implementation, 2009 #ifndef _SVTOOLS_HRC #include "svtools/svtools.hrc" #endif @@ -594,7 +593,6 @@ private: virtual ::css::uno::Reference< ::css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(::css::awt::Point const & rPoint) throw (::css::uno::RuntimeException); -// IAccessible2 implementation, 2009 virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ); // ??? Will be called with both the external (Solar) and internal mutex @@ -648,7 +646,6 @@ private: void handleSelectionChangeNotification(); void notifySelectionChange( sal_Int32 nFirst, sal_Int32 nLast ); -// IAccessible2 implementation, 2009 ::sal_Int32 getSelectionType(::sal_Int32 nNewFirstPara, ::sal_Int32 nNewFirstPos, ::sal_Int32 nNewLastPara, ::sal_Int32 nNewLastPos); void sendEvent(::sal_Int32 start, ::sal_Int32 end, ::sal_Int16 nEventId); diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx index f956f25a5177..bd9b016476e3 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx @@ -189,7 +189,6 @@ protected: virtual void ProcessWindowChildEvent (const VclWindowEvent& rVclWindowEvent); virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent); -// IAccessible2 implementation, 2009 virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ); private: diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx index 1d72d51dbef0..147a936c2d95 100644 --- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx +++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx @@ -130,7 +130,6 @@ namespace accessibility SolarMethodGuard aGuard( *this ); // TODO: localize this! -// IAccessible2 implementation, 2009 //String sName = mpBrowseBox->GetColumnDescription( getColumnPos( ) ); //if ( 0 == sName.Len() ) diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index af7620c5c3ed..c90b07fb8d63 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -115,7 +115,6 @@ namespace accessibility } } - // IA2 CWS void AccessibleListBoxEntry::NotifyAccessibleEvent( sal_Int16 _nEventId, const ::com::sun::star::uno::Any& _aOldValue, const ::com::sun::star::uno::Any& _aNewValue ) @@ -214,10 +213,8 @@ namespace accessibility { ::rtl::OUString sRet; SvLBoxEntry* pEntry = getListBox()->GetEntryFromPath( m_aEntryPath ); - //IAccessibility2 Implementation 2009----- if ( pEntry ) sRet = getListBox()->SearchEntryTextWithHeadTitle( pEntry ); - //-----IAccessibility2 Implementation 2009 return sRet; } // ----------------------------------------------------------------------------- @@ -390,10 +387,8 @@ namespace accessibility SvLBoxEntry* pParentEntry = getListBox()->GetEntryFromPath( m_aEntryPath ); DBG_ASSERT( pParentEntry, "AccessibleListBoxEntry::implGetParentAccessible: could not obtain a parent entry!" ); - //IAccessibility2 Implementation 2009----- if ( pParentEntry ) pParentEntry = getListBox()->GetParent(pParentEntry); - //-----IAccessibility2 Implementation 2009 if ( pParentEntry ) xParent = new AccessibleListBoxEntry( *getListBox(), pParentEntry, NULL ); // note that we pass NULL here as parent-accessible: @@ -885,9 +880,7 @@ namespace accessibility } }else if( (nIndex == 1 && (treeFlag & TREEFLAG_CHKBTN)) || nIndex == 0 ) { - //IAccessibility2 Implementation 2009----- if( pEntry->HasChilds() || pEntry->HasChildsOnDemand() ) - //-----IAccessibility2 Implementation 2009 return getListBox()->IsExpanded( pEntry ) ? \ ::rtl::OUString(TK_RES_STRING(STR_SVT_ACC_ACTION_COLLAPSE)) : ::rtl::OUString(TK_RES_STRING(STR_SVT_ACC_ACTION_EXPAND)); @@ -915,7 +908,6 @@ namespace accessibility ::osl::MutexGuard aGuard( m_aMutex ); EnsureIsAlive(); -// IAccessible2 implementation, 2009 // SvLBoxEntry* pParent = getListBox()->GetEntryFromPath( m_aEntryPath ); // SvLBoxEntry* pEntry = getListBox()->GetEntry( pParent, nChildIndex ); diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 7d8efb1438a4..f30f5b365efd 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -1540,7 +1540,6 @@ void Document::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { // #107179# if our parent is a compound control (e.g. MultiLineEdit), // suppress the window focus events here -// IAccessible2 implementation 2009 //if ( !m_bCompoundControlChild ) VCLXAccessibleComponent::ProcessWindowEvent( rVclWindowEvent ); } diff --git a/accessibility/source/helper/accessiblestrings.src b/accessibility/source/helper/accessiblestrings.src index 31b6719097fa..58cb41f0ae96 100644 --- a/accessibility/source/helper/accessiblestrings.src +++ b/accessibility/source/helper/accessiblestrings.src @@ -25,12 +25,10 @@ #include <accessibility/helper/accessiblestrings.hrc> #endif -//IAccessibility2 Impplementaton 2009----- String RID_STR_ACC_ACTION_CLICK { Text = "press"; }; -//-----IAccessibility2 Impplementaton 2009 String RID_STR_ACC_ACTION_TOGGLEPOPUP { diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx index 139a15e31699..0cce23829316 100644 --- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx +++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx @@ -238,9 +238,7 @@ sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw ( if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) throw IndexOutOfBoundsException(); - //IAccessibility2 Implementation 2009----- // return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) ); - //-----IAccessibility2 Implementation 2009 if(IsChecked()) return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_UNCHECK ) ); else diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index 624923f7009b..96008be18233 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -426,7 +426,6 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve case VCLEVENT_COMBOBOX_SCROLLED: UpdateEntryRange_Impl(); break; - // IAccessible2 implementation, 2009 /* case VCLEVENT_LISTBOX_SELECT: if ( !m_bDisableProcessEvent ) @@ -564,7 +563,6 @@ Reference<XAccessible> VCLXAccessibleList::CreateChild (sal_Int32 i) // check if position is empty and can be used else we have to adjust all entries behind this if ( xChild.is() ) { - // IAccessible2 implementation, 2009 /* ListItems::iterator aIter = m_aAccessibleChildren.begin() + nPos; ::std::mem_fun_t<bool, VCLXAccessibleListItem> aTemp(&VCLXAccessibleListItem::IncrementIndexInParent); @@ -584,7 +582,6 @@ Reference<XAccessible> VCLXAccessibleList::CreateChild (sal_Int32 i) sal_Bool bNowSelected = sal_False; if ( m_pListBoxHelper ) bNowSelected = m_pListBoxHelper->IsEntryPosSelected ((sal_uInt16)i); - // IAccessible2 implementation 2009 if (bNowSelected) m_nCurSelectedPos = sal_uInt16(i); VCLXAccessibleListItem* pItem = static_cast< VCLXAccessibleListItem* >(xChild.get()); @@ -605,7 +602,6 @@ Reference<XAccessible> VCLXAccessibleList::CreateChild (sal_Int32 i) void VCLXAccessibleList::HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex) { - // IAccessible2 implementation 2009 /* if ( !bItemInserted ) { @@ -1074,7 +1070,6 @@ awt::Rectangle VCLXAccessibleList::implGetBounds() throw (uno::RuntimeException) if ( pBox ) { Size aSize = pBox->GetSubEdit()->GetSizePixel(); - // IAccessible2 implementation, 2009 //aBounds.X += aSize.Height(); //aBounds.Y += aSize.Width(); aBounds.Y += aSize.Height(); diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index 9c3351126bb9..84932a601e83 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -318,7 +318,6 @@ Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleListItem::getAccessibleS { pStateSetHelper->AddState( AccessibleStateType::TRANSIENT ); - // IAccessible2 implementation, 2009 if(m_pListBoxHelper->IsEnabled()) { pStateSetHelper->AddState( AccessibleStateType::SELECTABLE ); diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx index e8bc42e834e6..3bce316fcc95 100644 --- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx +++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx @@ -465,9 +465,7 @@ sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw ( if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) throw IndexOutOfBoundsException(); - //IAccessibility2 Impplementaton 2009----- return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_SELECT ) ); - //-----IAccessibility2 Impplementaton 2009 } // ----------------------------------------------------------------------------- diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx index 8384a1f9e0ec..4b3ab9c80190 100644 --- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx +++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx @@ -276,7 +276,6 @@ Any VCLXAccessibleScrollBar::getMinimumValue( ) throw (RuntimeException) // ----------------------------------------------------------------------------- -// IAccessible2 implementation, 2009 ::rtl::OUString VCLXAccessibleScrollBar::getAccessibleName( ) throw (uno::RuntimeException) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibletabcontrol.cxx b/accessibility/source/standard/vclxaccessibletabcontrol.cxx index 1718a137ba67..b6e8c7b0e0c4 100644 --- a/accessibility/source/standard/vclxaccessibletabcontrol.cxx +++ b/accessibility/source/standard/vclxaccessibletabcontrol.cxx @@ -81,7 +81,6 @@ void VCLXAccessibleTabControl::UpdateFocused() void VCLXAccessibleTabControl::UpdateSelected( sal_Int32 i, bool bSelected ) { - // IAccessible2 implementation, 2009 //NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() ); if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) |