You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by al...@apache.org on 2013/11/27 18:25:54 UTC

svn commit: r1546124 [3/33] - in /openoffice/branches/alg/aw080: ./ main/ main/accessibility/inc/accessibility/extended/ main/accessibility/inc/accessibility/helper/ main/accessibility/inc/accessibility/standard/ main/accessibility/source/extended/ mai...

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblebutton.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblebutton.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblebutton.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblebutton.cxx Wed Nov 27 17:25:40 2013
@@ -103,6 +103,16 @@ void VCLXAccessibleButton::FillAccessibl
 
 		if ( pButton->IsPressed() )
             rStateSet.AddState( AccessibleStateType::PRESSED );
+
+        // IA2 CWS: If the button has a poppup menu,it should has the state EXPANDABLE
+        if( pButton->GetType() == WINDOW_MENUBUTTON )
+        {
+        	rStateSet.AddState( AccessibleStateType::EXPANDABLE );	
+        }
+		if( pButton->GetStyle() & WB_DEFBUTTON )
+		{
+			rStateSet.AddState( AccessibleStateType::DEFAULT );	
+		}
 	}
 }
 
@@ -145,6 +155,13 @@ Sequence< ::rtl::OUString > VCLXAccessib
 	OExternalLockGuard aGuard( this );
 
 	::rtl::OUString aName( VCLXAccessibleTextComponent::getAccessibleName() );
+
+	// IA2 CWS: Removed special handling for browse/more buttons. 
+	//          Comment was "the '...' or '<<' or '>>' should be kepted per the requirements from AT"
+	// MT: We did introduce this special handling by intention. 
+	//     As the original text is still what you get via XAccessibleText,
+	//     I think for the accessible name the stuff below is correct.
+
 	sal_Int32 nLength = aName.getLength();
 
 	if ( nLength >= 3 && aName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM("..."), nLength - 3 ) )

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblecheckbox.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblecheckbox.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblecheckbox.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblecheckbox.cxx Wed Nov 27 17:25:40 2013
@@ -238,7 +238,13 @@ sal_Bool VCLXAccessibleCheckBox::doAcces
 	if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
         throw IndexOutOfBoundsException();
 
-	return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) );
+	//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
+		return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CHECK ) );
 }
 
 // -----------------------------------------------------------------------------

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelist.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelist.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelist.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelist.cxx Wed Nov 27 17:25:40 2013
@@ -36,6 +36,12 @@
 #include <vcl/lstbox.hxx>
 #include <toolkit/helper/convert.hxx>
 
+#ifndef _UTL_ACCESSIBLERELATIONSETHELPER_HXX_
+#include <unotools/accessiblerelationsethelper.hxx>
+#endif
+#ifndef _COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLERELATIONTYPE_HPP_
+#include <com/sun/star/accessibility/AccessibleRelationType.hpp>
+#endif
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
@@ -65,6 +71,7 @@ VCLXAccessibleList::VCLXAccessibleList (
 	  m_nLastSelectedPos		( LISTBOX_ENTRY_NOTFOUND ),
 	  m_bDisableProcessEvent	( false ),
 	  m_bVisible				( true ),
+	m_nCurSelectedPos		( LISTBOX_ENTRY_NOTFOUND ),
       m_xParent                 ( _xParent )
 {
     // Because combo boxes and list boxes have the no common interface for
@@ -89,6 +96,7 @@ VCLXAccessibleList::VCLXAccessibleList (
         }
     }
     UpdateVisibleLineCount();
+	m_nCurSelectedPos=m_pListBoxHelper->GetSelectEntryPos();
 
 	sal_uInt16 nCount = static_cast<sal_uInt16>(getAccessibleChildCount());
 	m_aAccessibleChildren.reserve(nCount);
@@ -188,6 +196,218 @@ void VCLXAccessibleList::notifyVisibleSt
 	}
 }
 // -----------------------------------------------------------------------------
+void VCLXAccessibleList::UpdateSelection_Acc (::rtl::OUString sTextOfSelectedItem, bool b_IsDropDownList)
+{
+    if ( m_aBoxType == COMBOBOX )
+    {
+        ComboBox* pBox = static_cast<ComboBox*>(GetWindow());
+        if ( pBox != NULL )
+        {
+		// Find the index of the selected item inside the VCL control...
+		sal_uInt16 nIndex = pBox->GetEntryPos (XubString(sTextOfSelectedItem));
+		// ...and then find the associated accessibility object.
+		if ( nIndex == LISTBOX_ENTRY_NOTFOUND )
+			nIndex = 0;
+		UpdateSelection_Impl_Acc(b_IsDropDownList);
+        }
+    }
+}
+
+// -----------------------------------------------------------------------------
+void VCLXAccessibleList::UpdateSelection_Impl_Acc(bool b_IsDropDownList)
+{
+	uno::Any aOldValue, aNewValue;
+	VCLXAccessibleListItem* pCurItem =NULL;
+	
+	{
+		vos::OGuard aSolarGuard( Application::GetSolarMutex() );
+		::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
+	    	Reference< XAccessible > xNewAcc;
+		if ( m_pListBoxHelper )
+		{
+			sal_uInt16 i=0;
+			m_nCurSelectedPos = LISTBOX_ENTRY_NOTFOUND;
+			for ( ListItems::iterator aIter = m_aAccessibleChildren.begin();
+				  aIter != m_aAccessibleChildren.end(); ++aIter,++i)
+			{
+				Reference< XAccessible > xHold = *aIter;
+				if ( xHold.is() )
+				{
+					VCLXAccessibleListItem* pItem = static_cast< VCLXAccessibleListItem* >( xHold.get() );
+					// Retrieve the item's index from the list entry.
+					sal_Bool bNowSelected = m_pListBoxHelper->IsEntryPosSelected (i);
+					if (bNowSelected)
+						m_nCurSelectedPos = i;
+						
+					if ( bNowSelected && !pItem->IsSelected() )
+					{
+						xNewAcc = *aIter;
+						aNewValue <<= xNewAcc;
+
+						pCurItem = pItem;
+
+					}
+					else if ( pItem->IsSelected() )
+						m_nLastSelectedPos = i;
+
+					pItem->SetSelected( bNowSelected );
+				}
+				else
+				{ // it could happen that a child was not created before
+					checkEntrySelected(i,aNewValue,xNewAcc);
+				}
+			}
+			sal_uInt16 nCount = m_pListBoxHelper->GetEntryCount();
+			if ( i < nCount ) // here we have to check the if any other listbox entry is selected
+			{
+				for (; i < nCount && !checkEntrySelected(i,aNewValue,xNewAcc) ;++i )
+					;
+			}
+			if ( xNewAcc.is() && GetWindow()->HasFocus() )
+			{
+				if ( m_nLastSelectedPos != LISTBOX_ENTRY_NOTFOUND )
+					aOldValue <<= getAccessibleChild( (sal_Int32)m_nLastSelectedPos );
+				aNewValue <<= xNewAcc;
+			}
+		}
+	}
+	if (m_aBoxType == COMBOBOX && b_IsDropDownList)
+	{
+		//VCLXAccessibleDropDownComboBox
+		//when in list is dropped down, xText = NULL
+		if (m_pListBoxHelper->IsInDropDown())
+		{
+			if ( aNewValue.hasValue() || aOldValue.hasValue() )
+			{
+				NotifyAccessibleEvent(
+					AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+					aOldValue,
+					aNewValue );
+
+				NotifyListItem(aNewValue);
+
+			}
+		}
+	}
+	else if (m_aBoxType == COMBOBOX && !b_IsDropDownList)
+	{
+		//VCLXAccessibleComboBox
+		NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, uno::Any(), uno::Any() );
+	}
+	else if (m_aBoxType == LISTBOX && b_IsDropDownList)
+	{
+		//VCLXAccessibleDropdownListBox
+		//when in list is dropped down, xText = NULL
+		if (m_pListBoxHelper->IsInDropDown())
+		{
+			if ( aNewValue.hasValue() || aOldValue.hasValue() )
+			{
+				NotifyAccessibleEvent(
+					AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+					aOldValue,
+					aNewValue );
+				
+				NotifyListItem(aNewValue);
+			}
+		}
+	}
+	else if (m_aBoxType == LISTBOX && !b_IsDropDownList)
+	{
+		//VCLXAccessibleListBox, xText = NULL. 
+
+
+		if ( aNewValue.hasValue())
+		{
+			NotifyListItem(aNewValue);		
+		}
+	}
+}
+void VCLXAccessibleList::NotifyListItem(::com::sun::star::uno::Any& val)
+{
+	Reference< XAccessible > xCurItem;
+	val >>= xCurItem;
+	if (xCurItem.is())
+	{
+		VCLXAccessibleListItem* pCurItem = static_cast< VCLXAccessibleListItem* >(xCurItem.get());
+		if (pCurItem)
+		{
+			pCurItem->NotifyAccessibleEvent(AccessibleEventId::SELECTION_CHANGED,Any(),Any());
+		}
+	}				
+}
+
+
+void VCLXAccessibleList::UpdateFocus_Impl_Acc (sal_uInt16 nPos ,bool b_IsDropDownList)
+{	
+	if (!(m_aBoxType == LISTBOX && !b_IsDropDownList))
+	{
+		return ;
+	}
+    Reference<XAccessible> xChild= CreateChild(nPos);
+	if ( !xChild.is() )
+	{
+		return ;
+	}
+	m_nCurSelectedPos = nPos;
+	uno::Any aOldValue, aNewValue;
+	aNewValue <<= xChild;
+	
+	NotifyAccessibleEvent(
+			AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+			aOldValue,
+			aNewValue );
+}
+
+// -----------------------------------------------------------------------------
+void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent,  bool b_IsDropDownList)
+{
+	switch ( rVclWindowEvent.GetId() )
+      {
+		case VCLEVENT_LISTBOX_SELECT:
+			if ( !m_bDisableProcessEvent )
+				UpdateSelection_Impl_Acc(b_IsDropDownList);
+			break;
+		case VCLEVENT_LISTBOX_FOCUSITEMCHANGED:
+			if ( !m_bDisableProcessEvent )
+				UpdateFocus_Impl_Acc((sal_uInt16)reinterpret_cast<sal_uIntPtr>(rVclWindowEvent.GetData()),b_IsDropDownList);
+			break;
+		case VCLEVENT_WINDOW_GETFOCUS:
+			break;
+		case VCLEVENT_CONTROL_GETFOCUS:
+			{
+				VCLXAccessibleComponent::ProcessWindowEvent (rVclWindowEvent);
+				if (m_aBoxType == COMBOBOX && b_IsDropDownList)
+				{
+					//VCLXAccessibleDropDownComboBox				
+				}
+				else if (m_aBoxType == LISTBOX && b_IsDropDownList)
+				{
+				}
+				else if ( m_aBoxType == LISTBOX && !b_IsDropDownList)
+				{
+					if ( m_pListBoxHelper )
+					{
+						uno::Any	aOldValue, 
+									aNewValue;
+						sal_uInt16 nPos = m_nCurSelectedPos; //m_pListBoxHelper->GetSelectEntryPos();
+
+						if ( nPos == LISTBOX_ENTRY_NOTFOUND )
+							nPos = m_pListBoxHelper->GetTopEntry();
+						if ( nPos != LISTBOX_ENTRY_NOTFOUND )
+							aNewValue <<= CreateChild(nPos);
+						NotifyAccessibleEvent(	AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+												aOldValue,
+												aNewValue );
+					}
+				}
+			}
+			break;
+		default:
+			break;
+	}	
+
+}
+// -----------------------------------------------------------------------------
 void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent)
 {
     // Create a reference to this object to prevent an early release of the
@@ -206,11 +426,13 @@ void VCLXAccessibleList::ProcessWindowEv
 		case VCLEVENT_COMBOBOX_SCROLLED:
 			UpdateEntryRange_Impl();
 			break;
-
+		// IAccessible2 implementation, 2009
+		/*
 		case VCLEVENT_LISTBOX_SELECT:
 			if ( !m_bDisableProcessEvent )
 				UpdateSelection_Impl();
 			break;
+		*/
 		// The selection events VCLEVENT_COMBOBOX_SELECT and
 		// VCLEVENT_COMBOBOX_DESELECT are not handled here because here we
 		// have no access to the edit field.  Its text is necessary to
@@ -236,20 +458,29 @@ void VCLXAccessibleList::ProcessWindowEv
                 rVclWindowEvent.GetData()));
             break;
 		case VCLEVENT_CONTROL_GETFOCUS:
