Kaydet (Commit) 2b21ac16 authored tarafından Julien Nabet's avatar Julien Nabet

Various typos on accessible

Change-Id: Id28a4a2cbbcec10a7cc9cb40ad208d575352039b
Reviewed-on: https://gerrit.libreoffice.org/34161Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst d707687f
...@@ -38,9 +38,9 @@ ...@@ -38,9 +38,9 @@
# cui/ui/thesaurus.ui <- problems under Linux # cui/ui/thesaurus.ui <- problems under Linux
# this is part 1. in order to help the build time when building all # this is part 1. in order to help the build time when building all
# lang, the list of ui is split in mutiple part to balance the run time # lang, the list of ui is split in multiple parts to balance the run time
# or all the tests, which improve the overal elapsed time # or all the tests, which improve the overall elapsed time
# of make screenshoot on big machines # of make screenshot on big machines
# covering a to e # covering a to e
......
...@@ -630,7 +630,7 @@ namespace accessibility ...@@ -630,7 +630,7 @@ namespace accessibility
{ {
uno::Any aRet; uno::Any aRet;
// must provide XAccesibleText by hand, since it comes publicly inherited by XAccessibleEditableText // must provide XAccessibleText by hand, since it comes publicly inherited by XAccessibleEditableText
if ( rType == cppu::UnoType<XAccessibleText>::get()) if ( rType == cppu::UnoType<XAccessibleText>::get())
{ {
uno::Reference< XAccessibleText > aAccText = static_cast< XAccessibleEditableText * >(this); uno::Reference< XAccessibleText > aAccText = static_cast< XAccessibleEditableText * >(this);
......
...@@ -130,7 +130,7 @@ namespace comphelper ...@@ -130,7 +130,7 @@ namespace comphelper
/** Helper for wrapping an XAccessibleContext by aggregating a proxy for it. /** Helper for wrapping an XAccessibleContext by aggregating a proxy for it.
<p>This class does not have own ref counting. In addition, it does not implement <p>This class does not have own ref counting. In addition, it does not implement
the XAccesibleContext interface, but provides all the methods from this interface the XAccessibleContext interface, but provides all the methods from this interface
which must be implemented using the inner context (such as getAccessibleChild*).</p> which must be implemented using the inner context (such as getAccessibleChild*).</p>
<p>Children of the aggregated XAccessibleContext are wrapped, too.</p> <p>Children of the aggregated XAccessibleContext are wrapped, too.</p>
......
...@@ -319,7 +319,7 @@ public: ...@@ -319,7 +319,7 @@ public:
virtual css::uno::Reference< css::accessibility::XAccessibleHyperlink > virtual css::uno::Reference< css::accessibility::XAccessibleHyperlink >
SAL_CALL getHyperLink( sal_Int32 nLinkIndex ) override; SAL_CALL getHyperLink( sal_Int32 nLinkIndex ) override;
virtual sal_Int32 SAL_CALL getHyperLinkIndex( sal_Int32 nCharIndex ) override; virtual sal_Int32 SAL_CALL getHyperLinkIndex( sal_Int32 nCharIndex ) override;
//===== XAccesibleText ================================================== //===== XAccessibleText ==================================================
virtual sal_Int32 SAL_CALL getCaretPosition( ) override; virtual sal_Int32 SAL_CALL getCaretPosition( ) override;
virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override; virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override;
virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;//Shen Zhen Jie changed sal_Unicode to sal_uInt32; change back to sal_Unicode virtual sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) override;//Shen Zhen Jie changed sal_Unicode to sal_uInt32; change back to sal_Unicode
......
...@@ -825,7 +825,7 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati ...@@ -825,7 +825,7 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati
} }
else else
{ {
// Prevent mutiple broadcasts during the series of changes. // Prevent multiple broadcasts during the series of changes.
SdrDelayBroadcastObjectChange aDelayBroadcastObjectChange(*pObj); SdrDelayBroadcastObjectChange aDelayBroadcastObjectChange(*pObj);
bool bCanResize = bValid2 && !pObj->IsResizeProtect(); bool bCanResize = bValid2 && !pObj->IsResizeProtect();
......
...@@ -149,13 +149,13 @@ void SmGraphicAccessible::ClearWin() ...@@ -149,13 +149,13 @@ void SmGraphicAccessible::ClearWin()
} }
void SmGraphicAccessible::LaunchEvent( void SmGraphicAccessible::LaunchEvent(
const sal_Int16 nAccesibleEventId, const sal_Int16 nAccessibleEventId,
const uno::Any &rOldVal, const uno::Any &rOldVal,
const uno::Any &rNewVal) const uno::Any &rNewVal)
{ {
AccessibleEventObject aEvt; AccessibleEventObject aEvt;
aEvt.Source = static_cast<XAccessible *>(this); aEvt.Source = static_cast<XAccessible *>(this);
aEvt.EventId = nAccesibleEventId; aEvt.EventId = nAccessibleEventId;
aEvt.OldValue = rOldVal; aEvt.OldValue = rOldVal;
aEvt.NewValue = rNewVal ; aEvt.NewValue = rNewVal ;
......
...@@ -80,7 +80,7 @@ public: ...@@ -80,7 +80,7 @@ public:
void ClearWin(); // to be called when view is destroyed void ClearWin(); // to be called when view is destroyed
void LaunchEvent( void LaunchEvent(
const sal_Int16 nAccesibleEventId, const sal_Int16 nAccessibleEventId,
const css::uno::Any &rOldVal, const css::uno::Any &rOldVal,
const css::uno::Any &rNewVal); const css::uno::Any &rNewVal);
......
...@@ -1405,7 +1405,7 @@ OUString AccessibleShape::getObjectLink( const uno::Any& ) ...@@ -1405,7 +1405,7 @@ OUString AccessibleShape::getObjectLink( const uno::Any& )
return aRet; return aRet;
} }
// XAccesibleHypertext // XAccessibleHypertext
sal_Int32 SAL_CALL AccessibleShape::getHyperLinkCount() sal_Int32 SAL_CALL AccessibleShape::getHyperLinkCount()
{ {
// MT: Introduced with IA2 CWS, but SvxAccessibleHyperlink was redundant to svx::AccessibleHyperlink which we introduced meanwhile. // MT: Introduced with IA2 CWS, but SvxAccessibleHyperlink was redundant to svx::AccessibleHyperlink which we introduced meanwhile.
...@@ -1440,7 +1440,7 @@ sal_Int32 SAL_CALL AccessibleShape::getHyperLinkIndex( sal_Int32 ) ...@@ -1440,7 +1440,7 @@ sal_Int32 SAL_CALL AccessibleShape::getHyperLinkIndex( sal_Int32 )
sal_Int32 nRet = 0; sal_Int32 nRet = 0;
return nRet; return nRet;
} }
// XAccesibleText // XAccessibleText
sal_Int32 SAL_CALL AccessibleShape::getCaretPosition( ){return 0;} sal_Int32 SAL_CALL AccessibleShape::getCaretPosition( ){return 0;}
sal_Bool SAL_CALL AccessibleShape::setCaretPosition( sal_Int32 ){return false;} sal_Bool SAL_CALL AccessibleShape::setCaretPosition( sal_Int32 ){return false;}
sal_Unicode SAL_CALL AccessibleShape::getCharacter( sal_Int32 ){return 0;} sal_Unicode SAL_CALL AccessibleShape::getCharacter( sal_Int32 ){return 0;}
......
...@@ -322,7 +322,7 @@ uno::Reference< XAccessible > SAL_CALL SwAccessibleDocumentBase::getAccessibleAt ...@@ -322,7 +322,7 @@ uno::Reference< XAccessible > SAL_CALL SwAccessibleDocumentBase::getAccessibleAt
return SwAccessibleContext::getAccessibleAtPoint( aPoint ); return SwAccessibleContext::getAccessibleAtPoint( aPoint );
} }
// SwAccessibeDocument // SwAccessibleDocument
void SwAccessibleDocument::GetStates( void SwAccessibleDocument::GetStates(
::utl::AccessibleStateSetHelper& rStateSet ) ::utl::AccessibleStateSetHelper& rStateSet )
......
...@@ -249,7 +249,7 @@ sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getAccessibleImageWidth( ) ...@@ -249,7 +249,7 @@ sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getAccessibleImageWidth( )
return getSize().Width; return getSize().Width;
} }
// XAccesibleText // XAccessibleText
sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getCaretPosition( ){return 0;} sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getCaretPosition( ){return 0;}
sal_Bool SAL_CALL SwAccessibleNoTextFrame::setCaretPosition( sal_Int32 ){return false;} sal_Bool SAL_CALL SwAccessibleNoTextFrame::setCaretPosition( sal_Int32 ){return false;}
sal_Unicode SAL_CALL SwAccessibleNoTextFrame::getCharacter( sal_Int32 ){return 0;} sal_Unicode SAL_CALL SwAccessibleNoTextFrame::getCharacter( sal_Int32 ){return 0;}
......
...@@ -1261,7 +1261,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwAccessibleParagraph::getImplementationId() ...@@ -1261,7 +1261,7 @@ uno::Sequence< sal_Int8 > SAL_CALL SwAccessibleParagraph::getImplementationId()
return css::uno::Sequence<sal_Int8>(); return css::uno::Sequence<sal_Int8>();
} }
// XAccesibleText // XAccessibleText
sal_Int32 SwAccessibleParagraph::getCaretPosition() sal_Int32 SwAccessibleParagraph::getCaretPosition()
{ {
...@@ -2773,7 +2773,7 @@ sal_Bool SwAccessibleParagraph::copyText( sal_Int32 nStartIndex, sal_Int32 nEndI ...@@ -2773,7 +2773,7 @@ sal_Bool SwAccessibleParagraph::copyText( sal_Int32 nStartIndex, sal_Int32 nEndI
return true; return true;
} }
// XAccesibleEditableText // XAccessibleEditableText
sal_Bool SwAccessibleParagraph::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) sal_Bool SwAccessibleParagraph::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{ {
......
...@@ -353,7 +353,7 @@ public: ...@@ -353,7 +353,7 @@ public:
virtual sal_Int32 SAL_CALL getHyperLinkIndex( sal_Int32 nCharIndex ) override; virtual sal_Int32 SAL_CALL getHyperLinkIndex( sal_Int32 nCharIndex ) override;
// #i71360# // #i71360#
// XAccesibleTextMarkup // XAccessibleTextMarkup
virtual sal_Int32 SAL_CALL getTextMarkupCount( sal_Int32 nTextMarkupType ) override; virtual sal_Int32 SAL_CALL getTextMarkupCount( sal_Int32 nTextMarkupType ) override;
virtual css::accessibility::TextSegment SAL_CALL virtual css::accessibility::TextSegment SAL_CALL
...@@ -391,7 +391,7 @@ public: ...@@ -391,7 +391,7 @@ public:
virtual sal_Int32 SAL_CALL getNumberOfLineWithCaret() override; virtual sal_Int32 SAL_CALL getNumberOfLineWithCaret() override;
// #i63870# // #i63870#
// XAccesibleTextAttributes // XAccessibleTextAttributes
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getDefaultAttributes( const css::uno::Sequence< OUString >& aRequestedAttributes ) override; virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getDefaultAttributes( const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRunAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override; virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRunAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes ) override;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment