summaryrefslogtreecommitdiff
path: root/accessibility/source
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source')
-rw-r--r--accessibility/source/extended/AccessibleBrowseBox.cxx22
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxBase.cxx2
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx6
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx2
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx2
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTable.cxx2
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx2
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx2
-rw-r--r--accessibility/source/extended/AccessibleGridControl.cxx20
-rw-r--r--accessibility/source/extended/AccessibleGridControlBase.cxx2
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeader.cxx2
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeaderCell.cxx2
-rw-r--r--accessibility/source/extended/AccessibleGridControlTable.cxx4
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableBase.cxx2
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableCell.cxx4
-rw-r--r--accessibility/source/extended/AccessibleToolPanelDeck.cxx8
-rw-r--r--accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx2
-rw-r--r--accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx30
-rw-r--r--accessibility/source/extended/accessiblebrowseboxcell.cxx4
-rw-r--r--accessibility/source/extended/accessibleeditbrowseboxcell.cxx8
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrl.cxx4
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx18
-rw-r--r--accessibility/source/extended/accessiblelistbox.cxx4
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx16
-rw-r--r--accessibility/source/extended/accessibletabbar.cxx24
-rw-r--r--accessibility/source/extended/accessibletabbarbase.cxx2
-rw-r--r--accessibility/source/extended/accessibletabbarpage.cxx30
-rw-r--r--accessibility/source/extended/accessibletabbarpagelist.cxx8
-rw-r--r--accessibility/source/extended/accessibletablistbox.cxx2
-rw-r--r--accessibility/source/extended/accessibletablistboxtable.cxx4
-rw-r--r--accessibility/source/extended/listboxaccessible.cxx4
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx64
-rw-r--r--accessibility/source/helper/acc_factory.cxx6
-rw-r--r--accessibility/source/helper/accessiblestrings.src2
-rw-r--r--accessibility/source/helper/accresmgr.cxx2
-rw-r--r--accessibility/source/helper/characterattributeshelper.cxx2
-rw-r--r--accessibility/source/inc/floatingwindowaccessible.hxx4
-rw-r--r--accessibility/source/standard/accessiblemenubasecomponent.cxx6
-rw-r--r--accessibility/source/standard/accessiblemenucomponent.cxx22
-rw-r--r--accessibility/source/standard/accessiblemenuitemcomponent.cxx34
-rw-r--r--accessibility/source/standard/floatingwindowaccessible.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblebox.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblebutton.cxx10
-rw-r--r--accessibility/source/standard/vclxaccessiblecheckbox.cxx16
-rw-r--r--accessibility/source/standard/vclxaccessiblecombobox.cxx8
-rw-r--r--accessibility/source/standard/vclxaccessibledropdowncombobox.cxx12
-rw-r--r--accessibility/source/standard/vclxaccessibledropdownlistbox.cxx10
-rw-r--r--accessibility/source/standard/vclxaccessibleedit.cxx12
-rw-r--r--accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblefixedtext.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx38
-rw-r--r--accessibility/source/standard/vclxaccessiblelistbox.cxx8
-rw-r--r--accessibility/source/standard/vclxaccessiblelistitem.cxx20
-rw-r--r--accessibility/source/standard/vclxaccessiblemenu.cxx12
-rw-r--r--accessibility/source/standard/vclxaccessiblemenubar.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblemenuitem.cxx50
-rw-r--r--accessibility/source/standard/vclxaccessiblemenuseparator.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblepopupmenu.cxx4
-rw-r--r--accessibility/source/standard/vclxaccessibleradiobutton.cxx14
-rw-r--r--accessibility/source/standard/vclxaccessiblescrollbar.cxx30
-rw-r--r--accessibility/source/standard/vclxaccessiblestatusbar.cxx28
-rw-r--r--accessibility/source/standard/vclxaccessiblestatusbaritem.cxx22
-rw-r--r--accessibility/source/standard/vclxaccessibletabcontrol.cxx18
-rw-r--r--accessibility/source/standard/vclxaccessibletabpage.cxx28
-rw-r--r--accessibility/source/standard/vclxaccessibletabpagewindow.cxx12
-rw-r--r--accessibility/source/standard/vclxaccessibletextcomponent.cxx40
-rw-r--r--accessibility/source/standard/vclxaccessibletextfield.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessibletoolbox.cxx22
-rw-r--r--accessibility/source/standard/vclxaccessibletoolboxitem.cxx24
69 files changed, 419 insertions, 419 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBox.cxx b/accessibility/source/extended/AccessibleBrowseBox.cxx
index f0a97b33bb24..282f29a65ae1 100644
--- a/accessibility/source/extended/AccessibleBrowseBox.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,17 +60,17 @@ public:
/** The data table child. */
Reference<
::com::sun::star::accessibility::XAccessible > mxTable;
- AccessibleBrowseBoxTable* m_pTable;
+ AccessibleBrowseBoxTable* m_pTable;
/** The header bar for rows ("handle column"). */
Reference<
- ::com::sun::star::accessibility::XAccessible > mxRowHeaderBar;
- AccessibleBrowseBoxHeaderBar* m_pRowHeaderBar;
+ ::com::sun::star::accessibility::XAccessible > mxRowHeaderBar;
+ AccessibleBrowseBoxHeaderBar* m_pRowHeaderBar;
/** The header bar for columns (first row of the table). */
Reference<
- ::com::sun::star::accessibility::XAccessible > mxColumnHeaderBar;
- AccessibleBrowseBoxHeaderBar* m_pColumnHeaderBar;
+ ::com::sun::star::accessibility::XAccessible > mxColumnHeaderBar;
+ AccessibleBrowseBoxHeaderBar* m_pColumnHeaderBar;
};
// Ctor/Dtor/disposing --------------------------------------------------------
@@ -109,9 +109,9 @@ void SAL_CALL AccessibleBrowseBox::disposing()
{
::osl::MutexGuard aGuard( getOslMutex() );
- m_pImpl->m_pTable = NULL;
- m_pImpl->m_pColumnHeaderBar = NULL;
- m_pImpl->m_pRowHeaderBar = NULL;
+ m_pImpl->m_pTable = NULL;
+ m_pImpl->m_pColumnHeaderBar = NULL;
+ m_pImpl->m_pRowHeaderBar = NULL;
m_pImpl->m_aCreator = Reference< XAccessible >();
Reference< XAccessible > xTable = m_pImpl->mxTable;
@@ -281,7 +281,7 @@ AccessibleBrowseBox::implGetHeaderBar( AccessibleBrowseBoxObjType eObjType )
if ( BBTYPE_COLUMNHEADERBAR == eObjType)
m_pImpl->m_pColumnHeaderBar = pHeaderBar;
else
- m_pImpl->m_pRowHeaderBar = pHeaderBar;
+ m_pImpl->m_pRowHeaderBar = pHeaderBar;
*pxMember = pHeaderBar;
}
@@ -325,7 +325,7 @@ void AccessibleBrowseBox::commitTableEvent(sal_Int16 _nEventId,const Any& _rNewV
}
}
// -----------------------------------------------------------------------------
-void AccessibleBrowseBox::commitHeaderBarEvent( sal_Int16 _nEventId,
+void AccessibleBrowseBox::commitHeaderBarEvent( sal_Int16 _nEventId,
const Any& _rNewValue,
const Any& _rOldValue,sal_Bool _bColumnHeaderBar)
{
diff --git a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
index 24cc3ce52f2a..56f8c2de8961 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
index 2353a25007aa..94b2947ee969 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -121,7 +121,7 @@ namespace accessibility
aValue <<= (sal_Int32) 2;
else
aValue <<= (sal_Int32) 1;
-
+
return aValue;
}
@@ -131,7 +131,7 @@ namespace accessibility
{
Any aValue;
aValue <<= (sal_Int32) 0;
-
+
return aValue;
}
// -----------------------------------------------------------------------------
diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
index 77a59ef99fc1..083d8112a2f5 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx
index 4f778f5b8df8..118140de7004 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
index ad5594df6987..f94c7fe69ac6 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
index 825689cf3185..ca02551012e7 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index 6cdd7e22c4ab..2d1b61d14276 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleGridControl.cxx b/accessibility/source/extended/AccessibleGridControl.cxx
index f48415e518d4..dc5f456619fa 100644
--- a/accessibility/source/extended/AccessibleGridControl.cxx
+++ b/accessibility/source/extended/AccessibleGridControl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -61,17 +61,17 @@ public:
/** The data table child. */
Reference<
::com::sun::star::accessibility::XAccessible > m_xTable;
- AccessibleGridControlTable* m_pTable;
+ AccessibleGridControlTable* m_pTable;
/** The header bar for rows. */
Reference<
- ::com::sun::star::accessibility::XAccessible > m_xRowHeaderBar;
- AccessibleGridControlHeader* m_pRowHeaderBar;
+ ::com::sun::star::accessibility::XAccessible > m_xRowHeaderBar;
+ AccessibleGridControlHeader* m_pRowHeaderBar;
/** The header bar for columns (first row of the table). */
Reference<
- ::com::sun::star::accessibility::XAccessible > m_xColumnHeaderBar;
- AccessibleGridControlHeader* m_pColumnHeaderBar;
+ ::com::sun::star::accessibility::XAccessible > m_xColumnHeaderBar;
+ AccessibleGridControlHeader* m_pColumnHeaderBar;
};
DBG_NAME( AccessibleGridControl )
@@ -95,9 +95,9 @@ void SAL_CALL AccessibleGridControl::disposing()
{
::osl::MutexGuard aGuard( getOslMutex() );
- m_pImpl->m_pTable = NULL;
- m_pImpl->m_pColumnHeaderBar = NULL;
- m_pImpl->m_pRowHeaderBar = NULL;
+ m_pImpl->m_pTable = NULL;
+ m_pImpl->m_pColumnHeaderBar = NULL;
+ m_pImpl->m_pRowHeaderBar = NULL;
m_pImpl->m_aCreator = Reference< XAccessible >();
Reference< XAccessible > xTable = m_pImpl->m_xTable;
@@ -283,7 +283,7 @@ AccessibleGridControl::implGetHeaderBar( AccessibleTableControlObjType eObjType
if ( TCTYPE_COLUMNHEADERBAR == eObjType)
m_pImpl->m_pColumnHeaderBar = pHeaderBar;
else
- m_pImpl->m_pRowHeaderBar = pHeaderBar;
+ m_pImpl->m_pRowHeaderBar = pHeaderBar;
*pxMember = pHeaderBar;
}
diff --git a/accessibility/source/extended/AccessibleGridControlBase.cxx b/accessibility/source/extended/AccessibleGridControlBase.cxx
index bf1fb2cca520..db0cf33928b5 100644
--- a/accessibility/source/extended/AccessibleGridControlBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleGridControlHeader.cxx b/accessibility/source/extended/AccessibleGridControlHeader.cxx
index 464d5842163d..d217d5330a78 100644
--- a/accessibility/source/extended/AccessibleGridControlHeader.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeader.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
index 830f1e876aa7..671668ddc510 100644
--- a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx
index 18124682ae60..b6ab2017e765 100644
--- a/accessibility/source/extended/AccessibleGridControlTable.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ DBG_NAME( AccessibleGridControlTable )
AccessibleGridControlTable::AccessibleGridControlTable(
const Reference< XAccessible >& rxParent,
- IAccessibleTable& rTable,
+ IAccessibleTable& rTable,
AccessibleTableControlObjType _eType) :
AccessibleGridControlTableBase( rxParent, rTable, _eType )
{
diff --git a/accessibility/source/extended/AccessibleGridControlTableBase.cxx b/accessibility/source/extended/AccessibleGridControlTableBase.cxx
index 211f2a29d03f..d2a78b2112a9 100644
--- a/accessibility/source/extended/AccessibleGridControlTableBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
index 68bba16d6a3b..4a3182a514c2 100644
--- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -121,7 +121,7 @@ namespace accessibility
AccessibleGridControlTableCell::AccessibleGridControlTableCell(const Reference<XAccessible >& _rxParent,
IAccessibleTable& _rTable,
sal_Int32 _nRowPos,
- sal_uInt16 _nColPos,
+ sal_uInt16 _nColPos,
AccessibleTableControlObjType eObjType)
:AccessibleGridControlCell( _rxParent, _rTable, _nRowPos, _nColPos, eObjType )
{
diff --git a/accessibility/source/extended/AccessibleToolPanelDeck.cxx b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
index be2245474174..9dcb47ccaa2e 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeck.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
@@ -1,7 +1,7 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -362,17 +362,17 @@ namespace accessibility
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
return NULL;
}
-
+
//------------------------------------------------------------------------------------------------------------------
void SAL_CALL AccessibleToolPanelDeck::grabFocus( ) throw (RuntimeException)
{
MethodGuard aGuard( *m_pImpl );
m_pImpl->m_pPanelDeck->GrabFocus();
}
-
+
//------------------------------------------------------------------------------------------------------------------
void SAL_CALL AccessibleToolPanelDeck::disposing()
{
diff --git a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
index f4864c95a860..386a60d9bdf9 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
@@ -1,7 +1,7 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx b/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx
index b621124cbe5f..5344a51fe76f 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx
@@ -1,7 +1,7 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -290,41 +290,41 @@ namespace accessibility
{
return 0;
}
-
+
//--------------------------------------------------------------------
Reference< XAccessible > SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException)
{
(void)i;
throw IndexOutOfBoundsException( ::rtl::OUString(), *this );
}
-
+
//--------------------------------------------------------------------
Reference< XAccessible > SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleParent( ) throw (RuntimeException)
{
ItemMethodGuard aGuard( *m_pImpl );
return m_pImpl->getAccessibleParent();
}
-
+
//--------------------------------------------------------------------
sal_Int16 SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleRole( ) throw (RuntimeException)
{
return AccessibleRole::PAGE_TAB;
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleDescription( ) throw (RuntimeException)
{
ItemMethodGuard aGuard( *m_pImpl );
return m_pImpl->getPanelDisplayName();
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleName( ) throw (RuntimeException)
{
ItemMethodGuard aGuard( *m_pImpl );
return m_pImpl->getPanelDisplayName();
}
-
+
//--------------------------------------------------------------------
Reference< XAccessibleRelationSet > SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleRelationSet( ) throw (RuntimeException)
{
@@ -332,7 +332,7 @@ namespace accessibility
::utl::AccessibleRelationSetHelper* pRelationSet = new utl::AccessibleRelationSetHelper;
return pRelationSet;
}
-
+
//--------------------------------------------------------------------
Reference< XAccessibleStateSet > SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleStateSet( ) throw (RuntimeException)
{
@@ -373,14 +373,14 @@ namespace accessibility
(void)i_rLocation;
return NULL;
}
-
+
//--------------------------------------------------------------------
void SAL_CALL AccessibleToolPanelDeckTabBarItem::grabFocus( ) throw (RuntimeException)
{
ItemMethodGuard aGuard( *m_pImpl );
m_pImpl->getTabBar()->FocusPanelItem( m_pImpl->getItemPos() );
}
-
+
//--------------------------------------------------------------------
::sal_Int32 SAL_CALL AccessibleToolPanelDeckTabBarItem::getForeground( ) throw (RuntimeException)
{
@@ -388,7 +388,7 @@ namespace accessibility
Reference< XAccessibleComponent > xParentComponent( m_pImpl->getParentAccessibleComponent(), UNO_SET_THROW );
return xParentComponent->getForeground();
}
-
+
//--------------------------------------------------------------------
::sal_Int32 SAL_CALL AccessibleToolPanelDeckTabBarItem::getBackground( ) throw (RuntimeException)
{
@@ -396,7 +396,7 @@ namespace accessibility
Reference< XAccessibleComponent > xParentComponent( m_pImpl->getParentAccessibleComponent(), UNO_SET_THROW );
return xParentComponent->getBackground();
}
-
+
//--------------------------------------------------------------------
Reference< XFont > SAL_CALL AccessibleToolPanelDeckTabBarItem::getFont( ) throw (RuntimeException)
{
@@ -406,7 +406,7 @@ namespace accessibility
// a different font ...
return xParentComponent->getFont();
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL AccessibleToolPanelDeckTabBarItem::getTitledBorderText( ) throw (RuntimeException)
{
@@ -414,7 +414,7 @@ namespace accessibility
// no support
return ::rtl::OUString();
}
-
+
//--------------------------------------------------------------------
::rtl::OUString SAL_CALL AccessibleToolPanelDeckTabBarItem::getToolTipText( ) throw (RuntimeException)
{
@@ -438,7 +438,7 @@ namespace accessibility
aItemScreenRect.GetHeight()
);
}
-
+
//--------------------------------------------------------------------
void SAL_CALL AccessibleToolPanelDeckTabBarItem::disposing()
{
diff --git a/accessibility/source/extended/accessiblebrowseboxcell.cxx b/accessibility/source/extended/accessiblebrowseboxcell.cxx
index addbcaaa7cf8..4caad5693d96 100644
--- a/accessibility/source/extended/accessiblebrowseboxcell.cxx
+++ b/accessibility/source/extended/accessiblebrowseboxcell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -87,7 +87,7 @@ namespace accessibility
}
// .................................................................................
-} // namespace accessibility
+} // namespace accessibility
// .................................................................................
diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
index 5312717034ee..765ee2e1fc82 100644
--- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
+++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,7 +70,7 @@ namespace accessibility
{
if ( !rBHelper.bDisposed )
{
- acquire(); // to prevent duplicate dtor calls
+ acquire(); // to prevent duplicate dtor calls
dispose();
}
@@ -123,7 +123,7 @@ namespace accessibility
}
// -----------------------------------------------------------------------------
- ::rtl::OUString SAL_CALL EditBrowseBoxTableCell::getAccessibleDescription() throw ( RuntimeException )
+ ::rtl::OUString SAL_CALL EditBrowseBoxTableCell::getAccessibleDescription() throw ( RuntimeException )
{
SolarMethodGuard aGuard( *this );
return m_xInnerContext->getAccessibleDescription();
@@ -149,7 +149,7 @@ namespace accessibility
}
// -----------------------------------------------------------------------------
- Reference< XAccessibleRelationSet > SAL_CALL EditBrowseBoxTableCell::getAccessibleRelationSet() throw ( RuntimeException )
+ Reference< XAccessibleRelationSet > SAL_CALL EditBrowseBoxTableCell::getAccessibleRelationSet() throw ( RuntimeException )
{
SolarMethodGuard aGuard( *this );
return OAccessibleContextWrapperHelper::getAccessibleRelationSet( );
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx
index dddb38fcbea1..875191e93328 100644
--- a/accessibility/source/extended/accessibleiconchoicectrl.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,7 +59,7 @@ namespace accessibility
AccessibleIconChoiceCtrl::AccessibleIconChoiceCtrl( SvtIconChoiceCtrl& _rIconCtrl, const Reference< XAccessible >& _xParent ) :
VCLXAccessibleComponent( _rIconCtrl.GetWindowPeer() ),
- m_xParent ( _xParent )
+ m_xParent ( _xParent )
{
DBG_CTOR( AccessibleIconChoiceCtrl, NULL );
}
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index 2a4b90affd54..6a613dede454 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,8 +49,8 @@
#include <comphelper/accessibleeventnotifier.hxx>
#define ACCESSIBLE_ACTION_COUNT 1
-#define AID_EXPAND 0
-#define AID_COLLAPSE 1
+#define AID_EXPAND 0
+#define AID_COLLAPSE 1
namespace
{
@@ -82,12 +82,12 @@ namespace accessibility
ULONG _nPos,
const Reference< XAccessible >& _xParent ) :
- AccessibleIconChoiceCtrlEntry_BASE ( m_aMutex ),
+ AccessibleIconChoiceCtrlEntry_BASE ( m_aMutex ),
- m_pIconCtrl ( &_rIconCtrl ),
- m_nIndex ( _nPos ),
+ m_pIconCtrl ( &_rIconCtrl ),
+ m_nIndex ( _nPos ),
m_nClientId ( 0 ),
- m_xParent ( _xParent )
+ m_xParent ( _xParent )
{
osl_incrementInterlockedCount( &m_refCount );
@@ -443,7 +443,7 @@ throw(RuntimeException)
// do nothing, because no focus for each item
}
// -----------------------------------------------------------------------------
- sal_Int32 AccessibleIconChoiceCtrlEntry::getForeground( ) throw (RuntimeException)
+ sal_Int32 AccessibleIconChoiceCtrlEntry::getForeground( ) throw (RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -535,7 +535,7 @@ throw(RuntimeException)
::osl::MutexGuard aGuard( m_aMutex );
String sText = getText();
- if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex )
+ if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex )
|| ( 0 > nEndIndex ) || ( sText.Len() <= nEndIndex ) )
throw IndexOutOfBoundsException();
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx
index 95e52056e1da..129638e486d1 100644
--- a/accessibility/source/extended/accessiblelistbox.cxx
+++ b/accessibility/source/extended/accessiblelistbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -83,7 +83,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
SvTreeListBox* AccessibleListBox::getListBox() const
{
- return static_cast< SvTreeListBox* >( const_cast<AccessibleListBox*>(this)->GetWindow() );
+ return static_cast< SvTreeListBox* >( const_cast<AccessibleListBox*>(this)->GetWindow() );
}
// -----------------------------------------------------------------------------
void AccessibleListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index 71c52a90b1db..7ab28367b3d4 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -50,7 +50,7 @@
#include <comphelper/accessibleeventnotifier.hxx>
#include <toolkit/helper/vclunohelper.hxx>
-#define ACCESSIBLE_ACTION_COUNT 1
+#define ACCESSIBLE_ACTION_COUNT 1
namespace
{
@@ -81,11 +81,11 @@ namespace accessibility
SvLBoxEntry* _pEntry,
const Reference< XAccessible >& _xParent ) :
- AccessibleListBoxEntry_BASE ( m_aMutex ),
+ AccessibleListBoxEntry_BASE ( m_aMutex ),
ListBoxAccessibleBase( _rListBox ),
m_nClientId ( 0 ),
- m_aParent ( _xParent )
+ m_aParent ( _xParent )
{
DBG_CTOR( AccessibleListBoxEntry, NULL );
@@ -348,13 +348,13 @@ namespace accessibility
{
DBG_ASSERT( m_aEntryPath.size(), "AccessibleListBoxEntry::getAccessibleParent: invalid path!" );
if ( 1 == m_aEntryPath.size() )
- { // we're a top level entry
+ { // we're a top level entry
// -> our parent is the tree listbox itself
if ( getListBox() )
xParent = getListBox()->GetAccessible( );
}
else
- { // we have a entry as parent -> get it's accessible
+ { // we have a entry as parent -> get it's accessible
// shorten our access path by one
::std::deque< sal_Int32 > aParentPath( m_aEntryPath );
@@ -514,7 +514,7 @@ namespace accessibility
// do nothing, because no focus for each item
}
// -----------------------------------------------------------------------------
- sal_Int32 AccessibleListBoxEntry::getForeground( ) throw (RuntimeException)
+ sal_Int32 AccessibleListBoxEntry::getForeground( ) throw (RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -604,7 +604,7 @@ namespace accessibility
EnsureIsAlive();
String sText = getText();
- if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex )
+ if ( ( 0 > nStartIndex ) || ( sText.Len() <= nStartIndex )
|| ( 0 > nEndIndex ) || ( sText.Len() <= nEndIndex ) )
throw IndexOutOfBoundsException();
diff --git a/accessibility/source/extended/accessibletabbar.cxx b/accessibility/source/extended/accessibletabbar.cxx
index 88a04c5584bc..c0b043efd5b6 100644
--- a/accessibility/source/extended/accessibletabbar.cxx
+++ b/accessibility/source/extended/accessibletabbar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,9 +56,9 @@ namespace accessibility
DBG_NAME( AccessibleTabBar )
- // ----------------------------------------------------
- // class AccessibleTabBar
- // ----------------------------------------------------
+ // ----------------------------------------------------
+ // class AccessibleTabBar
+ // ----------------------------------------------------
AccessibleTabBar::AccessibleTabBar( TabBar* pTabBar )
:AccessibleTabBarBase( pTabBar )
@@ -115,13 +115,13 @@ namespace accessibility
case VCLEVENT_WINDOW_SHOW:
{
aNewValue <<= AccessibleStateType::SHOWING;
- NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue );
+ NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue );
}
break;
case VCLEVENT_WINDOW_HIDE:
{
aOldValue <<= AccessibleStateType::SHOWING;
- NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue );
+ NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue );
}
break;
default:
@@ -160,7 +160,7 @@ namespace accessibility
}
// -----------------------------------------------------------------------------
- // OCommonAccessibleComponent
+ // OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle AccessibleTabBar::implGetBounds() throw (RuntimeException)
@@ -345,7 +345,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- ::rtl::OUString AccessibleTabBar::getAccessibleDescription( ) throw (RuntimeException)
+ ::rtl::OUString AccessibleTabBar::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -423,8 +423,8 @@ namespace accessibility
{
Reference< XAccessible > xAcc = getAccessibleChild( i );
if ( xAcc.is() )
- {
- Reference< XAccessibleComponent > xComp( xAcc->getAccessibleContext(), UNO_QUERY );
+ {
+ Reference< XAccessibleComponent > xComp( xAcc->getAccessibleContext(), UNO_QUERY );
if ( xComp.is() )
{
Rectangle aRect = VCLRectangle( xComp->getBounds() );
@@ -453,7 +453,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- sal_Int32 AccessibleTabBar::getForeground( ) throw (RuntimeException)
+ sal_Int32 AccessibleTabBar::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -551,7 +551,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
//.........................................................................
-} // namespace accessibility
+} // namespace accessibility
//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/accessibility/source/extended/accessibletabbarbase.cxx b/accessibility/source/extended/accessibletabbarbase.cxx
index 4fa22f9bc602..8c485c4f3104 100644
--- a/accessibility/source/extended/accessibletabbarbase.cxx
+++ b/accessibility/source/extended/accessibletabbarbase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx
index 898d2435b10a..e84085803967 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,8 +59,8 @@ namespace accessibility
,m_nPageId( nPageId )
,m_xParent( rxParent )
{
- m_bEnabled = IsEnabled();
- m_bShowing = IsShowing();
+ m_bEnabled = IsEnabled();
+ m_bShowing = IsShowing();
m_bSelected = IsSelected();
if ( m_pTabBar )
@@ -82,7 +82,7 @@ namespace accessibility
sal_Bool bEnabled = sal_False;
if ( m_pTabBar )
bEnabled = m_pTabBar->IsPageEnabled( m_nPageId );
-
+
return bEnabled;
}
@@ -202,12 +202,12 @@ namespace accessibility
}
// -----------------------------------------------------------------------------
- // OCommonAccessibleComponent
+ // OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle AccessibleTabBarPage::implGetBounds() throw (RuntimeException)
{
- awt::Rectangle aBounds;
+ awt::Rectangle aBounds;
if ( m_pTabBar )
{
// get bounding rectangle relative to the AccessibleTabBar
@@ -217,7 +217,7 @@ namespace accessibility
Reference< XAccessible > xParent = getAccessibleParent();
if ( xParent.is() )
{
- Reference< XAccessibleComponent > xParentComponent( xParent->getAccessibleContext(), UNO_QUERY );
+ Reference< XAccessibleComponent > xParentComponent( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComponent.is() )
{
awt::Point aParentLoc = xParentComponent->getLocation();
@@ -352,7 +352,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- ::rtl::OUString AccessibleTabBarPage::getAccessibleDescription( ) throw (RuntimeException)
+ ::rtl::OUString AccessibleTabBarPage::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -369,7 +369,7 @@ namespace accessibility
{
OExternalLockGuard aGuard( this );
- return m_sPageText;
+ return m_sPageText;
}
// -----------------------------------------------------------------------------
@@ -433,7 +433,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- sal_Int32 AccessibleTabBarPage::getForeground( ) throw (RuntimeException)
+ sal_Int32 AccessibleTabBarPage::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -443,7 +443,7 @@ namespace accessibility
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getForeground();
+ nColor = xParentComp->getForeground();
}
return nColor;
@@ -461,7 +461,7 @@ namespace accessibility
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getBackground();
+ nColor = xParentComp->getBackground();
}
return nColor;
@@ -481,7 +481,7 @@ namespace accessibility
{
Reference< XAccessibleExtendedComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- xFont = xParentComp->getFont();
+ xFont = xParentComp->getFont();
}
return xFont;
@@ -493,7 +493,7 @@ namespace accessibility
{
OExternalLockGuard aGuard( this );
- return m_sPageText;
+ return m_sPageText;
}
// -----------------------------------------------------------------------------
@@ -508,7 +508,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
//.........................................................................
-} // namespace accessibility
+} // namespace accessibility
//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx b/accessibility/source/extended/accessibletabbarpagelist.cxx
index 60589218ae47..89015b0ae7a6 100644
--- a/accessibility/source/extended/accessibletabbarpagelist.cxx
+++ b/accessibility/source/extended/accessibletabbarpagelist.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -534,7 +534,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- ::rtl::OUString AccessibleTabBarPageList::getAccessibleDescription( ) throw (RuntimeException)
+ ::rtl::OUString AccessibleTabBarPageList::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -631,7 +631,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- sal_Int32 AccessibleTabBarPageList::getForeground( ) throw (RuntimeException)
+ sal_Int32 AccessibleTabBarPageList::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -802,7 +802,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
//.........................................................................
-} // namespace accessibility
+} // namespace accessibility
//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/accessibility/source/extended/accessibletablistbox.cxx b/accessibility/source/extended/accessibletablistbox.cxx
index 1b22c0b87565..a50001d59202 100644
--- a/accessibility/source/extended/accessibletablistbox.cxx
+++ b/accessibility/source/extended/accessibletablistbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/extended/accessibletablistboxtable.cxx b/accessibility/source/extended/accessibletablistboxtable.cxx
index 3cd3c333148a..3863d8aab27e 100644
--- a/accessibility/source/extended/accessibletablistboxtable.cxx
+++ b/accessibility/source/extended/accessibletablistboxtable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ namespace accessibility
AccessibleBrowseBoxTable( rxParent, rBox ),
- m_pTabListBox ( &rBox )
+ m_pTabListBox ( &rBox )
{
DBG_CTOR( AccessibleTabListBoxTable, NULL );
diff --git a/accessibility/source/extended/listboxaccessible.cxx b/accessibility/source/extended/listboxaccessible.cxx
index ff7fc77d4069..04a67146a49b 100644
--- a/accessibility/source/extended/listboxaccessible.cxx
+++ b/accessibility/source/extended/listboxaccessible.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -100,7 +100,7 @@ namespace accessibility
}
//........................................................................
-} // namespace accessibility
+} // namespace accessibility
//........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index f8462e144633..cd31df1cb391 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -109,7 +109,7 @@ ParagraphImpl::numberChanged(bool bIncremented)
}
void ParagraphImpl::textChanged()
-{
+{
::rtl::OUString aParagraphText = implGetText();
::css::uno::Any aOldValue, aNewValue;
if ( implInitTextChangedEvent( m_aParagraphText, aParagraphText, aOldValue, aNewValue ) )
@@ -595,45 +595,45 @@ ParagraphImpl::getRunAttributes(::sal_Int32 Index, const ::css::uno::Sequence< :
return m_xDocument->retrieveRunAttributes( this, Index, RequestedAttributes );
}
-// virtual
-::sal_Int32 SAL_CALL ParagraphImpl::getLineNumberAtIndex( ::sal_Int32 nIndex )
- throw (::css::lang::IndexOutOfBoundsException,
+// virtual
+::sal_Int32 SAL_CALL ParagraphImpl::getLineNumberAtIndex( ::sal_Int32 nIndex )
+ throw (::css::lang::IndexOutOfBoundsException,
::css::uno::RuntimeException)
{
checkDisposed();
-
+
::sal_Int32 nLineNo = -1;
- ::css::i18n::Boundary aBoundary =
+ ::css::i18n::Boundary aBoundary =
m_xDocument->retrieveParagraphLineBoundary( this, nIndex, &nLineNo );
-
+
return nLineNo;
}
-
-// virtual
-::css::accessibility::TextSegment SAL_CALL ParagraphImpl::getTextAtLineNumber( ::sal_Int32 nLineNo )
+
+// virtual
+::css::accessibility::TextSegment SAL_CALL ParagraphImpl::getTextAtLineNumber( ::sal_Int32 nLineNo )
throw (::css::lang::IndexOutOfBoundsException,
::css::uno::RuntimeException)
{
checkDisposed();
-
- ::css::i18n::Boundary aBoundary =
+
+ ::css::i18n::Boundary aBoundary =
m_xDocument->retrieveParagraphBoundaryOfLine( this, nLineNo );
-
+
return ::css::accessibility::TextSegment( getTextRange(aBoundary.startPos, aBoundary.endPos),
aBoundary.startPos, aBoundary.endPos);
}
// virtual
-::css::accessibility::TextSegment SAL_CALL ParagraphImpl::getTextAtLineWithCaret( )
+::css::accessibility::TextSegment SAL_CALL ParagraphImpl::getTextAtLineWithCaret( )
throw (::css::uno::RuntimeException)
{
checkDisposed();
-
+
sal_Int32 nLineNo = getNumberOfLineWithCaret();
-
+
try {
- return ( nLineNo >= 0 ) ?
- getTextAtLineNumber( nLineNo ) :
+ return ( nLineNo >= 0 ) ?
+ getTextAtLineNumber( nLineNo ) :
::css::accessibility::TextSegment();
} catch (const ::css::lang::IndexOutOfBoundsException&) {
throw ::css::uno::RuntimeException(
@@ -644,9 +644,9 @@ ParagraphImpl::getRunAttributes(::sal_Int32 Index, const ::css::uno::Sequence< :
static_cast< ::css::uno::XWeak * >( this ) );
}
}
-
+
// virtual
-::sal_Int32 SAL_CALL ParagraphImpl::getNumberOfLineWithCaret( )
+::sal_Int32 SAL_CALL ParagraphImpl::getNumberOfLineWithCaret( )
throw (::css::uno::RuntimeException)
{
checkDisposed();
@@ -737,7 +737,7 @@ void ParagraphImpl::implGetSelection(::sal_Int32 & rStartIndex,
}
// virtual
-void ParagraphImpl::implGetParagraphBoundary( ::css::i18n::Boundary& rBoundary,
+void ParagraphImpl::implGetParagraphBoundary( ::css::i18n::Boundary& rBoundary,
::sal_Int32 nIndex )
{
::rtl::OUString sText( implGetText() );
@@ -764,7 +764,7 @@ void ParagraphImpl::implGetLineBoundary( ::css::i18n::Boundary& rBoundary,
if ( implIsValidIndex( nIndex, nLength ) || nIndex == nLength )
{
- ::css::i18n::Boundary aBoundary =
+ ::css::i18n::Boundary aBoundary =
m_xDocument->retrieveParagraphLineBoundary( this, nIndex );
rBoundary.startPos = aBoundary.startPos;
rBoundary.endPos = aBoundary.endPos;
@@ -916,8 +916,8 @@ void Document::retrieveParagraphSelection(ParagraphImpl const * pParagraph,
if ( nNumber >= aMinPaM.GetPara() && nNumber <= aMaxPaM.GetPara() )
{
- *pBegin = nNumber > aMinPaM.GetPara()
- ? 0
+ *pBegin = nNumber > aMinPaM.GetPara()
+ ? 0
: static_cast< ::sal_Int32 >( aMinPaM.GetIndex() );
// XXX numeric overflow
*pEnd = nNumber < aMaxPaM.GetPara()
@@ -926,7 +926,7 @@ void Document::retrieveParagraphSelection(ParagraphImpl const * pParagraph,
// XXX numeric overflow (3x)
if ( aStartPaM > aEndPaM )
- ::std::swap( *pBegin, *pEnd );
+ ::std::swap( *pBegin, *pEnd );
}
else
{
@@ -943,7 +943,7 @@ void Document::retrieveParagraphSelection(ParagraphImpl const * pParagraph,
Paragraphs::size_type nNumber = pParagraph->getNumber();
TextPaM aEndPaM( rSelection.GetEnd() );
- return aEndPaM.GetPara() == nNumber
+ return aEndPaM.GetPara() == nNumber
? static_cast< ::sal_Int32 >(aEndPaM.GetIndex()) : -1;
}
@@ -1314,7 +1314,7 @@ Document::retrieveParagraphLineBoundary( ParagraphImpl const * pParagraph,
::USHORT nLineCount = m_rEngine.GetLineCount( nNumber );
for ( ::USHORT nLine = 0; nLine < nLineCount; ++nLine )
{
- ::sal_Int32 nLineLength = static_cast< ::sal_Int32 >(
+ ::sal_Int32 nLineLength = static_cast< ::sal_Int32 >(
m_rEngine.GetLineLen( nNumber, nLine ) );
nLineStart = nLineEnd;
nLineEnd += nLineLength;
@@ -1355,12 +1355,12 @@ Document::retrieveParagraphBoundaryOfLine( ParagraphImpl const * pParagraph,
::sal_Int32 nLineEnd = 0;
for ( ::USHORT nLine = 0; nLine <= nLineNo; ++nLine )
{
- ::sal_Int32 nLineLength = static_cast< ::sal_Int32 >(
+ ::sal_Int32 nLineLength = static_cast< ::sal_Int32 >(
m_rEngine.GetLineLen( nNumber, nLine ) );
nLineStart = nLineEnd;
nLineEnd += nLineLength;
}
-
+
aBoundary.startPos = nLineStart;
aBoundary.endPos = nLineEnd;
}
@@ -1376,7 +1376,7 @@ sal_Int32 Document::retrieveParagraphLineWithCursor( ParagraphImpl const * pPara
Paragraphs::size_type nNumber = pParagraph->getNumber();
TextPaM aEndPaM( rSelection.GetEnd() );
- return aEndPaM.GetPara() == nNumber
+ return aEndPaM.GetPara() == nNumber
? m_rView.GetLineNumberOfCursorInSelection() : -1;
}
@@ -1417,7 +1417,7 @@ void Document::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
case VCLEVENT_WINDOW_GETFOCUS:
case VCLEVENT_WINDOW_LOSEFOCUS:
{
- // #107179# if our parent is a compound control (e.g. MultiLineEdit),
+ // #107179# if our parent is a compound control (e.g. MultiLineEdit),
// suppress the window focus events here
if ( !m_bCompoundControlChild )
VCLXAccessibleComponent::ProcessWindowEvent( rVclWindowEvent );
diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx
index 3707209228ed..0c0bf172e599 100644
--- a/accessibility/source/helper/acc_factory.cxx
+++ b/accessibility/source/helper/acc_factory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -392,7 +392,7 @@ inline bool hasFloatingChild(Window *pWindow)
{
xContext = new FloatingWindowAccessible( _pXWindow );
}
- else if ( nType == WINDOW_BORDERWINDOW && hasFloatingChild( pWindow ) )
+ else if ( nType == WINDOW_BORDERWINDOW && hasFloatingChild( pWindow ) )
{
PopupMenuFloatingWindow* pChild = dynamic_cast<PopupMenuFloatingWindow*>(
pWindow->GetAccessibleChildWindow(0));
@@ -405,7 +405,7 @@ inline bool hasFloatingChild(Window *pWindow)
}
else
xContext = new FloatingWindowAccessible( _pXWindow );
- }
+ }
else if ( ( nType == WINDOW_HELPTEXTWINDOW ) || ( nType == WINDOW_FIXEDLINE ) )
{
xContext = (accessibility::XAccessibleContext*) new VCLXAccessibleFixedText( _pXWindow );
diff --git a/accessibility/source/helper/accessiblestrings.src b/accessibility/source/helper/accessiblestrings.src
index ee7f77f9b502..34f3b381b5f0 100644
--- a/accessibility/source/helper/accessiblestrings.src
+++ b/accessibility/source/helper/accessiblestrings.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/helper/accresmgr.cxx b/accessibility/source/helper/accresmgr.cxx
index c2e5516d6a88..a448c4000c82 100644
--- a/accessibility/source/helper/accresmgr.cxx
+++ b/accessibility/source/helper/accresmgr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/helper/characterattributeshelper.cxx b/accessibility/source/helper/characterattributeshelper.cxx
index fe06e78dc7a3..7a08bce2738e 100644
--- a/accessibility/source/helper/characterattributeshelper.cxx
+++ b/accessibility/source/helper/characterattributeshelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/inc/floatingwindowaccessible.hxx b/accessibility/source/inc/floatingwindowaccessible.hxx
index cc8a91f637d5..d967238fb8ec 100644
--- a/accessibility/source/inc/floatingwindowaccessible.hxx
+++ b/accessibility/source/inc/floatingwindowaccessible.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,7 +36,7 @@ class FloatingWindowAccessible : public VCLXAccessibleComponent
public:
FloatingWindowAccessible( VCLXWindow* pWindow );
virtual ~FloatingWindowAccessible();
-
+
virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet );
};
diff --git a/accessibility/source/standard/accessiblemenubasecomponent.cxx b/accessibility/source/standard/accessiblemenubasecomponent.cxx
index ab02caaa322c..48ff87f7509d 100644
--- a/accessibility/source/standard/accessiblemenubasecomponent.cxx
+++ b/accessibility/source/standard/accessiblemenubasecomponent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -394,8 +394,8 @@ Reference< XAccessible > OAccessibleMenuBaseComponent::GetChildAt( const awt::Po
{
Reference< XAccessible > xAcc = getAccessibleChild( i );
if ( xAcc.is() )
- {
- Reference< XAccessibleComponent > xComp( xAcc->getAccessibleContext(), UNO_QUERY );
+ {
+ Reference< XAccessibleComponent > xComp( xAcc->getAccessibleContext(), UNO_QUERY );
if ( xComp.is() )
{
Rectangle aRect = VCLRectangle( xComp->getBounds() );
diff --git a/accessibility/source/standard/accessiblemenucomponent.cxx b/accessibility/source/standard/accessiblemenucomponent.cxx
index 973fae780d3f..1773779b3ffd 100644
--- a/accessibility/source/standard/accessiblemenucomponent.cxx
+++ b/accessibility/source/standard/accessiblemenucomponent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -113,7 +113,7 @@ void OAccessibleMenuComponent::FillAccessibleStateSet( utl::AccessibleStateSetHe
}
// -----------------------------------------------------------------------------
-// OCommonAccessibleComponent
+// OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle OAccessibleMenuComponent::implGetBounds() throw (RuntimeException)
@@ -133,7 +133,7 @@ awt::Rectangle OAccessibleMenuComponent::implGetBounds() throw (RuntimeException
Reference< XAccessible > xParent = getAccessibleParent();
if ( xParent.is() )
{
- Reference< XAccessibleComponent > xParentComponent( xParent->getAccessibleContext(), UNO_QUERY );
+ Reference< XAccessibleComponent > xParentComponent( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComponent.is() )
{
awt::Point aParentScreenLoc = xParentComponent->getLocationOnScreen();
@@ -169,7 +169,7 @@ sal_Int32 OAccessibleMenuComponent::getAccessibleChildCount() throw (RuntimeExce
{
OExternalLockGuard aGuard( this );
- return GetChildCount();
+ return GetChildCount();
}
// -----------------------------------------------------------------------------
@@ -217,7 +217,7 @@ sal_Int16 OAccessibleMenuComponent::getAccessibleRole( ) throw (RuntimeExceptio
// -----------------------------------------------------------------------------
-::rtl::OUString OAccessibleMenuComponent::getAccessibleDescription( ) throw (RuntimeException)
+::rtl::OUString OAccessibleMenuComponent::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -286,7 +286,7 @@ awt::Point OAccessibleMenuComponent::getLocationOnScreen( ) throw (RuntimeExcep
if ( pWindow )
{
Rectangle aRect = pWindow->GetWindowExtentsRelative( NULL );
- aPos = AWTPoint( aRect.TopLeft() );
+ aPos = AWTPoint( aRect.TopLeft() );
}
}
@@ -309,7 +309,7 @@ void OAccessibleMenuComponent::grabFocus( ) throw (RuntimeException)
// -----------------------------------------------------------------------------
-sal_Int32 OAccessibleMenuComponent::getForeground( ) throw (RuntimeException)
+sal_Int32 OAccessibleMenuComponent::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -392,13 +392,13 @@ void OAccessibleMenuComponent::selectAccessibleChild( sal_Int32 nChildIndex ) th
// -----------------------------------------------------------------------------
sal_Bool OAccessibleMenuComponent::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
-{
+{
OExternalLockGuard aGuard( this );
if ( nChildIndex < 0 || nChildIndex >= GetChildCount() )
throw IndexOutOfBoundsException();
- return IsChildSelected( nChildIndex );
+ return IsChildSelected( nChildIndex );
}
// -----------------------------------------------------------------------------
@@ -426,7 +426,7 @@ sal_Int32 OAccessibleMenuComponent::getSelectedAccessibleChildCount( ) throw (R
sal_Int32 nRet = 0;
for ( sal_Int32 i = 0, nCount = GetChildCount(); i < nCount; i++ )
- {
+ {
if ( IsChildSelected( i ) )
++nRet;
}
@@ -446,7 +446,7 @@ Reference< XAccessible > OAccessibleMenuComponent::getSelectedAccessibleChild( s
Reference< XAccessible > xChild;
for ( sal_Int32 i = 0, j = 0, nCount = GetChildCount(); i < nCount; i++ )
- {
+ {
if ( IsChildSelected( i ) && ( j++ == nSelectedChildIndex ) )
{
xChild = GetChild( i );
diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx
index 0b34e2efa800..afd9436708c8 100644
--- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx
+++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -111,9 +111,9 @@ sal_Bool OAccessibleMenuItemComponent::IsVisible()
void OAccessibleMenuItemComponent::Select()
{
// open the parent menu
- Reference< XAccessible > xParent( getAccessibleParent() );
+ Reference< XAccessible > xParent( getAccessibleParent() );
if ( xParent.is() )
- {
+ {
OAccessibleMenuBaseComponent* pComp = static_cast< OAccessibleMenuBaseComponent* >( xParent.get() );
if ( pComp && pComp->getAccessibleRole() == AccessibleRole::MENU && !pComp->IsPopupMenuOpen() )
pComp->Click();
@@ -137,9 +137,9 @@ void OAccessibleMenuItemComponent::DeSelect()
void OAccessibleMenuItemComponent::Click()
{
// open the parent menu
- Reference< XAccessible > xParent( getAccessibleParent() );
+ Reference< XAccessible > xParent( getAccessibleParent() );
if ( xParent.is() )
- {
+ {
OAccessibleMenuBaseComponent* pComp = static_cast< OAccessibleMenuBaseComponent* >( xParent.get() );
if ( pComp && pComp->getAccessibleRole() == AccessibleRole::MENU && !pComp->IsPopupMenuOpen() )
pComp->Click();
@@ -147,7 +147,7 @@ void OAccessibleMenuItemComponent::Click()
// click the menu item
if ( m_pParent )
- {
+ {
Window* pWindow = m_pParent->GetWindow();
if ( pWindow )
{
@@ -183,8 +183,8 @@ void OAccessibleMenuItemComponent::Click()
// -----------------------------------------------------------------------------
void OAccessibleMenuItemComponent::SetItemPos( sal_uInt16 nItemPos )
-{
- m_nItemPos = nItemPos;
+{
+ m_nItemPos = nItemPos;
}
// -----------------------------------------------------------------------------
@@ -261,7 +261,7 @@ void OAccessibleMenuItemComponent::FillAccessibleStateSet( utl::AccessibleStateS
}
// -----------------------------------------------------------------------------
-// OCommonAccessibleComponent
+// OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle OAccessibleMenuItemComponent::implGetBounds() throw (RuntimeException)
@@ -284,7 +284,7 @@ awt::Rectangle OAccessibleMenuItemComponent::implGetBounds() throw (RuntimeExcep
Reference< XAccessible > xParent = getAccessibleParent();
if ( xParent.is() )
{
- Reference< XAccessibleComponent > xParentComponent( xParent->getAccessibleContext(), UNO_QUERY );
+ Reference< XAccessibleComponent > xParentComponent( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComponent.is() )
{
awt::Point aParentScreenLoc = xParentComponent->getLocationOnScreen();
@@ -365,13 +365,13 @@ sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeExce
// -----------------------------------------------------------------------------
-::rtl::OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (RuntimeException)
+::rtl::OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
::rtl::OUString sDescription;
if ( m_pParent )
- sDescription = m_pParent->GetHelpText( m_pParent->GetItemId( m_nItemPos ) );
+ sDescription = m_pParent->GetHelpText( m_pParent->GetItemId( m_nItemPos ) );
return sDescription;
}
@@ -425,7 +425,7 @@ void OAccessibleMenuItemComponent::grabFocus( ) throw (RuntimeException)
// -----------------------------------------------------------------------------
-sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeException)
+sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -435,7 +435,7 @@ sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeExceptio
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getForeground();
+ nColor = xParentComp->getForeground();
}
return nColor;
@@ -453,7 +453,7 @@ sal_Int32 OAccessibleMenuItemComponent::getBackground( ) throw (RuntimeExceptio
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getBackground();
+ nColor = xParentComp->getBackground();
}
return nColor;
@@ -473,7 +473,7 @@ Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (Runtime
{
Reference< XAccessibleExtendedComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- xFont = xParentComp->getFont();
+ xFont = xParentComp->getFont();
}
return xFont;
@@ -496,7 +496,7 @@ Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (Runtime
::rtl::OUString sRet;
if ( m_pParent )
- sRet = m_pParent->GetTipHelpText( m_pParent->GetItemId( m_nItemPos ) );
+ sRet = m_pParent->GetTipHelpText( m_pParent->GetItemId( m_nItemPos ) );
return sRet;
}
diff --git a/accessibility/source/standard/floatingwindowaccessible.cxx b/accessibility/source/standard/floatingwindowaccessible.cxx
index af8a89122e32..6bb332fe73d6 100644
--- a/accessibility/source/standard/floatingwindowaccessible.cxx
+++ b/accessibility/source/standard/floatingwindowaccessible.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx
index c8177943a3f2..a630cb0a4a15 100644
--- a/accessibility/source/standard/vclxaccessiblebox.cxx
+++ b/accessibility/source/standard/vclxaccessiblebox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx
index de220dea6f08..7f32f17a1e18 100644
--- a/accessibility/source/standard/vclxaccessiblebutton.cxx
+++ b/accessibility/source/standard/vclxaccessiblebutton.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -226,7 +226,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleButton::getAccessibleActionKeyB
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
-
+
OAccessibleKeyBindingHelper* pKeyBindingHelper = new OAccessibleKeyBindingHelper();
Reference< XAccessibleKeyBinding > xKeyBinding = pKeyBindingHelper;
@@ -296,7 +296,7 @@ sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (Runt
pButton->SetPressed( (BOOL) nValue );
bReturn = sal_True;
}
-
+
return bReturn;
}
@@ -308,7 +308,7 @@ Any VCLXAccessibleButton::getMaximumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 1;
-
+
return aValue;
}
@@ -320,7 +320,7 @@ Any VCLXAccessibleButton::getMinimumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 0;
-
+
return aValue;
}
diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
index 98698adb7285..7cfc759e5138 100644
--- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx
+++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -199,7 +199,7 @@ sal_Int32 VCLXAccessibleCheckBox::getAccessibleActionCount( ) throw (RuntimeExce
{
OExternalLockGuard aGuard( this );
- return 1;
+ return 1;
}
// -----------------------------------------------------------------------------
@@ -254,7 +254,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleCheckBox::getAccessibleActionKe
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
-
+
OAccessibleKeyBindingHelper* pKeyBindingHelper = new OAccessibleKeyBindingHelper();
Reference< XAccessibleKeyBinding > xKeyBinding = pKeyBindingHelper;
@@ -298,7 +298,7 @@ Any VCLXAccessibleCheckBox::getCurrentValue( ) throw (RuntimeException)
VCLXCheckBox* pVCLXCheckBox = static_cast< VCLXCheckBox* >( GetVCLXWindow() );
if ( pVCLXCheckBox )
aValue <<= (sal_Int32) pVCLXCheckBox->getState();
-
+
return aValue;
}
@@ -312,7 +312,7 @@ sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) throw (Ru
VCLXCheckBox* pVCLXCheckBox = static_cast< VCLXCheckBox* >( GetVCLXWindow() );
if ( pVCLXCheckBox )
- {
+ {
sal_Int32 nValue = 0, nValueMin = 0, nValueMax = 0;
OSL_VERIFY( aNumber >>= nValue );
OSL_VERIFY( getMinimumValue() >>= nValueMin );
@@ -326,7 +326,7 @@ sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) throw (Ru
pVCLXCheckBox->setState( (sal_Int16) nValue );
bReturn = sal_True;
}
-
+
return bReturn;
}
@@ -343,7 +343,7 @@ Any VCLXAccessibleCheckBox::getMaximumValue( ) throw (RuntimeException)
aValue <<= (sal_Int32) 2;
else
aValue <<= (sal_Int32) 1;
-
+
return aValue;
}
@@ -355,7 +355,7 @@ Any VCLXAccessibleCheckBox::getMinimumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 0;
-
+
return aValue;
}
diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx
index 3da67a703e22..8ebba8c56af2 100644
--- a/accessibility/source/standard/vclxaccessiblecombobox.cxx
+++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,7 +60,7 @@ VCLXAccessibleComboBox::~VCLXAccessibleComboBox (void)
bool VCLXAccessibleComboBox::IsValid (void) const
{
return static_cast<ComboBox*>(GetWindow()) != NULL;
-
+
}
@@ -76,7 +76,7 @@ void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindo
//===== XServiceInfo ========================================================
-::rtl::OUString VCLXAccessibleComboBox::getImplementationName (void)
+::rtl::OUString VCLXAccessibleComboBox::getImplementationName (void)
throw (RuntimeException)
{
return ::rtl::OUString::createFromAscii ("com.sun.star.comp.toolkit.AccessibleComboBox");
@@ -85,7 +85,7 @@ void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindo
-Sequence< ::rtl::OUString > VCLXAccessibleComboBox::getSupportedServiceNames (void)
+Sequence< ::rtl::OUString > VCLXAccessibleComboBox::getSupportedServiceNames (void)
throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
diff --git a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx
index 370bf2fe70ea..302a7148fce7 100644
--- a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx
+++ b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -57,7 +57,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::accessibility;
-VCLXAccessibleDropDownComboBox::VCLXAccessibleDropDownComboBox (VCLXWindow* pVCLWindow)
+VCLXAccessibleDropDownComboBox::VCLXAccessibleDropDownComboBox (VCLXWindow* pVCLWindow)
: VCLXAccessibleBox (pVCLWindow, VCLXAccessibleBox::COMBOBOX, true)
{
}
@@ -74,7 +74,7 @@ VCLXAccessibleDropDownComboBox::~VCLXAccessibleDropDownComboBox (void)
bool VCLXAccessibleDropDownComboBox::IsValid (void) const
{
return static_cast<ComboBox*>(GetWindow()) != NULL;
-
+
}
@@ -87,7 +87,7 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r
case VCLEVENT_DROPDOWN_OPEN:
case VCLEVENT_DROPDOWN_CLOSE:
{
- /* // child count changed
+ /* // child count changed
Any aOldValue, aNewValue;
// get the listbox child
Reference< XAccessible > xChild;
@@ -122,7 +122,7 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r
//===== XServiceInfo ========================================================
-::rtl::OUString VCLXAccessibleDropDownComboBox::getImplementationName()
+::rtl::OUString VCLXAccessibleDropDownComboBox::getImplementationName()
throw (RuntimeException)
{
return ::rtl::OUString::createFromAscii("com.sun.star.comp.toolkit.AccessibleDropDownComboBox");
@@ -131,7 +131,7 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r
-Sequence< ::rtl::OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames (void)
+Sequence< ::rtl::OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames (void)
throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
index 340567eb967a..1777ef83484f 100644
--- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
+++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::accessibility;
-VCLXAccessibleDropDownListBox::VCLXAccessibleDropDownListBox (VCLXWindow* pVCLWindow)
+VCLXAccessibleDropDownListBox::VCLXAccessibleDropDownListBox (VCLXWindow* pVCLWindow)
: VCLXAccessibleBox (pVCLWindow, VCLXAccessibleBox::LISTBOX, true)
{
}
@@ -74,7 +74,7 @@ VCLXAccessibleDropDownListBox::~VCLXAccessibleDropDownListBox()
bool VCLXAccessibleDropDownListBox::IsValid (void) const
{
return static_cast<ListBox*>(GetWindow()) != NULL;
-
+
}
@@ -90,7 +90,7 @@ void VCLXAccessibleDropDownListBox::ProcessWindowEvent( const VclWindowEvent& rV
//===== XServiceInfo ========================================================
-::rtl::OUString VCLXAccessibleDropDownListBox::getImplementationName()
+::rtl::OUString VCLXAccessibleDropDownListBox::getImplementationName()
throw (RuntimeException)
{
return ::rtl::OUString::createFromAscii("com.sun.star.comp.toolkit.AccessibleDropDownListBox");
@@ -99,7 +99,7 @@ void VCLXAccessibleDropDownListBox::ProcessWindowEvent( const VclWindowEvent& rV
-Sequence< ::rtl::OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames (void)
+Sequence< ::rtl::OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames (void)
throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx
index e522ce081435..e20ad1e1c30a 100644
--- a/accessibility/source/standard/vclxaccessibleedit.cxx
+++ b/accessibility/source/standard/vclxaccessibleedit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,10 +93,10 @@ void VCLXAccessibleEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEve
{
sal_Int32 nOldCaretPosition = m_nCaretPosition;
sal_Int32 nOldSelectionStart = m_nSelectionStart;
-
+
m_nCaretPosition = getCaretPosition();
m_nSelectionStart = getSelectionStart();
-
+
Window* pWindow = GetWindow();
if ( pWindow && pWindow->HasChildPathFocus() )
{
@@ -107,7 +107,7 @@ void VCLXAccessibleEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEve
aNewValue <<= (sal_Int32) m_nCaretPosition;
NotifyAccessibleEvent( AccessibleEventId::CARET_CHANGED, aOldValue, aNewValue );
}
-
+
// #i104470# VCL only has SELECTION_CHANGED, but UAA distinguishes between SELECTION_CHANGED and CARET_CHANGED
sal_Bool bHasSelection = ( m_nSelectionStart != m_nCaretPosition );
sal_Bool bHadSelection = ( nOldSelectionStart != nOldCaretPosition );
@@ -115,7 +115,7 @@ void VCLXAccessibleEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEve
{
NotifyAccessibleEvent( AccessibleEventId::TEXT_SELECTION_CHANGED, Any(), Any() );
}
-
+
}
}
break;
@@ -603,7 +603,7 @@ sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEn
if ( !implIsValidRange( nStartIndex, nEndIndex, implGetText().getLength() ) )
throw IndexOutOfBoundsException();
- return sal_False; // attributes cannot be set for an edit
+ return sal_False; // attributes cannot be set for an edit
}
// -----------------------------------------------------------------------------
diff --git a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx
index d23d92065807..e67d45d265c2 100644
--- a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx
+++ b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessiblefixedtext.cxx b/accessibility/source/standard/vclxaccessiblefixedtext.cxx
index 6077efa65e87..ba7174b81d77 100644
--- a/accessibility/source/standard/vclxaccessiblefixedtext.cxx
+++ b/accessibility/source/standard/vclxaccessiblefixedtext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index accce8440c7e..c7e3d73faa2c 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,14 +62,14 @@ namespace
VCLXAccessibleList::VCLXAccessibleList (VCLXWindow* pVCLWindow, BoxType aBoxType,
const Reference< XAccessible >& _xParent)
- : VCLXAccessibleComponent (pVCLWindow),
- m_aBoxType (aBoxType),
- m_nVisibleLineCount (0),
- m_nIndexInParent (DEFAULT_INDEX_IN_PARENT),
- m_nLastTopEntry ( 0 ),
- m_nLastSelectedPos ( LISTBOX_ENTRY_NOTFOUND ),
- m_bDisableProcessEvent ( false ),
- m_bVisible ( true ),
+ : VCLXAccessibleComponent (pVCLWindow),
+ m_aBoxType (aBoxType),
+ m_nVisibleLineCount (0),
+ m_nIndexInParent (DEFAULT_INDEX_IN_PARENT),
+ m_nLastTopEntry ( 0 ),
+ m_nLastSelectedPos ( LISTBOX_ENTRY_NOTFOUND ),
+ m_bDisableProcessEvent ( false ),
+ m_bVisible ( true ),
m_xParent ( _xParent )
{
// Because combo boxes and list boxes don't have a common interface for
@@ -137,8 +137,8 @@ void VCLXAccessibleList::FillAccessibleStateSet (utl::AccessibleStateSetHelper&
VCLXAccessibleComponent::FillAccessibleStateSet( rStateSet );
// check if our list should be visible
- if ( m_pListBoxHelper
- && (m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) == WB_DROPDOWN
+ if ( m_pListBoxHelper
+ && (m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) == WB_DROPDOWN
&& !m_pListBoxHelper->IsInDropDown() )
{
rStateSet.RemoveState (AccessibleStateType::VISIBLE);
@@ -185,7 +185,7 @@ void VCLXAccessibleList::notifyVisibleStates(sal_Bool _bSetNew )
sal_Bool bVisible = ( nPos>=nTopEntry && nPos<( nTopEntry + m_nVisibleLineCount ) );
pItem->SetVisible( m_bVisible && bVisible );
}
-
+
}
}
// -----------------------------------------------------------------------------
@@ -240,7 +240,7 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve
VCLXAccessibleComponent::ProcessWindowEvent (rVclWindowEvent);
if ( m_pListBoxHelper )
{
- uno::Any aOldValue,
+ uno::Any aOldValue,
aNewValue;
USHORT nPos = m_pListBoxHelper->GetSelectEntryPos();
if ( nPos == LISTBOX_ENTRY_NOTFOUND )
@@ -248,7 +248,7 @@ void VCLXAccessibleList::ProcessWindowEvent (const VclWindowEvent& rVclWindowEve
if ( nPos != LISTBOX_ENTRY_NOTFOUND )
aNewValue <<= CreateChild(nPos);
- NotifyAccessibleEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
+ NotifyAccessibleEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED,
aOldValue,
aNewValue );
}
@@ -318,7 +318,7 @@ Reference<XAccessible> VCLXAccessibleList::CreateChild (sal_Int32 i)
{
ListItems::iterator aIter = m_aAccessibleChildren.begin() + nPos;
::std::mem_fun_t<bool, VCLXAccessibleListItem> aTemp(&VCLXAccessibleListItem::IncrementIndexInParent);
- adjustEntriesIndexInParent( aIter, aTemp);
+ adjustEntriesIndexInParent( aIter, aTemp);
}
else
{
@@ -363,7 +363,7 @@ void VCLXAccessibleList::HandleChangedItemList (bool bItemInserted, sal_Int32 nI
{
ListItems::iterator aIter = m_aAccessibleChildren.erase(m_aAccessibleChildren.begin()+nIndex);
::std::mem_fun_t<bool, VCLXAccessibleListItem> aTemp(&VCLXAccessibleListItem::DecrementIndexInParent);
- adjustEntriesIndexInParent( aIter, aTemp );
+ adjustEntriesIndexInParent( aIter, aTemp );
}
}
}
@@ -526,7 +526,7 @@ Sequence< ::rtl::OUString > VCLXAccessibleList::getSupportedServiceNames (void)
void VCLXAccessibleList::UpdateVisibleLineCount()
{
- if ( m_pListBoxHelper )
+ if ( m_pListBoxHelper )
{
if ( (m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) == WB_DROPDOWN )
m_nVisibleLineCount = m_pListBoxHelper->GetDisplayLineCount();
@@ -790,7 +790,7 @@ void SAL_CALL VCLXAccessibleList::deselectAccessibleChild( sal_Int32 nSelectedCh
awt::Rectangle VCLXAccessibleList::implGetBounds() throw (uno::RuntimeException)
{
awt::Rectangle aBounds ( 0, 0, 0, 0 );
- if ( m_pListBoxHelper
+ if ( m_pListBoxHelper
&& (m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) == WB_DROPDOWN )
{
if ( m_pListBoxHelper->IsInDropDown() )
@@ -825,7 +825,7 @@ awt::Point VCLXAccessibleList::getLocationOnScreen( ) throw (uno::RuntimeExcept
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
awt::Point aPos;
- if ( m_pListBoxHelper
+ if ( m_pListBoxHelper
&& (m_pListBoxHelper->GetStyle() & WB_DROPDOWN ) == WB_DROPDOWN )
{
if ( m_pListBoxHelper->IsInDropDown() )
diff --git a/accessibility/source/standard/vclxaccessiblelistbox.cxx b/accessibility/source/standard/vclxaccessiblelistbox.cxx
index 07aa685aac27..381cdfd8cd4b 100644
--- a/accessibility/source/standard/vclxaccessiblelistbox.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ VCLXAccessibleListBox::~VCLXAccessibleListBox (void)
bool VCLXAccessibleListBox::IsValid (void) const
{
return static_cast<ListBox*>(GetWindow()) != NULL;
-
+
}
@@ -88,7 +88,7 @@ void VCLXAccessibleListBox::ProcessWindowEvent (const VclWindowEvent& rVclWindow
//===== XServiceInfo ========================================================
-::rtl::OUString VCLXAccessibleListBox::getImplementationName (void)
+::rtl::OUString VCLXAccessibleListBox::getImplementationName (void)
throw (RuntimeException)
{
return ::rtl::OUString::createFromAscii("com.sun.star.comp.toolkit.AccessibleListBox");
@@ -97,7 +97,7 @@ void VCLXAccessibleListBox::ProcessWindowEvent (const VclWindowEvent& rVclWindow
-Sequence< ::rtl::OUString > VCLXAccessibleListBox::getSupportedServiceNames (void)
+Sequence< ::rtl::OUString > VCLXAccessibleListBox::getSupportedServiceNames (void)
throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx
index f84188ba8155..a72457061b0f 100644
--- a/accessibility/source/standard/vclxaccessiblelistitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -75,14 +75,14 @@ DBG_NAME(VCLXAccessibleListItem)
// -----------------------------------------------------------------------------
VCLXAccessibleListItem::VCLXAccessibleListItem( ::accessibility::IComboListBoxHelper* _pListBoxHelper, sal_Int32 _nIndexInParent, const Reference< XAccessible >& _xParent ) :
- VCLXAccessibleListItem_BASE ( m_aMutex ),
+ VCLXAccessibleListItem_BASE ( m_aMutex ),
m_nIndexInParent( _nIndexInParent ),
- m_bSelected ( sal_False ),
- m_bVisible ( sal_False ),
+ m_bSelected ( sal_False ),
+ m_bVisible ( sal_False ),
m_nClientId ( 0 ),
m_pListBoxHelper( _pListBoxHelper ),
- m_xParent ( _xParent )
+ m_xParent ( _xParent )
{
DBG_CTOR( VCLXAccessibleListItem, NULL );
@@ -210,10 +210,10 @@ void SAL_CALL VCLXAccessibleListItem::disposing()
::osl::MutexGuard aGuard( m_aMutex );
VCLXAccessibleListItem_BASE::disposing();
- m_sEntryText = ::rtl::OUString();
- m_pListBoxHelper = NULL;
- m_xParent = NULL;
- m_xParentContext = NULL;
+ m_sEntryText = ::rtl::OUString();
+ m_pListBoxHelper = NULL;
+ m_xParent = NULL;
+ m_xParentContext = NULL;
nId = m_nClientId;
m_nClientId = 0;
@@ -288,7 +288,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getAccessibleIndexInParent( ) throw
sal_Int16 SAL_CALL VCLXAccessibleListItem::getAccessibleRole( ) throw (RuntimeException)
{
return AccessibleRole::LIST_ITEM;
- // return AccessibleRole::LABEL;
+ // return AccessibleRole::LABEL;
}
// -----------------------------------------------------------------------------
::rtl::OUString SAL_CALL VCLXAccessibleListItem::getAccessibleDescription( ) throw (RuntimeException)
diff --git a/accessibility/source/standard/vclxaccessiblemenu.cxx b/accessibility/source/standard/vclxaccessiblemenu.cxx
index 2d66d98c9563..c341a6f2ecb4 100644
--- a/accessibility/source/standard/vclxaccessiblemenu.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenu.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -124,7 +124,7 @@ sal_Int32 VCLXAccessibleMenu::getAccessibleChildCount( ) throw (RuntimeExceptio
{
OExternalLockGuard aGuard( this );
- return GetChildCount();
+ return GetChildCount();
}
// -----------------------------------------------------------------------------
@@ -176,13 +176,13 @@ void VCLXAccessibleMenu::selectAccessibleChild( sal_Int32 nChildIndex ) throw (I
// -----------------------------------------------------------------------------
sal_Bool VCLXAccessibleMenu::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
-{
+{
OExternalLockGuard aGuard( this );
if ( nChildIndex < 0 || nChildIndex >= GetChildCount() )
throw IndexOutOfBoundsException();
- return IsChildSelected( nChildIndex );
+ return IsChildSelected( nChildIndex );
}
// -----------------------------------------------------------------------------
@@ -210,7 +210,7 @@ sal_Int32 VCLXAccessibleMenu::getSelectedAccessibleChildCount( ) throw (Runtime
sal_Int32 nRet = 0;
for ( sal_Int32 i = 0, nCount = GetChildCount(); i < nCount; i++ )
- {
+ {
if ( IsChildSelected( i ) )
++nRet;
}
@@ -230,7 +230,7 @@ Reference< XAccessible > VCLXAccessibleMenu::getSelectedAccessibleChild( sal_Int
Reference< XAccessible > xChild;
for ( sal_Int32 i = 0, j = 0, nCount = GetChildCount(); i < nCount; i++ )
- {
+ {
if ( IsChildSelected( i ) && ( j++ == nSelectedChildIndex ) )
{
xChild = GetChild( i );
diff --git a/accessibility/source/standard/vclxaccessiblemenubar.cxx b/accessibility/source/standard/vclxaccessiblemenubar.cxx
index 64eee8741f09..6bef6c5b786d 100644
--- a/accessibility/source/standard/vclxaccessiblemenubar.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenubar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
index a8b48a8baedc..b2b633956fda 100644
--- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,14 +81,14 @@ sal_Bool VCLXAccessibleMenuItem::IsFocused()
}
// -----------------------------------------------------------------------------
-
+
sal_Bool VCLXAccessibleMenuItem::IsSelected()
{
return IsHighlighted();
}
// -----------------------------------------------------------------------------
-
+
sal_Bool VCLXAccessibleMenuItem::IsChecked()
{
sal_Bool bChecked = sal_False;
@@ -104,7 +104,7 @@ sal_Bool VCLXAccessibleMenuItem::IsChecked()
}
// -----------------------------------------------------------------------------
-
+
sal_Bool VCLXAccessibleMenuItem::IsHighlighted()
{
sal_Bool bHighlighted = sal_False;
@@ -229,8 +229,8 @@ sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) throw (Ind
sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getCharacter( nIndex );
+
+ return OCommonAccessibleText::getCharacter( nIndex );
}
// -----------------------------------------------------------------------------
@@ -282,7 +282,7 @@ sal_Int32 VCLXAccessibleMenuItem::getCharacterCount() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
- return OCommonAccessibleText::getCharacterCount();
+ return OCommonAccessibleText::getCharacterCount();
}
// -----------------------------------------------------------------------------
@@ -311,8 +311,8 @@ sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) th
::rtl::OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getSelectedText();
+
+ return OCommonAccessibleText::getSelectedText();
}
// -----------------------------------------------------------------------------
@@ -320,7 +320,7 @@ sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) th
sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getSelectionStart();
}
@@ -329,8 +329,8 @@ sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() throw (RuntimeException)
sal_Int32 VCLXAccessibleMenuItem::getSelectionEnd() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getSelectionEnd();
+
+ return OCommonAccessibleText::getSelectionEnd();
}
// -----------------------------------------------------------------------------
@@ -350,7 +350,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
::rtl::OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getText();
}
@@ -359,8 +359,8 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
::rtl::OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
+
+ return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
// -----------------------------------------------------------------------------
@@ -368,7 +368,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
::com::sun::star::accessibility::TextSegment VCLXAccessibleMenuItem::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getTextAtIndex( nIndex, aTextType );
}
@@ -377,7 +377,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
::com::sun::star::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getTextBeforeIndex( nIndex, aTextType );
}
@@ -386,7 +386,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
::com::sun::star::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getTextBehindIndex( nIndex, aTextType );
}
@@ -400,7 +400,7 @@ sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEnd
if ( m_pParent )
{
- Window* pWindow = m_pParent->GetWindow();
+ Window* pWindow = m_pParent->GetWindow();
if ( pWindow )
{
Reference< datatransfer::clipboard::XClipboard > xClipboard = pWindow->GetClipboard();
@@ -415,7 +415,7 @@ sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEnd
Reference< datatransfer::clipboard::XFlushableClipboard > xFlushableClipboard( xClipboard, uno::UNO_QUERY );
if( xFlushableClipboard.is() )
xFlushableClipboard->flushClipboard();
-
+
Application::AcquireSolarMutex( nRef );
bReturn = sal_True;
@@ -434,7 +434,7 @@ sal_Int32 VCLXAccessibleMenuItem::getAccessibleActionCount( ) throw (RuntimeExce
{
OExternalLockGuard aGuard( this );
- return 1;
+ return 1;
}
// -----------------------------------------------------------------------------
@@ -471,7 +471,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKe
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
-
+
OAccessibleKeyBindingHelper* pKeyBindingHelper = new OAccessibleKeyBindingHelper();
Reference< XAccessibleKeyBinding > xKeyBinding = pKeyBindingHelper;
@@ -510,7 +510,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKe
{
Reference< XAccessibleKeyBinding > xKeyB( xAction->getAccessibleActionKeyBinding( 0 ) );
if ( xKeyB.is() && xKeyB->getAccessibleKeyBindingCount() > 1 )
- aSeq = xKeyB->getAccessibleKeyBinding( 1 );
+ aSeq = xKeyB->getAccessibleKeyBinding( 1 );
}
}
}
@@ -589,7 +589,7 @@ Any VCLXAccessibleMenuItem::getMaximumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 1;
-
+
return aValue;
}
@@ -601,7 +601,7 @@ Any VCLXAccessibleMenuItem::getMinimumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 0;
-
+
return aValue;
}
diff --git a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx
index 70130243e54e..5dca9676f3d0 100644
--- a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx
index 073ebd80f844..0f65f732b728 100644
--- a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx
+++ b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ VCLXAccessiblePopupMenu::~VCLXAccessiblePopupMenu()
// -----------------------------------------------------------------------------
sal_Bool VCLXAccessiblePopupMenu::IsFocused()
-{
+{
return !IsChildHighlighted();
}
diff --git a/accessibility/source/standard/vclxaccessibleradiobutton.cxx b/accessibility/source/standard/vclxaccessibleradiobutton.cxx
index 5ad9053e9ea5..13c9f251cfcd 100644
--- a/accessibility/source/standard/vclxaccessibleradiobutton.cxx
+++ b/accessibility/source/standard/vclxaccessibleradiobutton.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -175,7 +175,7 @@ sal_Int32 VCLXAccessibleRadioButton::getAccessibleActionCount( ) throw (RuntimeE
{
OExternalLockGuard aGuard( this );
- return 1;
+ return 1;
}
// -----------------------------------------------------------------------------
@@ -214,7 +214,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleRadioButton::getAccessibleActio
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
-
+
OAccessibleKeyBindingHelper* pKeyBindingHelper = new OAccessibleKeyBindingHelper();
Reference< XAccessibleKeyBinding > xKeyBinding = pKeyBindingHelper;
@@ -258,7 +258,7 @@ Any VCLXAccessibleRadioButton::getCurrentValue( ) throw (RuntimeException)
VCLXRadioButton* pVCLXRadioButton = static_cast< VCLXRadioButton* >( GetVCLXWindow() );
if ( pVCLXRadioButton )
aValue <<= (sal_Int32) pVCLXRadioButton->getState();
-
+
return aValue;
}
@@ -284,7 +284,7 @@ sal_Bool VCLXAccessibleRadioButton::setCurrentValue( const Any& aNumber ) throw
pVCLXRadioButton->setState( (sal_Bool) nValue );
bReturn = sal_True;
}
-
+
return bReturn;
}
@@ -296,7 +296,7 @@ Any VCLXAccessibleRadioButton::getMaximumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 1;
-
+
return aValue;
}
@@ -308,7 +308,7 @@ Any VCLXAccessibleRadioButton::getMinimumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 0;
-
+
return aValue;
}
diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
index 2d9a6dd6bebc..c73caadb51d2 100644
--- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -119,7 +119,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleScrollBar, VCLXAccessibleCompone
::rtl::OUString VCLXAccessibleScrollBar::getImplementationName() throw (RuntimeException)
{
- return ::rtl::OUString::createFromAscii( "com.sun.star.comp.toolkit.AccessibleScrollBar" );
+ return ::rtl::OUString::createFromAscii( "com.sun.star.comp.toolkit.AccessibleScrollBar" );
}
// -----------------------------------------------------------------------------
@@ -158,11 +158,11 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw
ScrollType eScrollType;
switch ( nIndex )
{
- case 0: eScrollType = SCROLL_LINEUP; break;
- case 1: eScrollType = SCROLL_LINEDOWN; break;
- case 2: eScrollType = SCROLL_PAGEUP; break;
- case 3: eScrollType = SCROLL_PAGEDOWN; break;
- default: eScrollType = SCROLL_DONTKNOW; break;
+ case 0: eScrollType = SCROLL_LINEUP; break;
+ case 1: eScrollType = SCROLL_LINEDOWN; break;
+ case 2: eScrollType = SCROLL_PAGEUP; break;
+ case 3: eScrollType = SCROLL_PAGEDOWN; break;
+ default: eScrollType = SCROLL_DONTKNOW; break;
}
if ( pScrollBar->DoScrollAction( eScrollType ) )
bReturn = sal_True;
@@ -184,11 +184,11 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw
switch ( nIndex )
{
- case 0: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_DECLINE ) ); break;
- case 1: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_INCLINE ) ); break;
- case 2: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_DECBLOCK ) ); break;
- case 3: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_INCBLOCK ) ); break;
- default: break;
+ case 0: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_DECLINE ) ); break;
+ case 1: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_INCLINE ) ); break;
+ case 2: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_DECBLOCK ) ); break;
+ case 3: sDescription = ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_INCBLOCK ) ); break;
+ default: break;
}
return sDescription;
@@ -203,7 +203,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleScrollBar::getAccessibleActionK
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
- return Reference< XAccessibleKeyBinding >();
+ return Reference< XAccessibleKeyBinding >();
}
// -----------------------------------------------------------------------------
@@ -262,7 +262,7 @@ Any VCLXAccessibleScrollBar::getMaximumValue( ) throw (RuntimeException)
VCLXScrollBar* pVCLXScrollBar = static_cast< VCLXScrollBar* >( GetVCLXWindow() );
if ( pVCLXScrollBar )
aValue <<= (sal_Int32) pVCLXScrollBar->getMaximum();
-
+
return aValue;
}
@@ -274,7 +274,7 @@ Any VCLXAccessibleScrollBar::getMinimumValue( ) throw (RuntimeException)
Any aValue;
aValue <<= (sal_Int32) 0;
-
+
return aValue;
}
diff --git a/accessibility/source/standard/vclxaccessiblestatusbar.cxx b/accessibility/source/standard/vclxaccessiblestatusbar.cxx
index 9a3fb29b7b31..97b687e1e968 100644
--- a/accessibility/source/standard/vclxaccessiblestatusbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblestatusbar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,9 +42,9 @@ using namespace ::com::sun::star::accessibility;
using namespace ::comphelper;
-// ----------------------------------------------------
-// class VCLXAccessibleStatusBar
-// ----------------------------------------------------
+// ----------------------------------------------------
+// class VCLXAccessibleStatusBar
+// ----------------------------------------------------
VCLXAccessibleStatusBar::VCLXAccessibleStatusBar( VCLXWindow* pVCLXWindow )
:VCLXAccessibleComponent( pVCLXWindow )
@@ -168,7 +168,7 @@ void VCLXAccessibleStatusBar::ProcessWindowEvent( const VclWindowEvent& rVclWind
switch ( rVclWindowEvent.GetId() )
{
case VCLEVENT_STATUSBAR_ITEMADDED:
- {
+ {
if ( m_pStatusBar )
{
sal_uInt16 nItemId = (sal_uInt16)(sal_IntPtr) rVclWindowEvent.GetData();
@@ -206,7 +206,7 @@ void VCLXAccessibleStatusBar::ProcessWindowEvent( const VclWindowEvent& rVclWind
break;
case VCLEVENT_STATUSBAR_SHOWITEM:
case VCLEVENT_STATUSBAR_HIDEITEM:
- {
+ {
if ( m_pStatusBar )
{
sal_uInt16 nItemId = (sal_uInt16)(sal_IntPtr) rVclWindowEvent.GetData();
@@ -217,28 +217,28 @@ void VCLXAccessibleStatusBar::ProcessWindowEvent( const VclWindowEvent& rVclWind
break;
case VCLEVENT_STATUSBAR_SHOWALLITEMS:
case VCLEVENT_STATUSBAR_HIDEALLITEMS:
- {
+ {
for ( sal_uInt32 i = 0; i < m_aAccessibleChildren.size(); ++i )
UpdateShowing( i, rVclWindowEvent.GetId() == VCLEVENT_STATUSBAR_SHOWALLITEMS );
}
break;
case VCLEVENT_STATUSBAR_NAMECHANGED:
- {
+ {
if ( m_pStatusBar )
{
sal_uInt16 nItemId = (sal_uInt16)(sal_IntPtr) rVclWindowEvent.GetData();
sal_uInt16 nItemPos = m_pStatusBar->GetItemPos( nItemId );
- UpdateItemName( nItemPos );
+ UpdateItemName( nItemPos );
}
}
break;
case VCLEVENT_STATUSBAR_DRAWITEM:
- {
+ {
if ( m_pStatusBar )
{
sal_uInt16 nItemId = (sal_uInt16)(sal_IntPtr) rVclWindowEvent.GetData();
sal_uInt16 nItemPos = m_pStatusBar->GetItemPos( nItemId );
- UpdateItemText( nItemPos );
+ UpdateItemText( nItemPos );
}
}
break;
@@ -255,7 +255,7 @@ void VCLXAccessibleStatusBar::ProcessWindowEvent( const VclWindowEvent& rVclWind
if ( xComponent.is() )
xComponent->dispose();
}
- m_aAccessibleChildren.clear();
+ m_aAccessibleChildren.clear();
}
VCLXAccessibleComponent::ProcessWindowEvent( rVclWindowEvent );
@@ -285,7 +285,7 @@ void VCLXAccessibleStatusBar::disposing()
if ( xComponent.is() )
xComponent->dispose();
}
- m_aAccessibleChildren.clear();
+ m_aAccessibleChildren.clear();
}
}
@@ -315,7 +315,7 @@ sal_Int32 VCLXAccessibleStatusBar::getAccessibleChildCount() throw (RuntimeExcep
{
OExternalLockGuard aGuard( this );
- return m_aAccessibleChildren.size();
+ return m_aAccessibleChildren.size();
}
// -----------------------------------------------------------------------------
diff --git a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx
index 5f6cca43ca9a..fc7ff7c35b34 100644
--- a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx
+++ b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,7 +70,7 @@ VCLXAccessibleStatusBarItem::VCLXAccessibleStatusBarItem( StatusBar* pStatusBar,
m_sItemName = GetItemName();
m_sItemText = GetItemText();
- m_bShowing = IsShowing();
+ m_bShowing = IsShowing();
}
// -----------------------------------------------------------------------------
@@ -176,12 +176,12 @@ void VCLXAccessibleStatusBarItem::FillAccessibleStateSet( utl::AccessibleStateSe
}
// -----------------------------------------------------------------------------
-// OCommonAccessibleComponent
+// OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle VCLXAccessibleStatusBarItem::implGetBounds() throw (RuntimeException)
{
- awt::Rectangle aBounds( 0, 0, 0, 0 );
+ awt::Rectangle aBounds( 0, 0, 0, 0 );
if ( m_pStatusBar )
aBounds = AWTRectangle( m_pStatusBar->GetItemRect( m_nItemId ) );
@@ -340,13 +340,13 @@ sal_Int16 VCLXAccessibleStatusBarItem::getAccessibleRole( ) throw (RuntimeExcep
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) throw (RuntimeException)
+::rtl::OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
::rtl::OUString sDescription;
if ( m_pStatusBar )
- sDescription = m_pStatusBar->GetHelpText( m_nItemId );
+ sDescription = m_pStatusBar->GetHelpText( m_nItemId );
return sDescription;
}
@@ -421,7 +421,7 @@ void VCLXAccessibleStatusBarItem::grabFocus( ) throw (RuntimeException)
// -----------------------------------------------------------------------------
-sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeException)
+sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -431,7 +431,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeExceptio
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getForeground();
+ nColor = xParentComp->getForeground();
}
return nColor;
@@ -449,7 +449,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getBackground( ) throw (RuntimeException
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getBackground();
+ nColor = xParentComp->getBackground();
}
return nColor;
@@ -469,7 +469,7 @@ Reference< awt::XFont > VCLXAccessibleStatusBarItem::getFont( ) throw (RuntimeE
{
Reference< XAccessibleExtendedComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- xFont = xParentComp->getFont();
+ xFont = xParentComp->getFont();
}
return xFont;
@@ -617,7 +617,7 @@ sal_Bool VCLXAccessibleStatusBarItem::copyText( sal_Int32 nStartIndex, sal_Int32
Reference< datatransfer::clipboard::XFlushableClipboard > xFlushableClipboard( xClipboard, uno::UNO_QUERY );
if( xFlushableClipboard.is() )
xFlushableClipboard->flushClipboard();
-
+
Application::AcquireSolarMutex( nRef );
bReturn = sal_True;
diff --git a/accessibility/source/standard/vclxaccessibletabcontrol.cxx b/accessibility/source/standard/vclxaccessibletabcontrol.cxx
index 417fcf03daf8..e199584b67d1 100644
--- a/accessibility/source/standard/vclxaccessibletabcontrol.cxx
+++ b/accessibility/source/standard/vclxaccessibletabcontrol.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,9 +47,9 @@ using namespace ::com::sun::star::accessibility;
using namespace ::comphelper;
-// ----------------------------------------------------
-// class VCLXAccessibleTabControl
-// ----------------------------------------------------
+// ----------------------------------------------------
+// class VCLXAccessibleTabControl
+// ----------------------------------------------------
VCLXAccessibleTabControl::VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow )
:VCLXAccessibleComponent( pVCLXWindow )
@@ -262,7 +262,7 @@ void VCLXAccessibleTabControl::ProcessWindowEvent( const VclWindowEvent& rVclWin
if ( xComponent.is() )
xComponent->dispose();
}
- m_aAccessibleChildren.clear();
+ m_aAccessibleChildren.clear();
}
VCLXAccessibleComponent::ProcessWindowEvent( rVclWindowEvent );
@@ -345,7 +345,7 @@ void VCLXAccessibleTabControl::disposing()
if ( xComponent.is() )
xComponent->dispose();
}
- m_aAccessibleChildren.clear();
+ m_aAccessibleChildren.clear();
}
}
@@ -375,7 +375,7 @@ sal_Int32 VCLXAccessibleTabControl::getAccessibleChildCount() throw (RuntimeExce
{
OExternalLockGuard aGuard( this );
- return m_aAccessibleChildren.size();
+ return m_aAccessibleChildren.size();
}
// -----------------------------------------------------------------------------
@@ -440,7 +440,7 @@ void VCLXAccessibleTabControl::selectAccessibleChild( sal_Int32 nChildIndex ) th
// -----------------------------------------------------------------------------
sal_Bool VCLXAccessibleTabControl::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
-{
+{
OExternalLockGuard aGuard( this );
if ( nChildIndex < 0 || nChildIndex >= getAccessibleChildCount() )
@@ -490,7 +490,7 @@ Reference< XAccessible > VCLXAccessibleTabControl::getSelectedAccessibleChild( s
Reference< XAccessible > xChild;
for ( sal_Int32 i = 0, j = 0, nCount = getAccessibleChildCount(); i < nCount; i++ )
- {
+ {
if ( isAccessibleChildSelected( i ) && ( j++ == nSelectedChildIndex ) )
{
xChild = getAccessibleChild( i );
diff --git a/accessibility/source/standard/vclxaccessibletabpage.cxx b/accessibility/source/standard/vclxaccessibletabpage.cxx
index 5bb372884591..aa7cba0f7798 100644
--- a/accessibility/source/standard/vclxaccessibletabpage.cxx
+++ b/accessibility/source/standard/vclxaccessibletabpage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,7 +67,7 @@ VCLXAccessibleTabPage::VCLXAccessibleTabPage( TabControl* pTabControl, sal_uInt1
,m_nPageId( nPageId )
{
m_pExternalLock = static_cast< VCLExternalSolarLock* >( getExternalLock() );
- m_bFocused = IsFocused();
+ m_bFocused = IsFocused();
m_bSelected = IsSelected();
m_sPageText = GetPageText();
}
@@ -175,14 +175,14 @@ void VCLXAccessibleTabPage::Update( bool bNew )
Reference< XAccessible > xChild( pTabPage->GetAccessible( bNew ) );
if ( xChild.is() )
{
- Any aOldValue, aNewValue;
+ Any aOldValue, aNewValue;
if ( bNew )
aNewValue <<= xChild;
else
aOldValue <<= xChild;
NotifyAccessibleEvent( AccessibleEventId::CHILD, aOldValue, aNewValue );
}
- }
+ }
}
}
@@ -209,12 +209,12 @@ void VCLXAccessibleTabPage::FillAccessibleStateSet( utl::AccessibleStateSetHelpe
}
// -----------------------------------------------------------------------------
-// OCommonAccessibleComponent
+// OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle VCLXAccessibleTabPage::implGetBounds() throw (RuntimeException)
{
- awt::Rectangle aBounds( 0, 0, 0, 0 );
+ awt::Rectangle aBounds( 0, 0, 0, 0 );
if ( m_pTabControl )
aBounds = AWTRectangle( m_pTabControl->GetTabBounds( m_nPageId ) );
@@ -388,7 +388,7 @@ sal_Int16 VCLXAccessibleTabPage::getAccessibleRole( ) throw (RuntimeException)
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleTabPage::getAccessibleDescription( ) throw (RuntimeException)
+::rtl::OUString VCLXAccessibleTabPage::getAccessibleDescription( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -462,8 +462,8 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleAtPoint( const awt:
{
Reference< XAccessible > xAcc = getAccessibleChild( i );
if ( xAcc.is() )
- {
- Reference< XAccessibleComponent > xComp( xAcc->getAccessibleContext(), UNO_QUERY );
+ {
+ Reference< XAccessibleComponent > xComp( xAcc->getAccessibleContext(), UNO_QUERY );
if ( xComp.is() )
{
Rectangle aRect = VCLRectangle( xComp->getBounds() );
@@ -495,7 +495,7 @@ void VCLXAccessibleTabPage::grabFocus( ) throw (RuntimeException)
// -----------------------------------------------------------------------------
-sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException)
+sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -505,7 +505,7 @@ sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException)
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getForeground();
+ nColor = xParentComp->getForeground();
}
return nColor;
@@ -523,7 +523,7 @@ sal_Int32 VCLXAccessibleTabPage::getBackground( ) throw (RuntimeException)
{
Reference< XAccessibleComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- nColor = xParentComp->getBackground();
+ nColor = xParentComp->getBackground();
}
return nColor;
@@ -543,7 +543,7 @@ Reference< awt::XFont > VCLXAccessibleTabPage::getFont( ) throw (RuntimeExcepti
{
Reference< XAccessibleExtendedComponent > xParentComp( xParent->getAccessibleContext(), UNO_QUERY );
if ( xParentComp.is() )
- xFont = xParentComp->getFont();
+ xFont = xParentComp->getFont();
}
return xFont;
@@ -690,7 +690,7 @@ sal_Bool VCLXAccessibleTabPage::copyText( sal_Int32 nStartIndex, sal_Int32 nEndI
Reference< datatransfer::clipboard::XFlushableClipboard > xFlushableClipboard( xClipboard, uno::UNO_QUERY );
if( xFlushableClipboard.is() )
xFlushableClipboard->flushClipboard();
-
+
Application::AcquireSolarMutex( nRef );
bReturn = sal_True;
diff --git a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx
index 9353c9801991..a9d3afd955c4 100644
--- a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx
+++ b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,9 +40,9 @@ using namespace ::com::sun::star::accessibility;
using namespace ::comphelper;
-// ----------------------------------------------------
-// class VCLXAccessibleTabPageWindow
-// ----------------------------------------------------
+// ----------------------------------------------------
+// class VCLXAccessibleTabPageWindow
+// ----------------------------------------------------
VCLXAccessibleTabPageWindow::VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindow )
:VCLXAccessibleComponent( pVCLXWindow )
@@ -74,12 +74,12 @@ VCLXAccessibleTabPageWindow::~VCLXAccessibleTabPageWindow()
}
// -----------------------------------------------------------------------------
-// OCommonAccessibleComponent
+// OCommonAccessibleComponent
// -----------------------------------------------------------------------------
awt::Rectangle VCLXAccessibleTabPageWindow::implGetBounds() throw (RuntimeException)
{
- awt::Rectangle aBounds( 0, 0, 0, 0 );
+ awt::Rectangle aBounds( 0, 0, 0, 0 );
if ( m_pTabControl )
{
diff --git a/accessibility/source/standard/vclxaccessibletextcomponent.cxx b/accessibility/source/standard/vclxaccessibletextcomponent.cxx
index 9613234eb732..ead524a34eb7 100644
--- a/accessibility/source/standard/vclxaccessibletextcomponent.cxx
+++ b/accessibility/source/standard/vclxaccessibletextcomponent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,9 +54,9 @@ using namespace ::com::sun::star::accessibility;
using namespace ::comphelper;
-// ----------------------------------------------------
-// class VCLXAccessibleTextComponent
-// ----------------------------------------------------
+// ----------------------------------------------------
+// class VCLXAccessibleTextComponent
+// ----------------------------------------------------
VCLXAccessibleTextComponent::VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindow )
:VCLXAccessibleComponent( pVCLXWindow )
@@ -176,8 +176,8 @@ sal_Bool VCLXAccessibleTextComponent::setCaretPosition( sal_Int32 nIndex ) throw
sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getCharacter( nIndex );
+
+ return OCommonAccessibleText::getCharacter( nIndex );
}
// -----------------------------------------------------------------------------
@@ -226,8 +226,8 @@ awt::Rectangle VCLXAccessibleTextComponent::getCharacterBounds( sal_Int32 nIndex
sal_Int32 VCLXAccessibleTextComponent::getCharacterCount() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getCharacterCount();
+
+ return OCommonAccessibleText::getCharacterCount();
}
// -----------------------------------------------------------------------------
@@ -249,8 +249,8 @@ sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint
::rtl::OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getSelectedText();
+
+ return OCommonAccessibleText::getSelectedText();
}
// -----------------------------------------------------------------------------
@@ -258,7 +258,7 @@ sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint
sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getSelectionStart();
}
@@ -267,8 +267,8 @@ sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() throw (RuntimeExcepti
sal_Int32 VCLXAccessibleTextComponent::getSelectionEnd() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getSelectionEnd();
+
+ return OCommonAccessibleText::getSelectionEnd();
}
// -----------------------------------------------------------------------------
@@ -288,7 +288,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
::rtl::OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getText();
}
@@ -297,8 +297,8 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
::rtl::OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
-
- return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
+
+ return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
// -----------------------------------------------------------------------------
@@ -306,7 +306,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
::com::sun::star::accessibility::TextSegment VCLXAccessibleTextComponent::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getTextAtIndex( nIndex, aTextType );
}
@@ -315,7 +315,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
::com::sun::star::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getTextBeforeIndex( nIndex, aTextType );
}
@@ -324,7 +324,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
::com::sun::star::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
{
OExternalLockGuard aGuard( this );
-
+
return OCommonAccessibleText::getTextBehindIndex( nIndex, aTextType );
}
@@ -350,7 +350,7 @@ sal_Bool VCLXAccessibleTextComponent::copyText( sal_Int32 nStartIndex, sal_Int32
Reference< datatransfer::clipboard::XFlushableClipboard > xFlushableClipboard( xClipboard, uno::UNO_QUERY );
if( xFlushableClipboard.is() )
xFlushableClipboard->flushClipboard();
-
+
Application::AcquireSolarMutex( nRef );
bReturn = sal_True;
diff --git a/accessibility/source/standard/vclxaccessibletextfield.cxx b/accessibility/source/standard/vclxaccessibletextfield.cxx
index afc28d3e9e43..7d96e1695b0d 100644
--- a/accessibility/source/standard/vclxaccessibletextfield.cxx
+++ b/accessibility/source/standard/vclxaccessibletextfield.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx
index 1b22fddc95fa..9d71f3f1af37 100644
--- a/accessibility/source/standard/vclxaccessibletoolbox.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,7 +70,7 @@ namespace
_rxORB,
_rxInnerAccessibleContext,
_rxOwningAccessible,
- _rxParentAccessible )
+ _rxParentAccessible )
,m_nIndexInParent(_nIndexInParent)
{
}
@@ -87,8 +87,8 @@ namespace
// =========================================================================
// = OToolBoxWindowItem
// =========================================================================
- typedef ::cppu::ImplHelper1 < XUnoTunnel
- > OToolBoxWindowItem_Base;
+ typedef ::cppu::ImplHelper1 < XUnoTunnel
+ > OToolBoxWindowItem_Base;
/** XAccessible implementation for a toolbox item which is represented by a VCL Window
*/
@@ -100,10 +100,10 @@ namespace
sal_Int32 m_nIndexInParent;
public:
- inline sal_Int32 getIndexInParent() const { return m_nIndexInParent; }
- inline void setIndexInParent( sal_Int32 _nNewIndex ) { m_nIndexInParent = _nNewIndex; }
+ inline sal_Int32 getIndexInParent() const { return m_nIndexInParent; }
+ inline void setIndexInParent( sal_Int32 _nNewIndex ) { m_nIndexInParent = _nNewIndex; }
- static sal_Bool isWindowItem( const Reference< XAccessible >& _rxAcc, OToolBoxWindowItem** /* [out] */ _ppImplementation = NULL );
+ static sal_Bool isWindowItem( const Reference< XAccessible >& _rxAcc, OToolBoxWindowItem** /* [out] */ _ppImplementation = NULL );
public:
OToolBoxWindowItem(sal_Int32 _nIndexInParent,
@@ -178,8 +178,8 @@ namespace
//--------------------------------------------------------------------
sal_Int64 SAL_CALL OToolBoxWindowItem::getSomething( const Sequence< sal_Int8 >& _rId ) throw (RuntimeException)
{
- if ( ( 16 == _rId.getLength() )
- && ( 0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), _rId.getConstArray(), 16 ) )
+ if ( ( 16 == _rId.getLength() )
+ && ( 0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), _rId.getConstArray(), 16 ) )
)
return reinterpret_cast< sal_Int64>( this );
@@ -214,7 +214,7 @@ VCLXAccessibleToolBoxItem* VCLXAccessibleToolBox::GetItem_Impl( sal_Int32 _nPos,
ToolBoxItemsMap::iterator aIter = m_aAccessibleChildren.find( _nPos );
// returns only toolbox buttons, not windows
if ( aIter != m_aAccessibleChildren.end() && !aIter->second.is())
- pItem = static_cast< VCLXAccessibleToolBoxItem* >( aIter->second.get() );
+ pItem = static_cast< VCLXAccessibleToolBoxItem* >( aIter->second.get() );
}
return pItem;
@@ -369,7 +369,7 @@ void VCLXAccessibleToolBox::UpdateItem_Impl( sal_Int32 _nPos, sal_Bool _bItemAdd
if ( pToolBox )
{
if ( !_bItemAdded )
- { // the item was removed
+ { // the item was removed
// -> destroy the old item
ToolBoxItemsMap::iterator aItemPos = m_aAccessibleChildren.find( _nPos );
if ( m_aAccessibleChildren.end() != aItemPos )
diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
index 05807cc4317d..d6726a6c117d 100644
--- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -73,12 +73,12 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
AccessibleTextHelper_BASE( new VCLExternalSolarLock() ),
- m_pToolBox ( _pToolBox ),
+ m_pToolBox ( _pToolBox ),
m_nIndexInParent( _nPos ),
- m_nRole ( AccessibleRole::PUSH_BUTTON ),
- m_nItemId ( 0 ),
- m_bHasFocus ( sal_False ),
- m_bIsChecked ( sal_False ),
+ m_nRole ( AccessibleRole::PUSH_BUTTON ),
+ m_nItemId ( 0 ),
+ m_bHasFocus ( sal_False ),
+ m_bIsChecked ( sal_False ),
m_bIndeterminate( false )
{
@@ -98,12 +98,12 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
{
ToolBoxItemBits nBits = m_pToolBox->GetItemBits( m_nItemId );
if (( nBits & TIB_DROPDOWN ) == TIB_DROPDOWN)
- m_nRole = AccessibleRole::BUTTON_DROPDOWN;
+ m_nRole = AccessibleRole::BUTTON_DROPDOWN;
else if (( ( nBits & TIB_CHECKABLE ) == TIB_CHECKABLE ) ||
( ( nBits & TIB_AUTOCHECK ) == TIB_AUTOCHECK ) )
- m_nRole = AccessibleRole::TOGGLE_BUTTON;
+ m_nRole = AccessibleRole::TOGGLE_BUTTON;
else if ( m_pToolBox->GetItemWindow( m_nItemId ) )
- m_nRole = AccessibleRole::PANEL;
+ m_nRole = AccessibleRole::PANEL;
break;
}
@@ -541,11 +541,11 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleAtPoin
void SAL_CALL VCLXAccessibleToolBoxItem::grabFocus( ) throw (RuntimeException)
{
Reference< XAccessible > xParent(getAccessibleParent());
-
+
if( xParent.is() )
{
Reference< XAccessibleSelection > rxAccessibleSelection(xParent->getAccessibleContext(), UNO_QUERY);
-
+
if ( rxAccessibleSelection.is() )
{
rxAccessibleSelection -> selectAccessibleChild ( getAccessibleIndexInParent() );
@@ -577,7 +577,7 @@ sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getBackground( ) throw (RuntimeEx
// -----------------------------------------------------------------------------
// XAccessibleExtendedComponent
// -----------------------------------------------------------------------------
-Reference< awt::XFont > SAL_CALL VCLXAccessibleToolBoxItem::getFont( ) throw (RuntimeException)
+Reference< awt::XFont > SAL_CALL VCLXAccessibleToolBoxItem::getFont( ) throw (RuntimeException)
{
return uno::Reference< awt::XFont >();
}