-            VCLXAccessibleComponent::ProcessWindowEvent (rVclWindowEvent);
-			if ( m_pListBoxHelper )
 			{
-				uno::Any	aOldValue, 
-							aNewValue;
-				sal_uInt16 nPos = m_pListBoxHelper->GetSelectEntryPos();
-				if ( nPos == LISTBOX_ENTRY_NOTFOUND )
-					nPos = m_pListBoxHelper->GetTopEntry();
-				if ( nPos != LISTBOX_ENTRY_NOTFOUND )
-					aNewValue <<= CreateChild(nPos);
-
-				NotifyAccessibleEvent(	AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
-										aOldValue,
-										aNewValue );
+	            VCLXAccessibleComponent::ProcessWindowEvent (rVclWindowEvent);
+				// Added by IBM Symphony Acc team to handle the list item focus when List control get focus
+				sal_Bool b_IsDropDownList = sal_True;
+				if (m_pListBoxHelper)
+					b_IsDropDownList = ((m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) == WB_DROPDOWN);
+				if ( m_aBoxType == LISTBOX && !b_IsDropDownList )
+				{
+					if ( m_pListBoxHelper )
+					{
+						uno::Any	aOldValue, 
+									aNewValue;
+						sal_uInt16 nPos = m_nCurSelectedPos; 
+
+						if ( nPos == LISTBOX_ENTRY_NOTFOUND )
+							nPos = m_pListBoxHelper->GetTopEntry();
+						if ( nPos != LISTBOX_ENTRY_NOTFOUND )
+							aNewValue <<= CreateChild(nPos);
+						NotifyAccessibleEvent(	AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+												aOldValue,
+												aNewValue );
+					}
+				}
 			}
 			break;
 
@@ -257,6 +488,24 @@ void VCLXAccessibleList::ProcessWindowEv
             VCLXAccessibleComponent::ProcessWindowEvent (rVclWindowEvent);
     }
 }
+
+ void VCLXAccessibleList::FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet )
+{
+	ListBox* pBox = static_cast<ListBox*>(GetWindow());
+	if( m_aBoxType == LISTBOX  )
+	{
+		if (m_pListBoxHelper && (m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) != WB_DROPDOWN)
+		{
+			uno::Sequence< uno::Reference< uno::XInterface > > aSequence(1);
+			aSequence[0] = pBox->GetAccessible();
+			rRelationSet.AddRelation( com::sun::star::accessibility::AccessibleRelation( com::sun::star::accessibility::AccessibleRelationType::MEMBER_OF, aSequence ) );
+		}
+	}
+	else
+	{
+		VCLXAccessibleComponent::FillAccessibleRelationSet(rRelationSet);	
+	}
+}
 // -----------------------------------------------------------------------------
 
 /** To find out which item is currently selected and to update the SELECTED
@@ -315,9 +564,12 @@ Reference<XAccessible> VCLXAccessibleLis
 		// 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);
 			adjustEntriesIndexInParent(	aIter, aTemp);
+			*/
 		}
 		else
 		{
@@ -332,6 +584,9 @@ Reference<XAccessible> VCLXAccessibleLis
 		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());
         pItem->SetSelected( bNowSelected );
 
@@ -350,6 +605,8 @@ Reference<XAccessible> VCLXAccessibleLis
 
 void VCLXAccessibleList::HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex)
 {
+	// IAccessible2 implementation 2009
+	/*
     if ( !bItemInserted )
 	{
 		if ( nIndex == -1 ) // special handling here
@@ -368,7 +625,8 @@ void VCLXAccessibleList::HandleChangedIt
 	}
 	else
 		getAccessibleChild(nIndex);
-
+	*/	
+	clearItems();	
     NotifyAccessibleEvent (
         AccessibleEventId::INVALIDATE_ALL_CHILDREN,
         Any(), Any());
@@ -415,7 +673,7 @@ Reference<XAccessible> SAL_CALL VCLXAcce
 
     Reference< XAccessible > xChild;
     // search for the child
-	if ( static_cast<sal_uInt16>(i) >= m_aAccessibleChildren.size() )
+	if ( i >= static_cast<sal_Int32>(m_aAccessibleChildren.size()) )
 		xChild = CreateChild (i);
 	else
 	{
@@ -600,6 +858,7 @@ void VCLXAccessibleList::UpdateSelection
 		if ( m_pListBoxHelper )
 		{
 			sal_uInt16 i=0;
+			m_nCurSelectedPos = LISTBOX_ENTRY_NOTFOUND;
 			for ( ListItems::iterator aIter = m_aAccessibleChildren.begin();
 				  aIter != m_aAccessibleChildren.end(); ++aIter,++i)
 			{
@@ -609,6 +868,8 @@ void VCLXAccessibleList::UpdateSelection
 					VCLXAccessibleListItem* pItem = static_cast< VCLXAccessibleListItem* >( xHold.get() );
 					// Retrieve the item's index from the list entry.
 					sal_Bool bNowSelected = m_pListBoxHelper->IsEntryPosSelected (i);
+					if (bNowSelected)
+						m_nCurSelectedPos = i;
 
 					if ( bNowSelected && !pItem->IsSelected() )
 					{
@@ -639,14 +900,19 @@ void VCLXAccessibleList::UpdateSelection
 			}
 		}
 	}
-
-    if ( aNewValue.hasValue() || aOldValue.hasValue() )
-		NotifyAccessibleEvent(
-            AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
-            aOldValue,
-            aNewValue );
-
-	NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() );
+	if (!m_pListBoxHelper->IsInDropDown())
+	{
+	}
+	else
+	{
+		if ( aNewValue.hasValue() || aOldValue.hasValue() )
+			NotifyAccessibleEvent(
+				AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+				aOldValue,
+				aNewValue );
+		//the SELECTION_CHANGED is not necessary
+		//NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() );
+	}
 }
 
 // -----------------------------------------------------------------------------
@@ -808,10 +1074,12 @@ awt::Rectangle VCLXAccessibleList::implG
 			if ( pBox )
 			{
 				Size aSize = pBox->GetSubEdit()->GetSizePixel();
-				aBounds.X += aSize.Height();
-				aBounds.Y += aSize.Width();
+				// IAccessible2 implementation, 2009
+				//aBounds.X += aSize.Height();
+				//aBounds.Y += aSize.Width();
+				aBounds.Y += aSize.Height();
 				aBounds.Height -= aSize.Height();
-				aBounds.Width  -= aSize.Width();
+				//aBounds.Width  -= aSize.Width();
 			}
 		}
 	}
@@ -839,12 +1107,33 @@ awt::Point VCLXAccessibleList::getLocati
 			ComboBox* pBox = static_cast<ComboBox*>(GetWindow());
 			if ( pBox )
 			{
-				aPos.X += pBox->GetSubEdit()->GetSizePixel().Height();
-				aPos.Y += pBox->GetSubEdit()->GetSizePixel().Width();
+				//aPos.X += pBox->GetSubEdit()->GetSizePixel().Height();
+				//aPos.Y += pBox->GetSubEdit()->GetSizePixel().Width();
+				aPos.Y += pBox->GetSubEdit()->GetSizePixel().Height();
 			}
 		}
 	}
 	return aPos;
 }
 // -----------------------------------------------------------------------------
-
+sal_Bool	VCLXAccessibleList::IsInDropDown() 
+{
+	return m_pListBoxHelper->IsInDropDown();
+}
+// -----------------------------------------------------------------------------
+void VCLXAccessibleList::HandleDropOpen()
+{
+	if ( !m_bDisableProcessEvent )
+		UpdateSelection_Impl();
+	if (m_nCurSelectedPos != LISTBOX_ENTRY_NOTFOUND &&
+		m_nLastSelectedPos != LISTBOX_ENTRY_NOTFOUND)
+	{
+		Reference< XAccessible > xChild = getAccessibleChild(m_nCurSelectedPos);
+		if(xChild.is())
+		{
+			uno::Any aNewValue;
+			aNewValue <<= xChild;
+			NotifyAccessibleEvent(AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,	uno::Any(), aNewValue );
+		}
+	}
+}

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelistitem.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelistitem.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelistitem.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblelistitem.cxx Wed Nov 27 17:25:40 2013
@@ -317,9 +317,15 @@ Reference< XAccessibleStateSet > SAL_CAL
 	if ( !rBHelper.bDisposed && !rBHelper.bInDispose )
 	{
         pStateSetHelper->AddState( AccessibleStateType::TRANSIENT );
-        pStateSetHelper->AddState( AccessibleStateType::SELECTABLE );
-        pStateSetHelper->AddState( AccessibleStateType::ENABLED );
-        pStateSetHelper->AddState( AccessibleStateType::SENSITIVE );
+
+		// IAccessible2 implementation, 2009
+		if(m_pListBoxHelper->IsEnabled())	
+		{
+	    	pStateSetHelper->AddState( AccessibleStateType::SELECTABLE );
+	    	pStateSetHelper->AddState( AccessibleStateType::ENABLED );
+	    	pStateSetHelper->AddState( AccessibleStateType::SENSITIVE );
+		}
+
         if ( m_bSelected )
 			pStateSetHelper->AddState( AccessibleStateType::SELECTED );
 		if ( m_bVisible )

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenu.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenu.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenu.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenu.cxx Wed Nov 27 17:25:40 2013
@@ -249,3 +249,14 @@ void VCLXAccessibleMenu::deselectAccessi
 }
 
 // -----------------------------------------------------------------------------
