diff options
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleContextBase.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleContextBase.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx index 621a55ae0c18..da2075947bc3 100644 --- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleContextBase.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 @@ -48,9 +48,9 @@ #include <comphelper/accessibleeventnotifier.hxx> #include <vcl/svapp.hxx> -using namespace ::rtl; -using namespace ::com::sun::star; -using namespace ::com::sun::star::accessibility; +using namespace ::rtl; +using namespace ::com::sun::star; +using namespace ::com::sun::star::accessibility; //===== internal ============================================================ @@ -100,7 +100,7 @@ void ScAccessibleContextBase::Init() void SAL_CALL ScAccessibleContextBase::disposing() { SolarMutexGuard aGuard; -// CommitDefunc(); not necessary and should not be send, because it cost a lot of time +// CommitDefunc(); not necessary and should not be send, because it cost a lot of time // hold reference to make sure that the destructor is not called uno::Reference< XAccessibleContext > xOwnContext(this); @@ -292,12 +292,12 @@ sal_Int32 SAL_CALL { SolarMutexGuard aGuard; IsObjectValid(); - // Use a simple but slow solution for now. Optimize later. - // Return -1 to indicate that this object's parent does not know about the - // object. + // Use a simple but slow solution for now. Optimize later. + // Return -1 to indicate that this object's parent does not know about the + // object. sal_Int32 nIndex(-1); - // Iterate over all the parent's children and search for this object. + // Iterate over all the parent's children and search for this object. if (mxParent.is()) { uno::Reference<XAccessibleContext> xParentContext ( @@ -336,7 +336,7 @@ sal_Int16 SAL_CALL if (!msDescription.getLength()) { OUString sDescription(createAccessibleDescription()); -// DBG_ASSERT(sDescription.getLength(), "We should give always a descripition."); +// DBG_ASSERT(sDescription.getLength(), "We should give always a descripition."); if (msDescription != sDescription) { @@ -410,8 +410,8 @@ lang::Locale SAL_CALL return xParentContext->getLocale (); } - // No locale and no parent. Therefore throw exception to indicate this - // cluelessness. + // No locale and no parent. Therefore throw exception to indicate this + // cluelessness. throw IllegalAccessibleComponentStateException (); } |