Fix typos

Change-Id: Ic9fd01f3387234155ef4c4b62a0939fb05aba28c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210046
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-08-27 20:42:29 +02:00
committed by Julien Nabet
parent ac2c1efd43
commit f5b75e07cc
3 changed files with 11 additions and 11 deletions
@@ -468,7 +468,7 @@ PolygonStrokePrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewIn
// all directions and the rounded cap needs the same grow in all directions independent
// from its orientation. Unfortunately this is not the case for drawing::LineCap_SQUARE
// NOTE: I thought about using [sqrt(2) * 0.5] a a factor for LineCap_SQUARE and not
// NOTE: I thought about using [sqrt(2) * 0.5] as a factor for LineCap_SQUARE and not
// set bUseDecomposition. I even tried that it works. Then an auto-test failing showed
// not only that view-dependent stuff needs to be considered (what is done for the
// hairline case below), *BUT* also e.g. conversions to PNG/exports use the B2DRange
@@ -500,7 +500,7 @@ PolygonStrokePrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewIn
// and is correct when it already exists since the values the decomposition is
// based on cannot change.
// (3) If this *is* done (like it was here) and the Primitive is derived from
// BufferedDecompositionPrimitive2D and thus buffers it's decomposition,
// BufferedDecompositionPrimitive2D and thus buffers its decomposition,
// the risk is that in this case the *wrong* decomposition will be used by
// other PrimitiveProcessors. Maybe not by the VclPixelProcessor2D/VclProcessor2D
// since it handles this primitive directly - not even sure for all cases.
@@ -508,7 +508,7 @@ PolygonStrokePrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewIn
// decomposition, and as an error, a non-stroked line will be painted/used.
// (4) The B2DRange is not strictly defined as minimal bound for the geometry,
// but it should be as small/tight as possible. Making it larger risks more
// area to be invalidated (repaint) and processed (all geometric stuff,l may
// area to be invalidated (repaint) and processed (all geometric stuff, may
// include future and existing exports to other formats which are or will be
// implemented as PrimitiveProcessor). It is easy to imagine cases with much
// too large B2DRange - a line with a pattern that would solve to a single
@@ -537,7 +537,7 @@ PolygonStrokePrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewIn
// Thus here I would use (c): It accepts the disadvantages of (4) over speed, but
// avoids the errors/problems from (1-4).
// Additional argument for this: The hairline case below *also* uses the full
// B2DRange of the polygon, ignoring an evtl. stroke, so (4) applies
// B2DRange of the polygon, ignoring an eventual stroke, so (4) applies
if (!getStrokeAttribute().isDefault())
{
// only do this if StrokeAttribute is used, else recursion may happen (!)
@@ -46,14 +46,14 @@ namespace
{
class ImpTimedRefDev;
// VDev RevDevice provider
// VDev RefDevice provider
//the scoped_timed_RefDev owns an ImpTimeRefDev and releases it on dtor
//the scoped_timed_RefDev owns an ImpTimedRefDev and releases it on dtor
//or disposing of the default XComponentContext which causes the underlying
//OutputDevice to get released
//The ImpTimerRefDev itself, if the timeout ever gets hit, will call
//reset on the scoped_timed_RefDev to release the ImpTimerRefDev early
//The ImpTimedRefDev itself, if the timeout ever gets hit, will call
//reset on the scoped_timed_RefDev to release the ImpTimedRefDev early
//if it's unused for a few minutes
class scoped_timed_RefDev : public comphelper::unique_disposing_ptr<ImpTimedRefDev>
{
@@ -161,7 +161,7 @@ void releaseGlobalVirtualDevice()
TextLayouterDevice::TextLayouterDevice()
: mrDevice(acquireGlobalVirtualDevice())
{
// tdf#168002 activate SubpixelPositioning for al TextLayouterDevice-calls
// tdf#168002 activate SubpixelPositioning for all TextLayouterDevice-calls
mrDevice.setSubpixelPositioning(true);
}
@@ -1,5 +1,5 @@
The program creates the com.sun.star.Servicemanager on a remote machine:
The program creates the com.sun.star.ServiceManager on a remote machine:
Set objServiceManager = CreateObject("com.sun.star.ServiceManager", "\\jl-1036")
creates a document and writes in it.
creates a document and writes in it.