+
+::rtl::OUString VCLXAccessibleMenu::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException)
+{
+	OExternalLockGuard aGuard( this );
+
+	if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
+        throw IndexOutOfBoundsException();
+
+	return ::rtl::OUString(  );
+}
+

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenuitem.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenuitem.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenuitem.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblemenuitem.cxx Wed Nov 27 17:25:40 2013
@@ -191,8 +191,19 @@ Sequence< ::rtl::OUString > VCLXAccessib
 sal_Int16 VCLXAccessibleMenuItem::getAccessibleRole(  ) throw (RuntimeException)
 {
 	OExternalLockGuard aGuard( this );
-
-	return AccessibleRole::MENU_ITEM;
+	// IA2 CWS. MT: We had the aditional roles in UAA for ever, but never used them anywhere.
+	// Looks reasonable, but need to verify in Orca and VoiceOver.
+	sal_Int16 nRole = AccessibleRole::MENU_ITEM;
+	if ( m_pParent )
+	{
+		sal_uInt16 nItemId = m_pParent->GetItemId( m_nItemPos );
+		MenuItemBits nItemBits = m_pParent->GetItemBits(nItemId);
+		if(  nItemBits & MIB_RADIOCHECK)
+			nRole = AccessibleRole::RADIO_MENU_ITEM;
+		else if( nItemBits & MIB_CHECKABLE)
+			nRole = AccessibleRole::CHECK_MENU_ITEM;
+	}
+	return nRole;
 }
 
 // -----------------------------------------------------------------------------
@@ -454,8 +465,9 @@ sal_Bool VCLXAccessibleMenuItem::doAcces
 
 	if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
         throw IndexOutOfBoundsException();
-
-	return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) );
+	//IAccessibility2 Impplementaton 2009-----
+	return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_SELECT ) );
+	//-----IAccessibility2 Impplementaton 2009
 }
 
 // -----------------------------------------------------------------------------

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibleradiobutton.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibleradiobutton.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibleradiobutton.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibleradiobutton.cxx Wed Nov 27 17:25:40 2013
@@ -197,8 +197,7 @@ sal_Bool VCLXAccessibleRadioButton::doAc
 
 	if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
         throw IndexOutOfBoundsException();
-
-	return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) );
+	return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_SELECT ) );
 }
 
 // -----------------------------------------------------------------------------

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblescrollbar.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblescrollbar.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblescrollbar.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessiblescrollbar.cxx Wed Nov 27 17:25:40 2013
@@ -88,7 +88,8 @@ void VCLXAccessibleScrollBar::FillAccess
 	VCLXScrollBar* pVCLXScrollBar = static_cast< VCLXScrollBar* >( GetVCLXWindow() );
 	if ( pVCLXScrollBar )
 	{
-        rStateSet.AddState( AccessibleStateType::FOCUSABLE );
+		// IA2 CWS: scroll bar should not have FOCUSABLE state.
+        // rStateSet.AddState( AccessibleStateType::FOCUSABLE );
 		if ( pVCLXScrollBar->getOrientation() == ScrollBarOrientation::HORIZONTAL )
             rStateSet.AddState( AccessibleStateType::HORIZONTAL );
 		else if ( pVCLXScrollBar->getOrientation() == ScrollBarOrientation::VERTICAL )
@@ -274,3 +275,21 @@ Any VCLXAccessibleScrollBar::getMinimumV
 }
 
 // -----------------------------------------------------------------------------
+
+// IAccessible2 implementation, 2009
+::rtl::OUString VCLXAccessibleScrollBar::getAccessibleName(  ) throw (uno::RuntimeException)
+{
+	OExternalLockGuard aGuard( this );
+
+	::rtl::OUString aName;
+	VCLXScrollBar* pVCLXScrollBar = static_cast< VCLXScrollBar* >( GetVCLXWindow() );
+	if ( pVCLXScrollBar )
+	{
+		if ( pVCLXScrollBar->getOrientation() == ScrollBarOrientation::HORIZONTAL )
+            aName = TK_RES_STRING( RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL );
+		else if ( pVCLXScrollBar->getOrientation() == ScrollBarOrientation::VERTICAL )
+            aName = TK_RES_STRING( RID_STR_ACC_SCROLLBAR_NAME_VERTICAL );
+	}
+	return aName;
+}
+

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletabcontrol.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletabcontrol.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletabcontrol.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletabcontrol.cxx Wed Nov 27 17:25:40 2013
@@ -81,7 +81,8 @@ void VCLXAccessibleTabControl::UpdateFoc
 
 void VCLXAccessibleTabControl::UpdateSelected( sal_Int32 i, bool bSelected )
 {
-	NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() );
+	// IAccessible2 implementation, 2009
+	//NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() );
 
 	if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() )
 	{

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletextcomponent.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletextcomponent.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletextcomponent.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletextcomponent.cxx Wed Nov 27 17:25:40 2013
@@ -189,10 +189,62 @@ Sequence< PropertyValue > VCLXAccessible
 
     if ( GetWindow() )
     {
-        Font aFont = GetWindow()->GetControlFont();
-        sal_Int32 nBackColor = GetWindow()->GetControlBackground().GetColor();
-        sal_Int32 nColor = GetWindow()->GetControlForeground().GetColor();
-        ::std::auto_ptr< CharacterAttributesHelper > pHelper( new CharacterAttributesHelper( aFont, nBackColor, nColor ) );
+		Font aFont = GetWindow()->GetControlFont();
+
+		sal_Int32 nBackColor = GetWindow()->GetControlBackground().GetColor();
+		sal_Int32 nColor = GetWindow()->GetControlForeground().GetColor();
+
+		// MT: Code with default font was introduced with the IA2 CWS, but I am not convinced that this is the correct font...
+		// Decide what to do when we have a concrete issue.
+		/*
+		Font aDefaultVCLFont;
+		OutputDevice* pDev = Application::GetDefaultDevice();
+		if ( pDev )
+		{	
+			aDefaultVCLFont = pDev->GetSettings().GetStyleSettings().GetAppFont();
+			if ( !aFont.GetName().Len() )
+			{
+				String aDefaultName = aDefaultVCLFont.GetName();
+				aFont.SetName( aDefaultName );
+			}
+			if ( !aFont.GetHeight() )
+			{
+				aFont.SetHeight( aDefaultVCLFont.GetHeight() );
+			}
+			if ( aFont.GetWeight() == WEIGHT_DONTKNOW )
+			{
+				aFont.SetWeight( aDefaultVCLFont.GetWeight() );
+			}
+
+			//if nColor is -1, it may indicate that the default color black is using.
+			if ( nColor == -1)
+			{
+				nColor = aDefaultVCLFont.GetColor().GetColor();
+			}
+		}
+		*/
+
+		// MT: Adjustment stuff was introduced with the IA2 CWS, but adjustment is not a character attribute...
+		// In case we reintroduce it, use adjustment as extra parameter for the CharacterAttributesHelper...
+		/*
+		WinBits aBits = GetWindow()->GetStyle();
+		sal_Int16 nAdjust = -1;
+		if ( aBits & WB_LEFT )
+		{
+			nAdjust = style::ParagraphAdjust_LEFT;
+		}
+		else if ( aBits & WB_RIGHT )
+		{
+			nAdjust = style::ParagraphAdjust_RIGHT;
+		}
+		else if ( aBits & WB_CENTER )
+		{
+			nAdjust = style::ParagraphAdjust_CENTER;
+		}
+		*/
+
+		::std::auto_ptr< CharacterAttributesHelper > pHelper( new CharacterAttributesHelper( aFont, nBackColor, nColor ) );
+		
 		aValues = pHelper->GetCharacterAttributes( aRequestedAttributes );
     }
 

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolbox.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolbox.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolbox.cxx Wed Nov 27 17:25:40 2013
@@ -208,7 +208,7 @@ VCLXAccessibleToolBoxItem* VCLXAccessibl
 	{
 		ToolBoxItemsMap::iterator aIter = m_aAccessibleChildren.find( _nPos );
 		// returns only toolbox buttons, not windows
-		if ( aIter != m_aAccessibleChildren.end()  && !aIter->second.is())
+		if ( aIter != m_aAccessibleChildren.end()  && aIter->second.is())
 			pItem =	static_cast< VCLXAccessibleToolBoxItem* >( aIter->second.get() );
 	}
 
@@ -284,11 +284,14 @@ void VCLXAccessibleToolBox::ReleaseFocus
 	}
 }
 // -----------------------------------------------------------------------------
-void VCLXAccessibleToolBox::UpdateChecked_Impl( sal_Int32  )
+void VCLXAccessibleToolBox::UpdateChecked_Impl( sal_Int32 _nPos )
 {
     ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() );
     if ( pToolBox )
 	{
+		sal_uInt16 nFocusId = pToolBox->GetItemId( (sal_uInt16)_nPos );
+		VCLXAccessibleToolBoxItem* pFocusItem = NULL;
+
 	    for ( ToolBoxItemsMap::iterator aIter = m_aAccessibleChildren.begin();
 			  aIter != m_aAccessibleChildren.end(); ++aIter )
 		{
@@ -297,7 +300,12 @@ void VCLXAccessibleToolBox::UpdateChecke
                 VCLXAccessibleToolBoxItem* pItem =
                     static_cast< VCLXAccessibleToolBoxItem* >( aIter->second.get() );
                 pItem->SetChecked( pToolBox->IsItemChecked( nItemId ) );
+                if ( nItemId == nFocusId )
+                    pFocusItem = pItem;
         }
+		//Solution:If the position is not a child item,the focus should not be called
+		if ( pFocusItem && (sal_uInt16)_nPos != TOOLBOX_ITEM_NOTFOUND )
+			pFocusItem->SetFocus( sal_True );
 	}
 }
 // -----------------------------------------------------------------------------
@@ -535,23 +543,41 @@ void VCLXAccessibleToolBox::ProcessWindo
 	// to prevent an early release of the toolbox (VCLEVENT_OBJECT_DYING)
 	Reference< XAccessibleContext > xTemp = this;
 
