summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index e748724054ab..8d43941e0a22 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.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
@@ -66,7 +66,7 @@
using ::rtl::OUString;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
class SfxViewFrame;
@@ -138,7 +138,7 @@ void AccessibleDrawDocumentView::Init (void)
-void AccessibleDrawDocumentView::ViewForwarderChanged (ChangeType aChangeType,
+void AccessibleDrawDocumentView::ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder)
{
AccessibleDocumentViewBase::ViewForwarderChanged (aChangeType, pViewForwarder);
@@ -248,7 +248,7 @@ uno::Reference<XAccessible> SAL_CALL
nIndex -= nCount;
}
- // Create a copy of the pointer to the children manager and release the
+ // Create a copy of the pointer to the children manager and release the
// mutex before calling any of its methods.
ChildrenManager* pChildrenManager = mpChildrenManager;
aGuard.clear();
@@ -306,7 +306,7 @@ void SAL_CALL
// Update the accessible name to reflect the current slide.
UpdateAccessibleName();
-
+
// The current page changed. Update the children manager accordingly.
uno::Reference<drawing::XDrawView> xView (mxController, uno::UNO_QUERY);
if (xView.is() && mpChildrenManager!=NULL)
@@ -340,7 +340,7 @@ void SAL_CALL
OSL_TRACE (" visible area changed");
if (mpChildrenManager != NULL)
mpChildrenManager->ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
else
@@ -353,8 +353,8 @@ void SAL_CALL
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessibleDrawDocumentView::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -371,7 +371,7 @@ void SAL_CALL
{
ThrowIfDisposed();
// Get list of supported service names from base class...
- uno::Sequence<OUString> aServiceNames =
+ uno::Sequence<OUString> aServiceNames =
AccessibleDocumentViewBase::getSupportedServiceNames();
sal_Int32 nCount (aServiceNames.getLength());
@@ -385,9 +385,9 @@ void SAL_CALL
}
+
-
-/// Create a name for this view.
+/// Create a name for this view.
::rtl::OUString
AccessibleDrawDocumentView::CreateAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException)
@@ -411,7 +411,7 @@ void SAL_CALL
else
{
SolarMutexGuard aGuard;
-
+
sName = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_N) );
}
}
@@ -427,7 +427,7 @@ void SAL_CALL
sName = String( SdResId(SID_SD_A11Y_I_HANDOUTVIEW_N) );
}
- else
+ else
{
sName = sFirstService;
}
@@ -468,7 +468,7 @@ void SAL_CALL
else
{
SolarMutexGuard aGuard;
-
+
sDescription = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_D) );
}
}
@@ -484,7 +484,7 @@ void SAL_CALL
sDescription = String( SdResId(SID_SD_A11Y_I_HANDOUTVIEW_D) );
}
- else
+ else
{
sDescription = sFirstService;
}
@@ -501,8 +501,8 @@ void SAL_CALL
/** Return selection state of specified child
*/
-sal_Bool
- AccessibleDrawDocumentView::implIsSelected( sal_Int32 nAccessibleChildIndex )
+sal_Bool
+ AccessibleDrawDocumentView::implIsSelected( sal_Int32 nAccessibleChildIndex )
throw (uno::RuntimeException)
{
const SolarMutexGuard aSolarGuard;
@@ -547,7 +547,7 @@ sal_Bool
the XSelectionSupplier of the controller.
*/
void
- AccessibleDrawDocumentView::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+ AccessibleDrawDocumentView::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
const SolarMutexGuard aSolarGuard;
@@ -594,7 +594,7 @@ void
AccessibleShape* pAcc = AccessibleShape::getImplementation(
getAccessibleChild( nAccessibleChildIndex ));
pAccessibleChild = pAcc;
-
+
// Add or remove the shape that is made accessible from the
// selection of the controller.
if( pAcc )
@@ -605,7 +605,7 @@ void
{
uno::Reference< drawing::XShapes > xShapes;
sal_Bool bFound = sal_False;
-
+
aAny = xSel->getSelection();
aAny >>= xShapes;
@@ -733,7 +733,7 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void)
sNewName += OUString::valueOf(xPages->getCount());
}
}
-
+
SetAccessibleName (sNewName, AutomaticallyCreated);
}