Fix typo "then"->"than"
Change-Id: I7003b14c27f91c792591c593a177ab21e1c7219d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202921 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
committed by
Julien Nabet
parent
6da6760ed1
commit
c217fca8a4
@@ -893,7 +893,7 @@ static void FitTextOutlinesToShapeOutlines(const tools::PolyPolygon& aOutlines2d
|
||||
rDistance /= fCurWidth;
|
||||
}
|
||||
|
||||
// if the current outline is longer then the text to fit in,
|
||||
// if the current outline is longer than the text to fit in,
|
||||
// then we have to divide the bonus space between the
|
||||
// before-/after- text area.
|
||||
// fAdjust means how much space we put before the text.
|
||||
|
||||
@@ -816,7 +816,7 @@ static void impCreateAlternateTiming(const SfxItemSet& rSet, drawinglayer::anima
|
||||
rAnimList.append(aOutIn);
|
||||
}
|
||||
|
||||
// loop. In loop, move out and in again. fInnerMovePath may be negative when text is bigger then frame,
|
||||
// loop. In loop, move out and in again. fInnerMovePath may be negative when text is bigger than frame,
|
||||
// so use absolute value
|
||||
const double fInnerMovePath(fabs(1.0 - (fRelativeTextLength * 2.0)));
|
||||
const double fTimeForInnerPath(fTimeFullPath * fInnerMovePath);
|
||||
|
||||
@@ -390,7 +390,7 @@ an implementation.
|
||||
### Re-evaluate the macOS `ImplNSAppPostEvent`
|
||||
|
||||
Probably a solution comparable to the Windows backends delayed PostMessage
|
||||
workaround using a validation timestamp is better then the current peek,
|
||||
workaround using a validation timestamp is better than the current peek,
|
||||
remove, re-postEvent, which has to run in the main thread.
|
||||
|
||||
Originally I didn't evaluate, if the event is actually lost or just delayed.
|
||||
|
||||
@@ -470,7 +470,7 @@ bool ScrollBar::ImplDrawNative(vcl::RenderContext& rRenderContext, sal_uInt16 nS
|
||||
aCtrlRegion.Union(maThumbRect);
|
||||
|
||||
tools::Rectangle aRequestedRegion(Point(0,0), GetOutputSizePixel());
|
||||
// if the actual native control region is smaller then the region that
|
||||
// if the actual native control region is smaller than the region that
|
||||
// we requested the control to draw in, then draw a background rectangle
|
||||
// to avoid drawing artifacts in the uncovered region
|
||||
if (aCtrlRegion.GetWidth() < aRequestedRegion.GetWidth() ||
|
||||
|
||||
@@ -649,7 +649,7 @@ OUString ExtendedAttributes::getQNameByIndex( sal_Int32 nIndex )
|
||||
|
||||
OUString ExtendedAttributes::getTypeByIndex( sal_Int32 nIndex )
|
||||
{
|
||||
SAL_WARN_IF( nIndex >= m_nAttributes , "xmlscript.xmlhelper", "nIndex is bigger then m_nAttributes");
|
||||
SAL_WARN_IF( nIndex >= m_nAttributes , "xmlscript.xmlhelper", "nIndex is bigger than m_nAttributes");
|
||||
return OUString(); // unsupported
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user