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

Fix typos

Change-Id: If92860597a44ee79b513d255ce3f21112485a97e
Reviewed-on: https://gerrit.libreoffice.org/35617Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 72a2f615
......@@ -276,7 +276,7 @@ namespace cairocanvas
useStates( viewState, renderState, true );
cairo_move_to( mpCairo.get(), aBezierSegment.Px + 0.5, aBezierSegment.Py + 0.5 );
// tdf#99165 correction of control poinits not needed here, only hairlines drawn
// tdf#99165 correction of control points not needed here, only hairlines drawn
// (see cairo_set_line_width above)
cairo_curve_to( mpCairo.get(),
aBezierSegment.C1x + 0.5, aBezierSegment.C1y + 0.5,
......
......@@ -41,7 +41,7 @@ namespace vclcanvas
virtual const OutputDevice& getOutDev() const override { return mrOutputWindow; }
// TODO(Q2): Lifetime issue. Though WindowGraphicDeviceBase
// now listenes to the window component, I still consider
// now listens to the window component, I still consider
// holding a naked reference unsafe here (especially as we
// pass it around via getOutDev). This _only_ works reliably,
// if disposing the SpriteCanvas correctly disposes all
......
......@@ -199,9 +199,9 @@ protected:
bool readAndCheckTransformation(const drawing::HomogenMatrix3& rTransform, const OUString& sCheck, const double fEPS, OUString& rExpectedTranform)
{
rExpectedTranform = readExpected(sCheck); // Reference transfromation string
rExpectedTranform = readExpected(sCheck); // Reference transformation string
// Covnert string back to a transformation;
// Convert string back to a transformation;
drawing::HomogenMatrix3 aExpectedTransform;
aExpectedTransform.Line1.Column1 = rExpectedTranform.getToken(0, ';').toDouble();
aExpectedTransform.Line1.Column2 = rExpectedTranform.getToken(1, ';').toDouble();
......
......@@ -1286,7 +1286,7 @@ bool ChartController::execute_KeyInput( const KeyEvent& rKEvt )
ObjectType eObjectType = ObjectIdentifier::getObjectType( m_aSelection.getSelectedCID() );
if( ! bReturn )
{
// Natvigation (Tab/F3/Home/End)
// Navigation (Tab/F3/Home/End)
uno::Reference< XChartDocument > xChartDoc( getModel(), uno::UNO_QUERY );
ObjectKeyNavigation aObjNav( m_aSelection.getSelectedOID(), xChartDoc, ExplicitValueProvider::getExplicitValueProvider( m_xChartView ));
awt::KeyEvent aKeyEvent( ::svt::AcceleratorExecute::st_VCLKey2AWTKey( aKeyCode ));
......
......@@ -61,7 +61,7 @@ public:
@return
A pair containing a template with the correct properties set as
first entry and the service name of the templateas second entry. If
first entry and the service name of the templates second entry. If
no template was found both elements are empty.
*/
static tTemplateWithServiceName
......
......@@ -302,7 +302,7 @@ OUString SAL_CALL CachedDataSequence::getSourceRangeRepresentation()
Sequence< OUString > SAL_CALL CachedDataSequence::generateLabel( chart2::data::LabelOrigin /*eLabelOrigin*/ )
{
// return empty label, as we have no range representaions to determine something useful
// return empty label, as we have no range representations to determine something useful
return Sequence< OUString >();
}
......
......@@ -261,7 +261,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForCategory(
if( bAutoMaximum && m_bExpandBorderToIncrementRhythm )
rExplicitScale.Maximum = EquidistantTickFactory::getMaximumAtIncrement( rExplicitScale.Maximum, rExplicitIncrement );
//prevent performace killover
//prevent performance killover
double fDistanceCount = ::rtl::math::approxFloor( (rExplicitScale.Maximum-rExplicitScale.Minimum) / rExplicitIncrement.Distance );
if( static_cast< sal_Int32 >( fDistanceCount ) > MAXIMUM_MANUAL_INCREMENT_COUNT )
{
......
......@@ -454,7 +454,7 @@ void BarChart::createShapes()
std::vector< std::vector< VDataSeriesGroup > >::iterator aZSlotIter = m_aZSlots.begin();
const std::vector< std::vector< VDataSeriesGroup > >::const_iterator aZSlotEnd = m_aZSlots.end();
//sum up the values for all series in a complete z zlot per attached axis
//sum up the values for all series in a complete z slot per attached axis
std::map< sal_Int32, double > aLogicYSumMap;
for( ; aZSlotIter != aZSlotEnd; ++aZSlotIter )
{
......
......@@ -150,7 +150,7 @@ public:
1==AttachedAxisIndex indicates that the series should be scaled at the first secondary axis if there is any otherwise at the main y axis
and so on.
The parameter nAxisIndex matches this DataSeries property 'AttachedAxisIndex'.
nAxisIndex must be greater than 0. nAxisIndex==1 referres to the first secondary axis.
nAxisIndex must be greater than 0. nAxisIndex==1 refers to the first secondary axis.
)
@throws css::uno::RuntimeException
......
......@@ -94,7 +94,7 @@ public class SequenceOutputStreamUnitTest
oRandom.nextBytes (pBytesOriginal);
xSeqOutStream.writeBytes (pBytesOriginal);
byte pBytesWritten[] = xSeqOutStream.getWrittenBytes ();
m_aTestHelper.Message ( "SeuenceOutputStream filled." );
m_aTestHelper.Message ( "SequenceOutputStream filled." );
//create SequenceInputstream
Object pArgs[] = new Object[1];
......
......@@ -21,7 +21,7 @@
//
// Generally recommending lambda capture by-ref rather than by-copy is even more
// problematic than with function parameters, as a lambda instance can easily
// outlive a referrenced variable. So once lambdas start to get used in more
// outlive a referenced variable. So once lambdas start to get used in more
// sophisticated ways than passing them into standard algorithms, this plugin's
// advice, at least for explicit captures, will need to be revisited.
......
......@@ -104,7 +104,7 @@ class RewritePlugin
// If the resulting line would be completely empty, it'll be removed.
RemoveLineIfEmpty = 1 << 0,
// Use this to remove the declaration/statement as a whole, i.e. all whitespace before the statement
// and the trailing semicolor (is not part of the AST element range itself).
// and the trailing semicolon (is not part of the AST element range itself).
// The trailing semicolon must be present.
RemoveWholeStatement = 1 << 1,
// Removes also all whitespace preceding and following the expression (completely, so that
......
......@@ -133,7 +133,7 @@ bool SfxPoolItem::VisitCXXRecordDecl(const CXXRecordDecl* decl)
}
report(
DiagnosticsEngine::Warning,
"SfxPoolItem subclass %0 declares new fields, but does not overide operator==",
"SfxPoolItem subclass %0 declares new fields, but does not override operator==",
decl->getLocStart())
<< decl->getQualifiedNameAsString() << decl->getSourceRange();
return true;
......
......@@ -80,7 +80,7 @@ bool UnrefFun::VisitFunctionDecl(FunctionDecl const * decl) {
{
Decl const * prev = getPreviousNonFriendDecl(decl);
if (prev != nullptr/* && prev != decl->getPrimaryTemplate()*/) {
// Workaround for redeclarations that introduce visiblity attributes
// Workaround for redeclarations that introduce visibility attributes
// (as is done with
//
// SAL_DLLPUBLIC_EXPORT GType lok_doc_view_get_type();
......
......@@ -207,7 +207,7 @@ for d in definitionSet:
# alone if the other one is in use.
if d[1] == "begin() const" or d[1] == "begin()" or d[1] == "end()" or d[1] == "end() const":
continue
# There is lots of macro magic going on in SRCDIR/include/sax/fshelper.hxx that should be using C++11 varag templates
# There is lots of macro magic going on in SRCDIR/include/sax/fshelper.hxx that should be using C++11 varargs templates
if d[1].startswith("sax_fastparser::FastSerializerHelper::"):
continue
# used by Windows build
......
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