Kaydet (Commit) 35a2d882 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: Ib7f43bf17ab8b9fb9d961a908d7620b50826a975
Reviewed-on: https://gerrit.libreoffice.org/40688Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 5ecb947b
......@@ -4225,7 +4225,7 @@ void SAL_CALL ModuleInvocationProxy::setValue(const OUString& rProperty, const A
SbMethod* pMeth = dynamic_cast<SbMethod*>( p );
if( pMeth == nullptr )
{
// TODO: Check vba behavior concernig missing function
// TODO: Check vba behavior concerning missing function
//StarBASIC::Error( ERRCODE_BASIC_NO_METHOD, aFunctionName );
throw UnknownPropertyException();
}
......@@ -4263,7 +4263,7 @@ Any SAL_CALL ModuleInvocationProxy::getValue(const OUString& rProperty)
SbMethod* pMeth = dynamic_cast<SbMethod*>( p );
if( pMeth == nullptr )
{
// TODO: Check vba behavior concernig missing function
// TODO: Check vba behavior concerning missing function
//StarBASIC::Error( ERRCODE_BASIC_NO_METHOD, aFunctionName );
throw UnknownPropertyException();
}
......@@ -4318,7 +4318,7 @@ Any SAL_CALL ModuleInvocationProxy::invoke( const OUString& rFunction,
SbMethod* pMeth = dynamic_cast<SbMethod*>( p );
if( pMeth == nullptr )
{
// TODO: Check vba behavior concernig missing function
// TODO: Check vba behavior concerning missing function
//StarBASIC::Error( ERRCODE_BASIC_NO_METHOD, aFunctionName );
return aRet;
}
......
......@@ -63,7 +63,7 @@ void CheckUnusedParams::run()
// leave this alone for now
if (loplugin::hasPathnamePrefix(fn, SRCDIR "/libreofficekit/"))
return;
// this has a certan pattern to it's code which appears to include lots of unused params
// this has a certain pattern to its code which appears to include lots of unused params
if (loplugin::hasPathnamePrefix(fn, SRCDIR "/xmloff/"))
return;
// I believe someone is busy working on this chunk of code
......
......@@ -245,7 +245,7 @@ void lclPushMarkerProperties( ShapePropertyMap& rPropMap,
// pass X and Y as percentage to OOX_ARROW_POINT
#define OOX_ARROW_POINT( x, y ) awt::Point( static_cast< sal_Int32 >( fArrowWidth * ( x ) ), static_cast< sal_Int32 >( fArrowLength * ( y ) ) )
// tdf#100491 Arrow line marker, unlike other markers, depends on line width.
// So calculate width of half line (more convinient during drawing) taking into account
// So calculate width of half line (more convenient during drawing) taking into account
// further conversions/scaling done in OOX_ARROW_POINT macro and scaling to nMarkerWidth.
const double fArrowLineHalfWidth = ::std::max< double >( 100.0 * 0.5 * nLineWidth / nMarkerWidth, 1 );
......
......@@ -585,7 +585,7 @@ void CreateBorderPrimitives(
else if (2 == myOffsets.size())
{
// we are a double edge, calculate cuts with edges coming from above/below
// for both edges to detect the line start/end extensions. In the furure this
// for both edges to detect the line start/end extensions. In the future this
// needs to be extended to use two values per extension, getComplexExtendedLineValues
// internally prepares these already. drawinglayer::primitive2d::BorderLine will
// then need to take these double entries (maybe a pair) and use them internally.
......
......@@ -967,7 +967,7 @@ void CreateCoordinateSystemForCell(
rOrigin.setX(rOrigin.getX() + fSkew);
rY.setX(-fSkew);
break;
default: // SvxRotateMode::SVX_ROTATE_MODE_STANDARD, altready excluded above
default: // SvxRotateMode::SVX_ROTATE_MODE_STANDARD, already excluded above
break;
}
}
......@@ -1280,7 +1280,7 @@ void Array::DrawRange( drawinglayer::processor2d::BaseProcessor2D& rProcessor,
// The *coordinate system* of the edge has to be given, which for vertical
// lines uses the Y-Vector as X-Axis and the X-Vector as Y-Axis, so swap both
// and mirror aX to keep the same orientation (should be (-1.0, 0.0) for
// horizontal lines anyways, this could be used as thest here, checked in debug mode)
// horizontal lines anyways, this could be used as test here, checked in debug mode)
std::swap(aX, aY);
aY.normalize();
aY = -aY;
......
......@@ -2736,7 +2736,7 @@ void SwTabFramePainter::PaintLines(OutputDevice& rDev, const SwRect& rRect) cons
// Writer creates it's vertical BorderLines bottom-to-top (see below).
// To make the horizontal lines correctly 'guess' the line extensions
// for the then mirrored svx::frame::Style for irregular double lines,
// hand over the for that case correct orientatoin of the 'other'
// hand over the for that case correct orientation of the 'other'
// incoming edges
-aY,
......
......@@ -198,7 +198,7 @@ class UITest(object):
with EventListener(self._xContext, ["DialogExecute", "ModelessDialogExecute"]) as event:
thread.start()
time_ = 0
# we are not necessarily opeinging a dialog, so wait much longer
# we are not necessarily opening a dialog, so wait much longer
while time_ < 10 * MAX_WAIT:
if event.executed:
xDlg = self._xUITest.getTopFocusWindow()
......
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