Fix typos
Change-Id: I38e23114a257d1baf2a9f36fd8ac0fcf8f3938b3 Reviewed-on: https://gerrit.libreoffice.org/77356 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
@@ -598,7 +598,7 @@ bool ORoadmap::PreNotify(NotifyEvent& _rNEvt)
|
||||
switch( nKeyCode )
|
||||
{
|
||||
case KEY_UP:
|
||||
{ // Note: Performancewise this is not optimal, because we search for an ID in the labels
|
||||
{ // Note: Performance wise this is not optimal, because we search for an ID in the labels
|
||||
// and afterwards we search again for a label with the appropriate ID ->
|
||||
// unnecessarily we search twice!!!
|
||||
ItemId nPrevItemID = GetPreviousAvailableItemId( pItem->GetIndex() );
|
||||
|
||||
@@ -459,7 +459,7 @@ bool ImplSalYield( bool bWait, bool bHandleAllCurrentEvents )
|
||||
|
||||
// 0ms timeouts are handled out-of-bounds to prevent busy-locking the
|
||||
// event loop with timeout messages.
|
||||
// We ensure we never handle more then one timeout per call.
|
||||
// We ensure we never handle more than one timeout per call.
|
||||
// This way we'll always process a normal system message.
|
||||
if ( !bWasTimeoutMsg && pTimer && pTimer->IsDirectTimeout() )
|
||||
{
|
||||
|
||||
@@ -314,7 +314,7 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst,
|
||||
}
|
||||
else
|
||||
{
|
||||
// Only with WS_OVRLAPPED we get a useful default position/size
|
||||
// Only with WS_OVERLAPPED we get a useful default position/size
|
||||
if ( (nSalFrameStyle & (SalFrameStyleFlags::SIZEABLE | SalFrameStyleFlags::MOVEABLE)) ==
|
||||
(SalFrameStyleFlags::SIZEABLE | SalFrameStyleFlags::MOVEABLE) )
|
||||
nSysStyle |= WS_OVERLAPPED;
|
||||
@@ -447,8 +447,8 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// If we have a Window with an Caption Bar and without
|
||||
// an MaximizeBox, we change the SystemMenu
|
||||
// If we have a Window with a Caption Bar and without
|
||||
// a MaximizeBox, we change the SystemMenu
|
||||
if ( (nSysStyle & (WS_CAPTION | WS_MAXIMIZEBOX)) == (WS_CAPTION) )
|
||||
{
|
||||
HMENU hSysMenu = GetSystemMenu( hWnd, FALSE );
|
||||
@@ -3376,7 +3376,7 @@ static bool ImplHandleKeyMsg( HWND hWnd, UINT nMsg,
|
||||
return false;
|
||||
|
||||
// only "free flying" WM_CHAR messages arrive here, that are
|
||||
// created by typing a ALT-NUMPAD combination
|
||||
// created by typing an ALT-NUMPAD combination
|
||||
SalKeyEvent aKeyEvt;
|
||||
|
||||
if ( (wParam >= '0') && (wParam <= '9') )
|
||||
|
||||
@@ -1182,7 +1182,7 @@ IA2_STATE_VERTICAL = 0x20000,
|
||||
state is not required. However, this state is necessary in those cases where
|
||||
an object has a role which is not one of the previously mentioned roles. An
|
||||
example is a table cell which indicates whether or not an email has an attachment,
|
||||
whether or not an mail is considered spam, and whether or not an email has been read.
|
||||
whether or not a mail is considered spam, and whether or not an email has been read.
|
||||
*/
|
||||
IA2_STATE_CHECKABLE = 0x40000,
|
||||
|
||||
@@ -1502,7 +1502,7 @@ IA2_STATE_PINNED = 0x80000
|
||||
|
||||
Regarding switching between any of the IAccessible2 interfaces, applications implementing
|
||||
IAccessible2 should implement the IAccessible2 interfaces on a single object since ATs
|
||||
will be using QueryInterface to switch between the IAccessilbe2 interfaces. Implementing
|
||||
will be using QueryInterface to switch between the IAccessible2 interfaces. Implementing
|
||||
the IAccessible2 interfaces on separate objects would require the use of QueryService.
|
||||
There is one exception, IAccessibleApplication can be implemented on a separate object so
|
||||
its common code doesn't have to be included in each accessible object. ATs should use
|
||||
@@ -2655,7 +2655,7 @@ interface IAccessibleText : IUnknown
|
||||
For example, if text type is ::IA2_TEXT_BOUNDARY_WORD, then the complete
|
||||
word that is closest to and located before offset is returned.
|
||||
|
||||
If the index is valid, but no text is found, S_FALSE is returned along with out
|
||||
If the index is valid, but no text is found, S_FALSE is returned along without
|
||||
values of 0, 0, and a NULL pointer. This would happen for boundary types other
|
||||
than character when the text consists entirely of whitespace.
|
||||
|
||||
@@ -2700,7 +2700,7 @@ interface IAccessibleText : IUnknown
|
||||
For example, if text type is ::IA2_TEXT_BOUNDARY_WORD, then the complete
|
||||
word that is closest to and located after offset is returned.
|
||||
|
||||
If the index is valid, but no text is found, S_FALSE is returned along with out
|
||||
If the index is valid, but no text is found, S_FALSE is returned along without
|
||||
values of 0, 0, and a NULL pointer. This would happen for boundary types other
|
||||
than character when the text consists entirely of whitespace.
|
||||
|
||||
@@ -2746,7 +2746,7 @@ interface IAccessibleText : IUnknown
|
||||
last characters of a word are considered inside the word. Boundary types of
|
||||
sentence and paragraph should exhibit similar behavior.
|
||||
|
||||
If the index is valid, but no text is found, S_FALSE is returned along with out
|
||||
If the index is valid, but no text is found, S_FALSE is returned along without
|
||||
values of 0, 0, and a NULL pointer. This would happen for boundary types other
|
||||
than character when the text consists entirely of whitespace.
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ void AccContainerEventListener::HandleChildChangedEvent(Any oldValue, Any newVal
|
||||
}
|
||||
else if (oldValue >>= xChild)
|
||||
{
|
||||
//delete a existing child
|
||||
//delete an existing child
|
||||
if(xChild.is())
|
||||
{
|
||||
XAccessible* pAcc = xChild.get();
|
||||
|
||||
@@ -840,7 +840,7 @@ CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTdf115623SplitByChapter)
|
||||
xmlFreeDoc(mpXmlDoc);
|
||||
mpXmlDoc = nullptr;
|
||||
}
|
||||
// Splitted HTML should keep the same writing-mode.
|
||||
// Split HTML should keep the same writing-mode.
|
||||
{
|
||||
mpXmlDoc = parseExport("OEBPS/sections/section0002.xhtml");
|
||||
OUString aClass = getXPath(mpXmlDoc, "//xhtml:body", "class");
|
||||
|
||||
Reference in New Issue
Block a user