+	ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() ); 
 	switch ( rVclWindowEvent.GetId() )
 	{
 		case VCLEVENT_TOOLBOX_CLICK:
+		case VCLEVENT_TOOLBOX_SELECT: 
         {
 			if ( rVclWindowEvent.GetData() )
             {
                 UpdateChecked_Impl( (sal_Int32)(sal_IntPtr)rVclWindowEvent.GetData() );
                 UpdateIndeterminate_Impl( (sal_Int32)(sal_IntPtr)rVclWindowEvent.GetData() );
             }
+			else if( pToolBox->GetItemPos(pToolBox->GetCurItemId()) != TOOLBOX_ITEM_NOTFOUND )
+			{
+				UpdateChecked_Impl( pToolBox->GetItemPos(pToolBox->GetCurItemId()) );
+		                UpdateIndeterminate_Impl( pToolBox->GetItemPos(pToolBox->GetCurItemId()) );
+			}
 			break;
         }
 		case VCLEVENT_TOOLBOX_DOUBLECLICK:
 		case VCLEVENT_TOOLBOX_ACTIVATE:
 		case VCLEVENT_TOOLBOX_DEACTIVATE:
-    	case VCLEVENT_TOOLBOX_SELECT:
+    	//case VCLEVENT_TOOLBOX_SELECT:
 			break;
-
+		// IA2 CWS. MT: Still using VCLEVENT_TOOLBOX_CLICK, see comment in vcl/source/window/toolbox2.cxx
+		/*
+		case VCLEVENT_TOOLBOX_ITEMUPDATED:
+		{
+	    	if ( rVclWindowEvent.GetData() )
+	        {
+				UpdateChecked_Impl( TOOLBOX_ITEM_NOTFOUND );
+	            UpdateIndeterminate_Impl( (sal_Int32)rVclWindowEvent.GetData() );
+	        }	
+		break;
+		}
+		*/
 		case VCLEVENT_TOOLBOX_HIGHLIGHT:
 			UpdateFocus_Impl();
 			break;

Modified: openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolboxitem.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolboxitem.cxx (original)
+++ openoffice/branches/alg/aw080/main/accessibility/source/standard/vclxaccessibletoolboxitem.cxx Wed Nov 27 17:25:40 2013
@@ -97,6 +97,10 @@ VCLXAccessibleToolBoxItem::VCLXAccessibl
 			else if (( ( nBits & TIB_CHECKABLE ) == TIB_CHECKABLE ) ||
                 ( ( nBits & TIB_AUTOCHECK ) == TIB_AUTOCHECK ) )
 				m_nRole	= AccessibleRole::TOGGLE_BUTTON;
+			else if ( (nBits & TIB_DROPDOWN) == TIB_DROPDOWN )
+			{
+				m_nRole	= AccessibleRole::BUTTON_DROPDOWN;
+			}
 			else if ( m_pToolBox->GetItemWindow( m_nItemId ) )
 				m_nRole	= AccessibleRole::PANEL;
 			break;
@@ -144,6 +148,18 @@ VCLXAccessibleToolBoxItem::~VCLXAccessib
 //				sRet += String( RTL_CONSTASCII_USTRINGPARAM( " " ) );
 //			sRet += sWinText;
 //		}
+		if (  sRet.getLength() == 0 )
+		{
+			Window* pItemWindow = m_pToolBox->GetItemWindow( m_nItemId );
+			if ( m_nRole == AccessibleRole::PANEL && pItemWindow && pItemWindow->GetAccessible().is() &&
+				 pItemWindow->GetAccessible()->getAccessibleContext().is() )
+			{
+				::rtl::OUString sWinText = pItemWindow->GetAccessible()->getAccessibleContext()->getAccessibleName();
+				 if ( sWinText.getLength() > 0 ) 
+					sRet = sWinText;
+			}
+		}
+
 	}
 	return sRet;
 }
@@ -165,6 +181,8 @@ void VCLXAccessibleToolBoxItem::SetFocus
 // -----------------------------------------------------------------------------
 void VCLXAccessibleToolBoxItem::SetChecked( sal_Bool _bCheck )
 {
+	if( m_nRole	== AccessibleRole::PANEL)
+		return;
 	if ( m_bIsChecked != _bCheck )
 	{
 		Any aOldValue;
@@ -370,11 +388,19 @@ sal_Int16 SAL_CALL VCLXAccessibleToolBox
 {
 	OExternalLockGuard aGuard( this );
 
-	::rtl::OUString sDescription;
-	if ( m_pToolBox )
+	
+	if(m_nRole	== AccessibleRole::PANEL && getAccessibleChildCount() > 0 )
+	{
+		return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_PANEL_DESCRIPTION ) );
+	}
+	else
+	{
+		::rtl::OUString sDescription;
+		if ( m_pToolBox )
 		sDescription = m_pToolBox->GetHelpText( m_nItemId );
 
-	return sDescription;
+		return sDescription;
+	}
 }
 // -----------------------------------------------------------------------------
 ::rtl::OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleName(  ) throw (RuntimeException)
@@ -404,11 +430,11 @@ Reference< XAccessibleStateSet > SAL_CAL
 	if ( m_pToolBox && !rBHelper.bDisposed && !rBHelper.bInDispose )
 	{
         pStateSetHelper->AddState( AccessibleStateType::FOCUSABLE );
-		if ( m_bIsChecked )
+		if ( m_bIsChecked && m_nRole != AccessibleRole::PANEL ) 
 	        pStateSetHelper->AddState( AccessibleStateType::CHECKED );
         if ( m_bIndeterminate )
 	        pStateSetHelper->AddState( AccessibleStateType::INDETERMINATE );
-		if ( m_pToolBox->IsItemEnabled( m_nItemId ) )
+		if ( m_pToolBox->IsEnabled() && m_pToolBox->IsItemEnabled( m_nItemId ) ) 
         {
             pStateSetHelper->AddState( AccessibleStateType::ENABLED );
             pStateSetHelper->AddState( AccessibleStateType::SENSITIVE );
@@ -674,6 +700,8 @@ Any VCLXAccessibleToolBoxItem::getCurren
 	if ( m_pToolBox )
 		aValue <<= (sal_Int32)m_pToolBox->IsItemChecked( m_nItemId );
 
+	if( m_nRole == AccessibleRole::PANEL )
+		aValue <<= (sal_Int32)0;
 	return aValue;
 }
 // -----------------------------------------------------------------------------

Modified: openoffice/branches/alg/aw080/main/autodoc/source/ary/cpp/namechain.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/ary/cpp/namechain.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/ary/cpp/namechain.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/ary/cpp/namechain.cxx Wed Nov 27 17:25:40 2013
@@ -129,7 +129,7 @@ NameChain::Add_Segment( const char * i_s
 List_TplParameter &
 NameChain::Templatize_LastSegment()
 {
-	csv_assert( aSegments.size() > 0 );
+	csv_assert( ! aSegments.empty() );
 
 	return aSegments.back().AddTemplate();
 }
@@ -158,7 +158,7 @@ NameChain::Compare( const NameChain & i_
 const String  &
 NameChain::LastSegment() const
 {
-	if ( aSegments.size() > 0 )
+	if ( ! aSegments.empty() )
 		return aSegments.back().Name();
 	return String::Null_();
 }

Modified: openoffice/branches/alg/aw080/main/autodoc/source/display/html/easywri.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/display/html/easywri.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/display/html/easywri.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/display/html/easywri.cxx Wed Nov 27 17:25:40 2013
@@ -53,7 +53,7 @@ EasyWriter::Finish_OutputNode()
 csi::xml::Element &
 EasyWriter::Out()
 {
-    csv_assert( aCurDestination.size() > 0);
+    csv_assert( ! aCurDestination.empty() );
     return *aCurDestination.top();
 }
 

Modified: openoffice/branches/alg/aw080/main/autodoc/source/display/inc/toolkit/outputstack.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/display/inc/toolkit/outputstack.hxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/display/inc/toolkit/outputstack.hxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/display/inc/toolkit/outputstack.hxx Wed Nov 27 17:25:40 2013
@@ -57,7 +57,7 @@ class OutputStack
 inline csi::xml::Element &
 OutputStack::Out() const
 {
-    csv_assert( aCurDestination.size() > 0 );
+    csv_assert( ! aCurDestination.empty() );
     return *aCurDestination.top();
 }
 

Modified: openoffice/branches/alg/aw080/main/autodoc/source/exes/adc_uni/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/exes/adc_uni/makefile.mk?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/exes/adc_uni/makefile.mk (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/exes/adc_uni/makefile.mk Wed Nov 27 17:25:40 2013
@@ -72,11 +72,11 @@ APP1OBJS=   $(OBJ)$/main.obj
 APP1RPATH=SDK
 
 .IF "$(GUI)"=="WNT"
-APP1STDLIBS= $(LIBSTLPORT) $(COSVLIB) $(UDMLIB)
+APP1STDLIBS= $(COSVLIB) $(UDMLIB)
 .ELSE
 .IF "$(OS)"=="MACOSX"
 # See <http://porting.openoffice.org/servlets/ReadMsg?list=mac&msgNo=6911>:
-APP1STDLIBS= $(LIBSTLPORT) -Wl,-all_load -ludm -lcosv
+APP1STDLIBS= -Wl,-all_load -ludm -lcosv
 .ELSE
 APP1STDLIBS= -lcosv -ludm
 .ENDIF

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser/cpp/sownstck.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser/cpp/sownstck.hxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser/cpp/sownstck.hxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser/cpp/sownstck.hxx Wed Nov 27 17:25:40 2013
@@ -113,7 +113,7 @@ inline ary::cpp::Namespace &
 ContextForAry::
 S_OwnerStack::CurNamespace() const
 {
-    csv_assert( aStack_Namespaces.size() > 0 );
+    csv_assert( ! aStack_Namespaces.empty() );
     return *aStack_Namespaces.top();
 }
 
@@ -204,7 +204,7 @@ inline void
 ContextForAry::
 S_OwnerStack::SetCurProtection( ary::cpp::E_Protection i_eProtection )
 {
-    csv_assert( aStack_Classes.size() > 0 );
+    csv_assert( ! aStack_Classes.empty() );
     aStack_Classes.top().second = i_eProtection;
 }
 

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/distrib.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/distrib.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/distrib.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/distrib.cxx Wed Nov 27 17:25:40 2013
@@ -129,7 +129,7 @@ if (DEBUG_ShowTokens())
 UnoIDL_PE &
 TokenDistributor::ProcessingData::CurEnvironment() const
 {
-	csv_assert(aEnvironments.size() > 0);
+	csv_assert(!aEnvironments.empty());
 	csv_assert(aEnvironments.back().first != 0);
 
 	return *aEnvironments.back().first;

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_excp.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_excp.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_excp.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_excp.cxx Wed Nov 27 17:25:40 2013
@@ -83,7 +83,7 @@ PE_Exception::TransferData()
 {
 	if (NOT Work().bIsPreDeclaration)
 	{
-		csv_assert(Work().sData_Name.size() > 0);
+		csv_assert(! Work().sData_Name.empty());
 		csv_assert(Work().nCurStruct.IsValid());
 	}
 	Stati().pCurStatus = &Stati().aNone;

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_iface.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_iface.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_iface.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_iface.cxx Wed Nov 27 17:25:40 2013
@@ -395,7 +395,7 @@ PE_Interface::TransferData()
 {
 	if (NOT bIsPreDeclaration)
 	{
-		csv_assert(sData_Name.size() > 0);
+		csv_assert(!sData_Name.empty());
 		csv_assert(nCurInterface.IsValid());
 	}
 	else

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_servi.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_servi.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_servi.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_servi.cxx Wed Nov 27 17:25:40 2013
@@ -304,7 +304,7 @@ PE_Service::TransferData()
 {
 	if (NOT bIsPreDeclaration)
 	{
-		csv_assert(sData_Name.size() > 0);
+		csv_assert(! sData_Name.empty());
 		csv_assert( (pCurService != 0) != (pCurSiService != 0) );
 	}
 

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_singl.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_singl.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_singl.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_singl.cxx Wed Nov 27 17:25:40 2013
@@ -225,7 +225,7 @@ PE_Singleton::TransferData()
 {
 	if (NOT bIsPreDeclaration)
 	{
-		csv_assert(sData_Name.size() > 0);
+		csv_assert(! sData_Name.empty());
 		csv_assert( (pCurSingleton != 0) != (pCurSiSingleton != 0) );
 	}
 

Modified: openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_struc.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_struc.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_struc.cxx (original)
+++ openoffice/branches/alg/aw080/main/autodoc/source/parser_i/idl/pe_struc.cxx Wed Nov 27 17:25:40 2013
@@ -82,7 +82,7 @@ PE_Struct::TransferData()
 {
     if (NOT Work().bIsPreDeclaration)
     {
-        csv_assert(Work().sData_Name.size() > 0);
+        csv_assert(! Work().sData_Name.empty());
         csv_assert(Work().nCurStruct.IsValid());
     }
     Stati().pCurStatus = &Stati().aNone;

Modified: openoffice/branches/alg/aw080/main/basebmp/test/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/basebmp/test/makefile.mk?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/basebmp/test/makefile.mk (original)
+++ openoffice/branches/alg/aw080/main/basebmp/test/makefile.mk Wed Nov 27 17:25:40 2013
@@ -63,13 +63,6 @@ CDEFS+=-xalias_level=compatible
 .ENDIF
 .ENDIF
 
-#building with stlport, but cppunit was not built with stlport
-.IF "$(USE_SYSTEM_STL)"!="YES"
-.IF "$(SYSTEM_CPPUNIT)"=="YES"
-CFLAGSCXX+=-DADAPT_EXT_STL
-.ENDIF
-.ENDIF
-
 CFLAGSCXX += $(CPPUNIT_CFLAGS)
 
 # --- Common ----------------------------------------------------------

Modified: openoffice/branches/alg/aw080/main/basegfx/source/workbench/Makefile
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/basegfx/source/workbench/Makefile?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/basegfx/source/workbench/Makefile (original)
+++ openoffice/branches/alg/aw080/main/basegfx/source/workbench/Makefile Wed Nov 27 17:25:40 2013
@@ -63,7 +63,7 @@
 #test : bezierclip.cxx convexhull.cxx
 #	g++ -Wall -g \
 #	-I. -I. -I../inc -I./inc -I./unx/inc -I./unxlngi4/inc -I. -I/develop4/update/SRX644/unxlngi4/inc.m4/stl -I/develop4/update/SRX644/unxlngi4/inc.m4/external -I/develop4/update/SRX644/unxlngi4/inc.m4 -I/develop4/update/SRX644/src.m4/solenv/unxlngi4/inc  -I/net/grande/develop6/update/dev/gcc_3.0.1_linux_libc2.11_turbolinux/include -I/develop4/update/SRX644/src.m4/solenv/inc -I/develop4/update/SRX644/unxlngi4/inc.m4/stl -I/net/grande.germany/develop6/update/dev/gcc_3.0.1_linux_libc2.11_turbolinux/redhat60/usr/include -I/net/grande.germany/develop6/update/dev/gcc_3.0.1_linux_libc2.11_turbolinux/redhat60/usr/include/X11 -I/develop4/update/SRX644/src.m4/res -I/net/grande/develop6/update/dev/Linux_JDK_1.4.0/include -I/net/grande/develop6/update/dev/Linux_JDK_1.4.0/include/linux -I. -I./res -I. \
-#	-include preinclude.h -D_USE_NAMESPACE -DGLIBC=2 -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D_STLP_DEBUG \
+#	-include preinclude.h -D_USE_NAMESPACE -DGLIBC=2 -D_USE_NAMESPACE=1 -D_STLP_DEBUG \
 #	bezierclip.cxx convexhull.cxx -o bezierclip
 
 prog : bezierclip.cxx convexhull.cxx

Modified: openoffice/branches/alg/aw080/main/basegfx/test/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/basegfx/test/makefile.mk?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/basegfx/test/makefile.mk (original)
+++ openoffice/branches/alg/aw080/main/basegfx/test/makefile.mk Wed Nov 27 17:25:40 2013
@@ -37,14 +37,7 @@ ENABLE_EXCEPTIONS=TRUE
 @all:
 	@echo "cppunit disabled. nothing do do."
 
-.ELSE # "$(WITH_CPPUNIT)" != "YES"
-
-#building with stlport, but cppunit was not built with stlport
-.IF "$(USE_SYSTEM_STL)"!="YES"
-.IF "$(SYSTEM_CPPUNIT)"=="YES"
-CFLAGSCXX+=-DADAPT_EXT_STL
-.ENDIF
-.ENDIF
+.ELSE
 
 CFLAGSCXX += $(CPPUNIT_CFLAGS)
 

Modified: openoffice/branches/alg/aw080/main/chart2/source/controller/accessibility/AccessibleBase.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/chart2/source/controller/accessibility/AccessibleBase.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/chart2/source/controller/accessibility/AccessibleBase.cxx (original)
+++ openoffice/branches/alg/aw080/main/chart2/source/controller/accessibility/AccessibleBase.cxx Wed Nov 27 17:25:40 2013
@@ -651,7 +651,9 @@ sal_Int32 SAL_CALL AccessibleBase::getAc
 sal_Int16 SAL_CALL AccessibleBase::getAccessibleRole()
     throw (RuntimeException)
 {
-    return AccessibleRole::LIST_ITEM; // #i73747# role SHAPE seems more appropriate, but is not read
+	//IAccessibility2 Implementation 2009-----
+    return AccessibleRole::SHAPE/*LIST_ITEM*/; // #i73747# role SHAPE seems more appropriate, but is not read
+	//-----IAccessibility2 Implementation 2009
 }
 
 Reference< XAccessibleRelationSet > SAL_CALL AccessibleBase::getAccessibleRelationSet()

Modified: openoffice/branches/alg/aw080/main/chart2/source/controller/dialogs/tp_DataSource.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/chart2/source/controller/dialogs/tp_DataSource.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/chart2/source/controller/dialogs/tp_DataSource.cxx (original)
+++ openoffice/branches/alg/aw080/main/chart2/source/controller/dialogs/tp_DataSource.cxx Wed Nov 27 17:25:40 2013
@@ -69,10 +69,13 @@ const OUString lcl_aLabelRole( RTL_CONST
 String lcl_GetRoleLBEntry(
     const OUString & rRole, const OUString & rRange )
 {
-    String aEntry( rRole );
-    aEntry += '\t';
-    aEntry += String(
-        ::chart::DialogModel::ConvertRoleFromInternalToUI( rRole ));
+//IAccessibility2 Implementation 2009-----
+    //String aEntry( rRole );
+    //aEntry += '\t';
+    //aEntry += String(
+    //    ::chart::DialogModel::ConvertRoleFromInternalToUI( rRole ));
+    String aEntry(::chart::DialogModel::ConvertRoleFromInternalToUI( rRole ));
+	//-----IAccessibility2 Implementation 2009
     aEntry += '\t';
     aEntry += String( rRange );
 
@@ -139,10 +142,12 @@ OUString lcl_GetSequenceNameForLabel( ::
     return aResult;
 }
 
+//IAccessibility2 Implementation 2009-----
 static long lcl_pRoleListBoxTabs[] =
-	{	3,        // Number of Tabs
-		0, 0, 75
+	{	2,        // Number of Tabs
+		0, 75
 	};
+//-----IAccessibility2 Implementation 2009
 
 void lcl_ShowChooserButton(
     ::chart::RangeSelectionButton & rChooserButton,

Modified: openoffice/branches/alg/aw080/main/configmgr/source/partial.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/configmgr/source/partial.hxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/configmgr/source/partial.hxx (original)
+++ openoffice/branches/alg/aw080/main/configmgr/source/partial.hxx Wed Nov 27 17:25:40 2013
@@ -50,7 +50,7 @@ public:
 
 private:
     struct Node {
-        typedef boost::unordered_map< rtl::OUString, Node > Children;
+        typedef boost::unordered_map< rtl::OUString, Node, rtl::OUStringHash > Children;
 
         Node(): startInclude(false) {}
         void clear() { startInclude=false; children.clear(); }

Modified: openoffice/branches/alg/aw080/main/configure.in
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/configure.in?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/configure.in (original)
+++ openoffice/branches/alg/aw080/main/configure.in Wed Nov 27 17:25:40 2013
@@ -322,7 +322,7 @@ AC_ARG_ENABLE(static-gtk,
 AC_ARG_ENABLE(layout,
 [  --enable-layout         Enable the compilation and use of layout dialogs
 ],,)
-AC_ARG_ENABLE(nss_module,
+AC_ARG_ENABLE(nss-module,
 [  --disable-nss-module    Whether to use the NSS module that is used for xml-security    
 ],,enable_nss_module=yes)
 AC_ARG_ENABLE(kde,
@@ -643,17 +643,8 @@ AC_ARG_WITH(system-redland,
 [  --with-system-redland   Use redland library already on system
 ],,)
 AC_ARG_WITH(stlport,
-[  --with-stlport         The location that STLport is installed in. The STL
-                          header files are assumed to be in
-                          stlport-home/stlport and the STLPort library in
-                          stlport-home/lib.
-
-                          Usage: --with-stlport=<absolute path to stlport home>
-
-                          Warning: disabling using --without-stlport or 
-                          enabling using --with-stlport on a platform that
-                          defaults to the opposite will break ABI compatibility
-], WITH_STLPORT=$withval , WITH_STLPORT=auto)
+[  --with-stlport         Only building --without-stlport is supported.
+], WITH_STLPORT=$withval , WITH_STLPORT=no)
 AC_ARG_WITH(jdk-home,
 [  --with-jdk-home         if you have installed JDK 1.3 or later on your system
                           please supply the path here.
@@ -1388,7 +1379,7 @@ dnl ====================================
 dnl Build options
 dnl ===================================================================
 
-# Disable or enable libraries seamonkey, nss, hunspell, hyphen, saxon,
+# Disable or enable category-B librariets: nss, hunspell, hyphen, saxon,
 # rhino, silgraphite, beanshell.
 
 # Note that further below they may be enabled or disabled again by
@@ -1416,7 +1407,7 @@ if test "$enable_category_b" = "yes"; th
    enable_coinmp="yes"
    enable_category_b_fonts="yes"
 
-   AC_MSG_RESULT([yes: allow modules, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built])
+   AC_MSG_RESULT([yes: allow modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp to be built])
 else
    # Disable libaries.
    enable_nss_module="no"
@@ -1429,7 +1420,7 @@ else
    enable_coinmp="no"
    enable_category_b_fonts="no"
 
-   AC_MSG_RESULT([no: disabled modules, nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp])
+   AC_MSG_RESULT([no: disabled modules nss, hunspell, hyphen, saxon, rhino, beanshell, graphite, coinmp])
 fi
 AC_SUBST(ENABLE_CATEGORY_B)
 
@@ -2417,7 +2408,7 @@ dnl ====================================
 dnl Set the gcc/gxx include directories
 dnl ===================================================================
 # Removed the special FreeBSD treatment. The problem was that with_gxx_include_path
-# often contains an i386 which is expanded as a macro. Solved in stlport.
+# often contains an i386 which is expanded as a macro.
 if test "$GXX" = "yes"; then
    AC_MSG_CHECKING([for g++ include path])
    if test -z "$with_gxx_include_path"; then
@@ -2704,115 +2695,12 @@ dnl Checks for what the default STL shou
 dnl ===================================================================
    AC_MSG_CHECKING([what the default STL should be])
    DEFAULT_TO_STLPORT="no"
-   if test "$_os" = "Linux"; then
-     case "$build_cpu" in
-       i?86)
-	 case "$build_os" in k*bsd*-gnu*)
-	 	DEFAULT_TO_STLPORT="no"
-		;;
-	 *) 
-         	DEFAULT_TO_STLPORT="yes"
-		;;
-	  esac
-         ;;
-       *)
-         DEFAULT_TO_STLPORT="no"
-         ;;
-     esac
-   elif test "$_os" = "SunOS"; then
-      DEFAULT_TO_STLPORT="yes"
-   elif test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes"; then
-      DEFAULT_TO_STLPORT="yes"
-   elif test "$_os" = "OS2"; then
-      DEFAULT_TO_STLPORT="yes" 
-   elif test "$_os" = "FreeBSD"; then
-      DEFAULT_TO_STLPORT="yes"
-   fi
-   if test "$DEFAULT_TO_STLPORT" = "yes"; then
-      AC_MSG_RESULT([stlport])
-   else
-      AC_MSG_RESULT([system])
-   fi
-   if test "$WITH_STLPORT" = "auto"; then
-      WITH_STLPORT=$DEFAULT_TO_STLPORT
-   fi
-
-dnl ===================================================================
-dnl Checks for STLPORT
-dnl ===================================================================
-   AC_MSG_CHECKING([for STL providing headers])
-   STLPORT4=""
-   USE_SYSTEM_STL=""
-   if test "$WITH_STLPORT" = "yes"; then
-      AC_MSG_RESULT([using internal stlport.])
-      if test "$DEFAULT_TO_STLPORT" != "yes"; then
-         AC_MSG_WARN([using stlport. Warning, breaks your ABI compatibility!])
-         echo "using stlport. Warning: breaks your ABI compatibility!" >>warn
-      fi
-   elif test "$WITH_STLPORT" = "no"; then
-      AC_MSG_RESULT([using system STL])
-      USE_SYSTEM_STL="YES"
-      if test "$DEFAULT_TO_STLPORT" != "no"; then
-         AC_MSG_WARN([using system STL. Warning, breaks your ABI compatibility!])
-         echo "using system STL. Warning: breaks your ABI compatibility!" >>warn
-      fi
-   else
-      STLPORT4=$WITH_STLPORT
-      if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
-         AC_TRY_CPP($STLPORT4/stlport/hash_map, AC_MSG_RESULT([checked.]), AC_MSG_ERROR([STLport headers not found.]))
-      else
-         dnl AC_TRY_CPP doesn't work for MSVC because C++ preprocessor is not found by autoconf.
-         if test -f "$STLPORT4/stlport/hash_map"; then
-            AC_MSG_RESULT([checked.])
-         else
-            AC_MSG_ERROR([STLport headers not found.])
-         fi
-      fi
-      if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
-         AC_MSG_CHECKING([for STLport libraries])
-         if test "$_os" = "SunOS"; then
-		      if test -f "$STLPORT4/lib/libstlport_sunpro.so"; then
-			      AC_MSG_RESULT([checked])
-		      elif test -f "$STLPORT4/lib/libstlport.so"; then
-			      AC_MSG_RESULT([checked])
-			      STLPORT_VER=500
-		      else
-			      AC_MSG_ERROR([STLport libraries not found])
-		      fi
-	      elif test "$_os" = "Darwin"; then
-		      if test -f "$STLPORT4/lib/libstlport_gcc.dylib"; then
-			      AC_MSG_RESULT([checked])
-		      elif test -f "$STLPORT4/lib/libstlport.dylib"; then
-			      AC_MSG_RESULT([checked])
-			      STLPORT_VER=500
-		      else
-			      AC_MSG_ERROR([STLport libraries not found])
-		      fi
-		   else
-			   if test -f "$STLPORT4/lib/libstlport_gcc.so"; then
-				   AC_MSG_RESULT([checked])
-			   elif test -f "$STLPORT4/lib/libstlport.so"; then
-				   AC_MSG_RESULT([checked])
-				   STLPORT_VER=500
-			   else
-				   AC_MSG_ERROR([STLport libraries not found])
-			   fi
-		   fi
-	   fi
-      if test "$DEFAULT_TO_STLPORT" != "yes"; then
-         AC_MSG_WARN([using stlport. Warning: breaks your ABI compatibility!])
-         echo "using stlport. Warning: breaks your ABI compatibility!" >>warn
-      fi
-   fi
-
-if test -z "$STLPORT4"; then
-  STLPORT4="NO_STLPORT4"
-fi
-if test -z "$STLPORT_VER"; then
-  STLPORT_VER=400
+if test "$WITH_STLPORT" != "no"; then
+   AC_MSG_ERROR([Option --with-stlport is no longer available.])
+else
+   USE_SYSTEM_STL="YES"
 fi
-AC_SUBST(STLPORT4)
-AC_SUBST(STLPORT_VER)
+
 AC_SUBST(USE_SYSTEM_STL)
 
 dnl ===================================================================
@@ -2883,6 +2771,7 @@ fi
 dnl ===================================================================
 dnl system stl sanity tests
 dnl ===================================================================
+if false ; then # TODO: update TR1 compliant STLs
 if test "$USE_SYSTEM_STL" = "YES"; then
    AC_MSG_CHECKING([system stl sanity])
    AC_LANG_PUSH([C++])
@@ -2958,6 +2847,7 @@ _ACEOF
 
    AC_LANG_POP([C++])
 fi
+fi # endof TODO: update TR1 compliant STLs
 
 AC_SUBST(HAVE_GCC_VISIBILITY_FEATURE)
 
@@ -4048,15 +3938,27 @@ if test "$_os" = "Darwin" && test "$with
    with_system_python=yes
 
    _python="/Library/Frameworks/Python.framework/Versions/Current/bin/python" 
+   if test ! -f $_python; then
+   	  _python="/usr/bin/python"
+   fi
+   AC_MSG_RESULT([compiling against system python ($_python)])
+
    _python_hexversion=`$_python -c "import sys; print(sys.hexversion);"`
-   
+ 
    dnl hex version of Python 2.7.1 = 34013680
    if test $_python_hexversion -ge 34013680 ; then
+   	  _python_version=`$_python -c "import sys; print sys.version;" | head -n 1`
       AC_MSG_RESULT([compiling against system python (version $_python_version)])
 
 	  _python_ver=`$_python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"`
 	  
-   	  PYTHON_CFLAGS="-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"
+	  if test -d "/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"; then
+	  	 PYTHON_CFLAGS="-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"
+	  elif test -d "/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"; then
+	  	 PYTHON_CFLAGS="-I/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"  
+	  else
+		 PYTHON_CFLAGS="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"
+	  fi
    else
 		AC_MSG_ERROR([Python 2.7.1 or higher is required])
    fi
@@ -4774,7 +4676,7 @@ fi
 AC_SUBST(WITH_LDAP)
 AC_SUBST(WITH_OPENLDAP)
 
-AC_MSG_CHECKING([whether to build provided NSS module])
+AC_MSG_CHECKING([whether to build the internal NSS module])
 if test "$enable_nss_module" != "no"; then
    ENABLE_NSS_MODULE="YES"
    BUILD_TYPE="$BUILD_TYPE NSS"
@@ -4782,9 +4684,12 @@ if test "$enable_nss_module" != "no"; th
    if test "$_os" = "WINNT"; then
       AC_MSG_CHECKING([for Mozilla build tooling])
       if test -z "$MOZILLABUILD" ; then
-AC_MSG_ERROR([Mozilla build tooling not found. It is needed for NSS.
-Use the --with-mozilla-build option after installling the tools obtained
-from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32])
+AC_MSG_ERROR([
+Mozilla build tooling not found!
+  It is required for NSS that is needed for AOO's security facilities.
+  Either disable NSS using the option --disable-nss-module
+  or use the --with-mozilla-build option after installing the tool obtained
+  from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32])
       else
          if test \( "$WITH_MINGWIN" = "yes" \) ; then
             if test ! -d "$MOZILLABUILD" ; then

Modified: openoffice/branches/alg/aw080/main/connectivity/source/commontools/dbtools.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/connectivity/source/commontools/dbtools.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/connectivity/source/commontools/dbtools.cxx (original)
+++ openoffice/branches/alg/aw080/main/connectivity/source/commontools/dbtools.cxx Wed Nov 27 17:25:40 2013
@@ -1766,14 +1766,14 @@ namespace
         {
             if ( m_aSet.empty() )
                 return m_xSource->hasElements();
-            return ::std::count(m_aSet.begin(),m_aSet.end(),false) != 0;
+            return (::std::find(m_aSet.begin(),m_aSet.end(),false) != m_aSet.end());
         }
         // ::com::sun::star::container::XIndexAccess
         virtual sal_Int32 SAL_CALL getCount(  ) throw(RuntimeException)
         {
             if ( m_aSet.empty() )
                 return m_xSource->getCount();
-            return ::std::count(m_aSet.begin(),m_aSet.end(),false);
+            return std_bitset_count(m_aSet.begin(),m_aSet.end(),false);
         }
         virtual Any SAL_CALL getByIndex( sal_Int32 Index ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException)
         {
@@ -1818,7 +1818,7 @@ void askForParameters(const Reference< X
 	Reference<XNameAccess>   xParamsAsNames(xParamsAsIndicies, UNO_QUERY);
 	sal_Int32 nParamCount = xParamsAsIndicies.is() ? xParamsAsIndicies->getCount() : 0;
     ::std::bit_vector aNewParameterSet( _aParametersSet );
-    if ( nParamCount || ::std::count(aNewParameterSet.begin(),aNewParameterSet.end(),true) != nParamCount )
+    if ( nParamCount || std_bitset_count(aNewParameterSet.begin(),aNewParameterSet.end(),true) != nParamCount )
     {
         static const ::rtl::OUString PROPERTY_NAME(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME));
         aNewParameterSet.resize(nParamCount ,false);

Modified: openoffice/branches/alg/aw080/main/cosv/source/unittest/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cosv/source/unittest/makefile.mk?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cosv/source/unittest/makefile.mk (original)
+++ openoffice/branches/alg/aw080/main/cosv/source/unittest/makefile.mk Wed Nov 27 17:25:40 2013
@@ -19,8 +19,6 @@
 #  
 #**************************************************************
 
-
-
 PRJ=..$/..
 
 PRJNAME=cosv
@@ -37,40 +35,21 @@ PRJINC=$(PRJ)$/source
 
 .INCLUDE : $(PRJ)$/source$/fullcpp.mk
 
-
-
-
 # --- Files --------------------------------------------------------
 
 OBJFILES= \
 	$(OBJ)$/file_ut.obj             \
 	$(OBJ)$/simplestring_ut.obj
 
-
-
-
 APP1TARGET=	$(TARGET)
 APP1STACK=	1000000
 APP1OBJS=   $(OBJ)$/ut_main.obj
 
-.IF "$(GUI)"=="WNT"
-APP1STDLIBS= $(LIBSTLPORT)
-.ELSE
-.IF "$(OS)"=="MACOSX"
-APP1STDLIBS= $(LIBSTLPORT)
-.ENDIF
-.ENDIF
-
-
 APP1LIBS=	$(LB)$/$(TARGET).lib $(LB)$/cosv.lib
 
-
 APP1DEPN=   $(LB)$/$(TARGET).lib $(LB)$/cosv.lib
 
-
 # --- Targets ------------------------------------------------------
 
 .INCLUDE :  target.mk
 
-
-

Modified: openoffice/branches/alg/aw080/main/cpputools/source/unoexe/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cpputools/source/unoexe/makefile.mk?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cpputools/source/unoexe/makefile.mk (original)
+++ openoffice/branches/alg/aw080/main/cpputools/source/unoexe/makefile.mk Wed Nov 27 17:25:40 2013
@@ -70,7 +70,7 @@ APP1RPATH=UREBIN
 
 # Include all relevant (see ure/source/README) dynamic libraries, so that C++
 # UNO components running in the uno executable have a defined environment
-# (stlport, unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already
+# (unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already
 # included via APP1STDLIB, unxlngi6 libgcc_s.so.1 and wntmsci10 msvcr71.dll and
 # msvcp71.dll are magic---TODO):
 APP1STDLIBS= \

Modified: openoffice/branches/alg/aw080/main/cui/source/customize/cfg.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/customize/cfg.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/customize/cfg.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/customize/cfg.cxx Wed Nov 27 17:25:40 2013
@@ -1662,7 +1662,7 @@ SvxConfigPage::SvxConfigPage(
     aDescriptionField.SetControlBackground( GetSettings().GetStyleSettings().GetDialogColor() );
     aDescriptionField.SetAutoScroll( sal_True );
     aDescriptionField.EnableCursor( sal_False );
-
+	//IAccessibility2 Implementation 2009-----
 	aMoveUpButton.SetAccessibleName(String(CUI_RES(BUTTON_STR_UP)));
 	aMoveDownButton.SetAccessibleName(String(CUI_RES(BUTTON_STR_DOWN)));
 	aMoveUpButton.SetAccessibleRelationMemberOf(&aContentsSeparator);
@@ -1671,6 +1671,7 @@ SvxConfigPage::SvxConfigPage(
 	aModifyTopLevelButton.SetAccessibleRelationMemberOf(&aTopLevelSeparator);
 	aAddCommandsButton.SetAccessibleRelationMemberOf(&aContentsSeparator);
 	aModifyCommandButton.SetAccessibleRelationMemberOf(&aContentsSeparator);
+	//-----IAccessibility2 Implementation 2009
 }
 
 SvxConfigPage::~SvxConfigPage()
@@ -2929,9 +2930,10 @@ SvxMainMenuOrganizerDialog::SvxMainMenuO
 		LINK( this, SvxMainMenuOrganizerDialog, MoveHdl) );
 	aMoveDownButton.SetClickHdl	(
 		LINK( this, SvxMainMenuOrganizerDialog, MoveHdl) );
-
+	//IAccessibility2 Implementation 2009-----
 	aMoveUpButton.SetAccessibleName(String(CUI_RES(BUTTON_STR_UP)));
 	aMoveDownButton.SetAccessibleName(String(CUI_RES(BUTTON_STR_DOWN)));
+	//-----IAccessibility2 Implementation 2009
 }
 
 IMPL_LINK(SvxMainMenuOrganizerDialog, ModifyHdl, Edit*, pEdit)

Modified: openoffice/branches/alg/aw080/main/cui/source/customize/cfg.src
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/customize/cfg.src?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/customize/cfg.src (original)
+++ openoffice/branches/alg/aw080/main/cui/source/customize/cfg.src Wed Nov 27 17:25:40 2013
@@ -822,7 +822,7 @@ String RID_SVXSTR_RENAME_TOOLBAR
 {
 	Text [ en-US ] = "Rename Toolbar";
 };
-
+//IAccessibility2 Implementation 2009-----
 String BUTTON_STR_UP
 {
 	Text [ en-US ] = "Up";
@@ -831,4 +831,5 @@ String BUTTON_STR_DOWN
 {
 	Text [ en-US ] = "Down";
 };
+//-----IAccessibility2 Implementation 2009
 

Modified: openoffice/branches/alg/aw080/main/cui/source/customize/macropg.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/customize/macropg.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/customize/macropg.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/customize/macropg.cxx Wed Nov 27 17:25:40 2013
@@ -166,6 +166,9 @@ _HeaderTabListBox::_HeaderTabListBox( Wi
     maHeaderBar( this, WB_BUTTONSTYLE | WB_BOTTOMBORDER )
 {
     maListBox.SetHelpId( HID_MACRO_HEADERTABLISTBOX );
+
+	// enable the cell focus to show visible focus
+	maListBox.EnableCellFocus();
 }
 
 _HeaderTabListBox::~_HeaderTabListBox()

Modified: openoffice/branches/alg/aw080/main/cui/source/dialogs/cuicharmap.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/dialogs/cuicharmap.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/dialogs/cuicharmap.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/dialogs/cuicharmap.cxx Wed Nov 27 17:25:40 2013
@@ -257,7 +257,12 @@ SvxShowText::~SvxShowText()
 
 SvxCharMapData::SvxCharMapData( SfxModalDialog* pDialog, sal_Bool bOne_, ResMgr* pResContext )
 :   mpDialog( pDialog ),
+    aFontText       ( pDialog, ResId( FT_FONT, *pResContext ) ),
+    aFontLB         ( pDialog, ResId( LB_FONT, *pResContext ) ),
+    aSubsetText     ( pDialog, ResId( FT_SUBSET, *pResContext ) ),
+    aSubsetLB       ( pDialog, ResId( LB_SUBSET, *pResContext ) ),
     aShowSet        ( pDialog, ResId( CT_SHOWSET, *pResContext ) ),
+    aSymbolText     ( pDialog, ResId( FT_SYMBOLE, *pResContext ) ),
     aShowText       ( pDialog, ResId( CT_SHOWTEXT, *pResContext ) ),
 //    aShowShortcut   ( pDialog, ResId( CT_ASSIGN, *pResContext ) ),
     aOKBtn          ( pDialog, ResId( BTN_CHAR_OK, *pResContext ) ),
@@ -265,11 +270,6 @@ SvxCharMapData::SvxCharMapData( SfxModal
     aHelpBtn        ( pDialog, ResId( BTN_CHAR_HELP, *pResContext ) ),
     aDeleteBtn      ( pDialog, ResId( BTN_DELETE, *pResContext ) ),
 //    aAssignBtn      ( pDialog, ResId( BT_ASSIGN, *pResContext ) ),
-    aFontText       ( pDialog, ResId( FT_FONT, *pResContext ) ),
-    aFontLB         ( pDialog, ResId( LB_FONT, *pResContext ) ),
-    aSubsetText     ( pDialog, ResId( FT_SUBSET, *pResContext ) ),
-    aSubsetLB       ( pDialog, ResId( LB_SUBSET, *pResContext ) ),
-    aSymbolText     ( pDialog, ResId( FT_SYMBOLE, *pResContext ) ),
     aShowChar       ( pDialog, ResId( CT_SHOWCHAR, *pResContext ), sal_True ),
     aCharCodeText   ( pDialog, ResId( FT_CHARCODE, *pResContext ) ),
 //    aAssignText     ( pDialog, ResId( FT_ASSIGN, *pResContext ) ),

Modified: openoffice/branches/alg/aw080/main/cui/source/dialogs/cuigrfflt.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/dialogs/cuigrfflt.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/dialogs/cuigrfflt.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/dialogs/cuigrfflt.cxx Wed Nov 27 17:25:40 2013
@@ -535,7 +535,8 @@ GraphicFilterSolarize::GraphicFilterSola
 	maCbxInvert.Check( bInvert );
 	maCbxInvert.SetToggleHdl( GetModifyHdl() );
 
-	maMtrThreshold.GrabFocus();
+	// IAccessibility2 Implementation 2009
+	// maMtrThreshold.GrabFocus();
 }
 
 // -----------------------------------------------------------------------------
@@ -595,7 +596,8 @@ GraphicFilterSepia::GraphicFilterSepia( 
 	maMtrSepia.SetValue( nSepiaPercent );
 	maMtrSepia.SetModifyHdl( GetModifyHdl() );
 
-	maMtrSepia.GrabFocus();
+	// IAccessibility2 Implementation 2009
+	// maMtrSepia.GrabFocus();
 }
 
 // -----------------------------------------------------------------------------
@@ -646,7 +648,9 @@ GraphicFilterPoster::GraphicFilterPoster
     maNumPoster.SetLast( rGraphic.GetBitmapEx().GetBitCount() );
 	maNumPoster.SetValue( nPosterCount );
 	maNumPoster.SetModifyHdl( GetModifyHdl() );
-	maNumPoster.GrabFocus();
+
+	// IAccessibility2 Implementation 2009
+	// maNumPoster.GrabFocus();
 }
 
 // -----------------------------------------------------------------------------

Modified: openoffice/branches/alg/aw080/main/cui/source/dialogs/iconcdlg.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/dialogs/iconcdlg.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/dialogs/iconcdlg.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/dialogs/iconcdlg.cxx Wed Nov 27 17:25:40 2013
@@ -456,6 +456,11 @@ void IconChoiceDialog::ShowPage( sal_uIn
 	ActivatePageImpl( );
     if(bInvalidate)
         Invalidate();
+
+	// IA2 CWS. MT: I guess we want the event now, and not in Paint()?
+	IconChoicePageData* pData = GetPageData ( mnCurrentPageId );
+	if(pData)
+		ShowPageImpl ( pData );
 }
 
 /**********************************************************************

Modified: openoffice/branches/alg/aw080/main/cui/source/inc/cuicharmap.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/inc/cuicharmap.hxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/inc/cuicharmap.hxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/inc/cuicharmap.hxx Wed Nov 27 17:25:40 2013
@@ -82,7 +82,12 @@ private:
 friend class SvxCharacterMap;
     SfxModalDialog* mpDialog;
 
+    FixedText       aFontText;
+    ListBox         aFontLB;
+    FixedText       aSubsetText;
+    ListBox         aSubsetLB;
     SvxShowCharSet  aShowSet;
+    FixedText       aSymbolText;
     SvxShowText     aShowText;
 //    SvxShowText     aShowShortcut;
     OKButton        aOKBtn;
@@ -90,11 +95,6 @@ friend class SvxCharacterMap;
     HelpButton      aHelpBtn;
     PushButton      aDeleteBtn;
 //    PushButton		aAssignBtn;
-    FixedText       aFontText;
-    ListBox         aFontLB;
-    FixedText       aSubsetText;
-    ListBox         aSubsetLB;
-    FixedText       aSymbolText;
     SvxShowText     aShowChar;
     FixedText       aCharCodeText;
 //	FixedText		aAssignText;

Modified: openoffice/branches/alg/aw080/main/cui/source/inc/headertablistbox.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/inc/headertablistbox.hxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/inc/headertablistbox.hxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/inc/headertablistbox.hxx Wed Nov 27 17:25:40 2013
@@ -31,8 +31,8 @@
 class _HeaderTabListBox : public Control
 {
 private:
-	SvHeaderTabListBox			maListBox;
 	HeaderBar					maHeaderBar;
+	SvHeaderTabListBox			maListBox;
 protected:
 	DECL_LINK( HeaderEndDrag_Impl, HeaderBar* );
 	virtual long				Notify( NotifyEvent& rNEvt );

Modified: openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.cxx Wed Nov 27 17:25:40 2013
@@ -2052,12 +2052,12 @@ OfaQuoteTabPage::OfaQuoteTabPage( Window
 
     sStandard(CUI_RES(ST_STANDARD))
 {
-	aSglStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_STD) ) );
-	aDblStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_STD) ) );
-	aStartQuotePB.SetAccessibleName( String(CUI_RES(STR_PB_DBL_START) ));
-	aEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_END) ));
-	aSglStartQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_START) ));
-	aSglEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_END) ) );
+	//aSglStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_STD) ) );
+	//aDblStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_STD) ) );
+	//aStartQuotePB.SetAccessibleName( String(CUI_RES(STR_PB_DBL_START) ));
+	//aEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_END) ));
+	//aSglStartQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_START) ));
+	//aSglEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_END) ) );
 
 	FreeResource();
 	
@@ -2100,6 +2100,15 @@ OfaQuoteTabPage::OfaQuoteTabPage( Window
 	aDblStandardPB.SetClickHdl(LINK(this, 	OfaQuoteTabPage, StdQuoteHdl));
 	aSglStandardPB.SetClickHdl(LINK(this, 	OfaQuoteTabPage, StdQuoteHdl));
 
+	//IAccessibility2 Implementation 2009-----
+	// Move down from the position before FreeResource() 
+	// For lost help ID issue
+	aSglStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_STD) ) );
+	aDblStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_STD) ) );
+	aStartQuotePB.SetAccessibleName( String(CUI_RES(STR_PB_DBL_START) ));
+	aEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_END) ));
+	aSglStartQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_START) ));
+	aSglEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_END) ) );
 	aSglStartQuotePB.SetAccessibleRelationLabeledBy( &aSglStartQuoteFT );
 	aSglEndQuotePB.SetAccessibleRelationLabeledBy( &aSglEndQuoteFT );
 	aSglStartQuotePB.SetAccessibleRelationMemberOf( &aSingleFL );

Modified: openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.src
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.src?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.src (original)
+++ openoffice/branches/alg/aw080/main/cui/source/tabpages/autocdlg.src Wed Nov 27 17:25:40 2013
@@ -493,6 +493,30 @@ TabPage RID_OFAPAGE_AUTOCORR_EXCEPT
     {
         Text [ en-US ] = "Delete words with two initial capitals" ;
 	};
+	String STR_PB_SGL_STD
+    {
+        Text [ en-US ] = "Single quotes default" ;
+	};
+	String STR_PB_DBL_STD
+    {
+        Text [ en-US ] = "Double quotes default" ;
+	};
+	String STR_PB_SGL_START
+    {
+        Text [ en-US ] = "Start quote of single quotes" ;
+	};
+	String STR_PB_DBL_START
+    {
+        Text [ en-US ] = "Start quote of double quotes" ;
+	};
+	String STR_PB_SGL_END
+    {
+        Text [ en-US ] = "End quote of single quotes" ;
+	};
+	String STR_PB_DBL_END
+    {
+        Text [ en-US ] = "End quote of double quotes" ;
+	};
 };
 /**************************************************************************/
 /*                                                                        */
@@ -661,30 +685,6 @@ TabPage RID_OFAPAGE_AUTOCORR_QUOTE
     {
         Text [ en-US ] = "Default" ;
 	};
-	String STR_PB_SGL_STD
-    {
-        Text [ en-US ] = "Single quotes default" ;
-	};
-	String STR_PB_DBL_STD
-    {
-        Text [ en-US ] = "Double quotes default" ;
-	};
-	String STR_PB_SGL_START
-    {
-        Text [ en-US ] = "Start quote of single quotes" ;
-	};
-	String STR_PB_DBL_START
-    {
-        Text [ en-US ] = "Start quote of double quotes" ;
-	};
-	String STR_PB_SGL_END
-    {
-        Text [ en-US ] = "End quote of single quotes" ;
-	};
-	String STR_PB_DBL_END
-    {
-        Text [ en-US ] = "End quote of double quotes" ;
-	};
 };
 
 /**************************************************************************/

Modified: openoffice/branches/alg/aw080/main/cui/source/tabpages/connect.hrc
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/tabpages/connect.hrc?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/tabpages/connect.hrc (original)
+++ openoffice/branches/alg/aw080/main/cui/source/tabpages/connect.hrc Wed Nov 27 17:25:40 2013
@@ -39,3 +39,5 @@
 #define FT_TYPE 8
 #define LB_TYPE 1
 #define CTL_PREVIEW 1
+//IAccessibility2 Implementation 2009-----
+#define STR_EXAMPLE 1

Modified: openoffice/branches/alg/aw080/main/cui/source/tabpages/tabarea.src
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/tabpages/tabarea.src?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/tabpages/tabarea.src (original)
+++ openoffice/branches/alg/aw080/main/cui/source/tabpages/tabarea.src Wed Nov 27 17:25:40 2013
@@ -875,6 +875,9 @@ TabPage RID_SVXPAGE_BITMAP
         Pos = MAP_APPFONT ( 12 , 25  ) ;
 		Size = MAP_APPFONT ( 72 , 72 ) ;
 		TabStop = TRUE ;
+		//IAccessibility2 Implementation 2009-----
+		Text [ en-US ] = "Pattern Editor";
+		//-----IAccessibility2 Implementation 2009
 	};
     FixedText FT_COLOR
 	{
@@ -1316,12 +1319,18 @@ TabPage RID_SVXPAGE_COLOR
         Border = TRUE;
         Pos = MAP_APPFONT ( 157 , 14  ) ;
         Size = MAP_APPFONT ( 34 , 25 ) ;
+        // IAccessibility2 implementation 2009. ------
+		Text [ en-US ] = "Old Color" ;
+		// ------ IAccessibility2 implementation 2009.
 	};
 	Control CTL_PREVIEW_NEW
 	{
         Border = TRUE;
         Pos = MAP_APPFONT ( 157, 39  ) ;
         Size = MAP_APPFONT ( 34 , 25 ) ;
+        // IAccessibility2 implementation 2009. ------
+        Text [ en-US ] = "New Color" ;
+        // ------ IAccessibility2 implementation 2009.
 	};
     ListBox LB_COLORMODEL
 	{

Modified: openoffice/branches/alg/aw080/main/cui/source/tabpages/tparea.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/cui/source/tabpages/tparea.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/cui/source/tabpages/tparea.cxx (original)
+++ openoffice/branches/alg/aw080/main/cui/source/tabpages/tparea.cxx Wed Nov 27 17:25:40 2013
@@ -2213,6 +2213,11 @@ IMPL_LINK( SvxAreaTabPage, ClickBitmapHd
 	aMtrFldYOffset.Show();
     aFlPosition.Show();
 	aRbtRow.Show();
+//IAccessible2 Implementation 2009-----
+	//Solution:Check one when initializing.
+	if(!aRbtRow.IsChecked()&&!aRbtColumn.IsChecked())
+	        aRbtRow.Check();
+//-----IAccessible2 Implementation 2009
 	aRbtColumn.Show();
 	aMtrFldOffset.Show();
     aFlOffset.Show();

Modified: openoffice/branches/alg/aw080/main/desktop/source/app/app.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/desktop/source/app/app.cxx?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/desktop/source/app/app.cxx (original)
+++ openoffice/branches/alg/aw080/main/desktop/source/app/app.cxx Wed Nov 27 17:25:40 2013
@@ -1935,11 +1935,8 @@ void Desktop::Main()
 
         // set static variable to enabled/disable crash reporter
         retrieveCrashReporterState();
-        if ( !isCrashReporterEnabled() )
-        {
-            osl_setErrorReporting( sal_False );
-            // disable stack trace feature
-        }
+        const bool bCrashReporterEnabled = isCrashReporterEnabled();
+        osl_setErrorReporting( !bCrashReporterEnabled );
 
         // create title string
         sal_Bool bCheckOk = sal_False;

Modified: openoffice/branches/alg/aw080/main/desktop/source/pagein/makefile.mk
URL: http://svn.apache.org/viewvc/openoffice/branches/alg/aw080/main/desktop/source/pagein/makefile.mk?rev=1546124&r1=1546123&r2=1546124&view=diff
==============================================================================
--- openoffice/branches/alg/aw080/main/desktop/source/pagein/makefile.mk (original)
+++ openoffice/branches/alg/aw080/main/desktop/source/pagein/makefile.mk Wed Nov 27 17:25:40 2013
@@ -137,14 +137,6 @@ $(MISC)$/$(TARGET)-common : makefile.mk
 	@-echo $(URELIBPATH)$/bootstrap$(UNODLLPOST)            >> $@
 	@-echo $(URELIBPATH)$/$(DLLPRE)reg$(UDKDLLPOST)         >> $@
 	@-echo $(URELIBPATH)$/$(DLLPRE)store$(UDKDLLPOST)       >> $@
-.IF "$(USE_SYSTEM_STL)"!="YES"
-.IF "$(COMNAME)" == "gcc2" || "$(COMNAME)" == "gcc3"
-	@-echo $(URELIBPATH)$/$(DLLPRE)stlport_gcc$(DLLPOST)    >> $@
-.ENDIF # gcc
-.IF "$(COMNAME)" == "sunpro5"
-	@-echo $(URELIBPATH)$/$(DLLPRE)stlport_sunpro$(DLLPOST) >> $@
-.ENDIF # sunpro5
-.ENDIF # SYSTEM_STL
 	@-echo $(URELIBPATH)$/$(DLLPRE)uno_cppuhelper$(COMID)$(UDKDLLPOST) >> $@
 	@-echo $(URELIBPATH)$/$(DLLPRE)uno_cppu$(UDKDLLPOST)               >> $@
 	@-echo $(URELIBPATH)$/$(DLLPRE)uno_sal$(UDKDLLPOST)                >> $@