diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-02-23 22:32:02 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-25 12:34:31 +0100 |
commit | 46251758a325c4edfdd9efcedc5d321ee6e5c0c5 (patch) | |
tree | f7412f940a9f6aa01bf02b392b3fc6f30ac38ab4 | |
parent | 3ed1e68a79e8dcc623eb9165577e0571cebf4709 (diff) |
sw: new sw.a11y log area
Change-Id: I43b6b60ac91c7934d4045b8df618dc6592c0e688
-rw-r--r-- | include/sal/log-areas.dox | 1 | ||||
-rw-r--r-- | sw/source/core/access/acccell.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/accmap.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/accpara.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/acctable.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/acctextframe.cxx | 8 |
6 files changed, 11 insertions, 10 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index b83eba780024..d2de637136b5 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -448,6 +448,7 @@ certain functionality. @li @c sw @li @c sw.core - Writer core +@li @c sw.a11y - accessibility @li @c sw.createcopy @li @c sw.doc @li @c sw.docappend diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 64315c280bbc..31296fd6ecc9 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -118,7 +118,7 @@ SwAccessibleCell::SwAccessibleCell( SwAccessibleMap *pInitMap, SAL_WARN_IF( (!xContextTable.is() || xContextTable->getAccessibleRole() != AccessibleRole::TABLE), - "sw.core", "bad accessible context"); + "sw.a11y", "bad accessible context"); m_pAccTable = static_cast<SwAccessibleTable *>(xTableReference.get()); } diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index f7de95082df3..7ea16d4c0c60 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -192,7 +192,7 @@ void SwDrawModellListener_Impl::Notify( SfxBroadcaster& /*rBC*/, } catch( uno::RuntimeException const & r ) { - SAL_WARN( "sw.core", "Runtime exception caught while notifying shape.: " << r.Message ); + SAL_WARN("sw.a11y", "Runtime exception caught while notifying shape: " << r.Message); } } } diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 6294a6281d97..e6b3b0a17970 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -3708,7 +3708,7 @@ bool SwAccessibleParagraph::GetSelectionAtIndex( SAL_WARN_IF( GetPortionData().IsValidCorePosition( nCoreStart), - "sw.core", + "sw.a11y", "problem determining valid core position"); nLocalStart = @@ -3747,7 +3747,7 @@ bool SwAccessibleParagraph::GetSelectionAtIndex( SAL_WARN_IF( GetPortionData().IsValidCorePosition( nCoreEnd), - "sw.core", + "sw.a11y", "problem determining valid core position"); nLocalEnd = GetPortionData().GetAccessiblePosition( diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index 04541c8fa9ac..5ced1dea67fb 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -1434,8 +1434,8 @@ void SwAccessibleTable::InvalidateChildPosOrSize( const SwAccessibleChild& rChil if( HasTableData() ) { SAL_WARN_IF( HasTableData() && - GetFrame()->Frame().Pos() != GetTableData().GetTablePos(), "sw.core", - "table has invalid position" ); + GetFrame()->Frame().Pos() != GetTableData().GetTablePos(), + "sw.a11y", "table has invalid position" ); if( HasTableData() ) { SwAccessibleTableData_Impl *pNewTableData = CreateNewTableData(); // #i77106# diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index ac338185363d..aa78c4f6333b 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -172,7 +172,7 @@ void SAL_CALL void SAL_CALL SwAccessibleTextFrame::selectAccessibleChild( sal_Int32 ) throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception ) { - SAL_WARN("sw.core", "<SwAccessibleTextFrame::selectAccessibleChild( sal_Int32 )> - missing implementation" ); + SAL_WARN("sw.a11y", "<SwAccessibleTextFrame::selectAccessibleChild( sal_Int32 )> - missing implementation"); } sal_Bool SAL_CALL SwAccessibleTextFrame::isAccessibleChildSelected( sal_Int32 nChildIndex ) @@ -204,13 +204,13 @@ sal_Bool SAL_CALL SwAccessibleTextFrame::isAccessibleChildSelected( sal_Int32 nC void SAL_CALL SwAccessibleTextFrame::clearAccessibleSelection( ) throw ( uno::RuntimeException, std::exception ) { - SAL_WARN("sw.core", "<SwAccessibleTextFrame::clearAccessibleSelection( )> - missing implementation"); + SAL_WARN("sw.a11y", "<SwAccessibleTextFrame::clearAccessibleSelection()> - missing implementation"); } void SAL_CALL SwAccessibleTextFrame::selectAllAccessibleChildren( ) throw ( uno::RuntimeException, std::exception ) { - SAL_WARN("sw.core", "<SwAccessibleTextFrame::selectAllAccessibleChildren( )> - missing implementation"); + SAL_WARN("sw.a11y", "<SwAccessibleTextFrame::selectAllAccessibleChildren()> - missing implementation"); } sal_Int32 SAL_CALL SwAccessibleTextFrame::getSelectedAccessibleChildCount() @@ -245,7 +245,7 @@ uno::Reference<XAccessible> SAL_CALL SwAccessibleTextFrame::getSelectedAccessibl void SAL_CALL SwAccessibleTextFrame::deselectAccessibleChild( sal_Int32 ) throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception ) { - SAL_WARN("sw.core", "<SwAccessibleTextFrame::selectAllAccessibleChildren( sal_Int32 )> - missing implementation"); + SAL_WARN("sw.a11y", "<SwAccessibleTextFrame::selectAllAccessibleChildren( sal_Int32 )> - missing implementation"); } // #i73249# |