diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-25 09:32:57 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-03-25 08:43:01 +0000 |
commit | 5262883672208ac17b58ec197a1f984d99403b7d (patch) | |
tree | 990a575501845d2f915757fc3af0faecec70f1c3 | |
parent | 72a2f615c37aada0d5ab8791f1fa9a71772b50f6 (diff) |
Fix typos
Change-Id: If92860597a44ee79b513d255ce3f21112485a97e
Reviewed-on: https://gerrit.libreoffice.org/35617
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/windowoutdevholder.hxx | 2 | ||||
-rwxr-xr-x | chart2/qa/extras/chart2dump/chart2dump.cxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 2 | ||||
-rw-r--r-- | chart2/source/inc/DiagramHelper.hxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/CachedDataSequence.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/axes/ScaleAutomatism.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/charttypes/BarChart.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/inc/VSeriesPlotter.hxx | 2 | ||||
-rw-r--r-- | comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java | 2 | ||||
-rw-r--r-- | compilerplugins/clang/passstuffbyref.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/plugin.hxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/sfxpoolitem.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/unreffun.cxx | 2 | ||||
-rwxr-xr-x | compilerplugins/clang/unusedmethods.py | 2 |
15 files changed, 16 insertions, 16 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx index 2bfd634694e2..a27f69ba1085 100644 --- a/canvas/source/cairo/cairo_canvashelper.cxx +++ b/canvas/source/cairo/cairo_canvashelper.cxx @@ -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, diff --git a/canvas/source/vcl/windowoutdevholder.hxx b/canvas/source/vcl/windowoutdevholder.hxx index 9c51ed1a33ce..83f5e65e6a5c 100644 --- a/canvas/source/vcl/windowoutdevholder.hxx +++ b/canvas/source/vcl/windowoutdevholder.hxx @@ -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 diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx index cd9f004fa66d..7fc78e2f76a4 100755 --- a/chart2/qa/extras/chart2dump/chart2dump.cxx +++ b/chart2/qa/extras/chart2dump/chart2dump.cxx @@ -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(); diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index b48f2d04716d..dd08a7ef99c1 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -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 )); diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx index 8555472ed85f..1250060a5c91 100644 --- a/chart2/source/inc/DiagramHelper.hxx +++ b/chart2/source/inc/DiagramHelper.hxx @@ -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 diff --git a/chart2/source/tools/CachedDataSequence.cxx b/chart2/source/tools/CachedDataSequence.cxx index 1426a9803fdd..53c5705d6d44 100644 --- a/chart2/source/tools/CachedDataSequence.cxx +++ b/chart2/source/tools/CachedDataSequence.cxx @@ -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 >(); } diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx index 1c7016e0e94a..ce1fa1570f27 100644 --- a/chart2/source/view/axes/ScaleAutomatism.cxx +++ b/chart2/source/view/axes/ScaleAutomatism.cxx @@ -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 ) { diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index df796f73e04e..7cdc64c3202e 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -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 ) { diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx index de1a3fdd1aa2..15585cb71c93 100644 --- a/chart2/source/view/inc/VSeriesPlotter.hxx +++ b/chart2/source/view/inc/VSeriesPlotter.hxx @@ -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 diff --git a/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java b/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java index 4a1e147d938a..6a14a359bd2c 100644 --- a/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java +++ b/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java @@ -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]; diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx index 37dcb4e47704..8b60b5c353e7 100644 --- a/compilerplugins/clang/passstuffbyref.cxx +++ b/compilerplugins/clang/passstuffbyref.cxx @@ -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. diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx index 6248ef705134..eeda9de0867e 100644 --- a/compilerplugins/clang/plugin.hxx +++ b/compilerplugins/clang/plugin.hxx @@ -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 diff --git a/compilerplugins/clang/sfxpoolitem.cxx b/compilerplugins/clang/sfxpoolitem.cxx index b18251795486..1f723ba107c0 100644 --- a/compilerplugins/clang/sfxpoolitem.cxx +++ b/compilerplugins/clang/sfxpoolitem.cxx @@ -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; diff --git a/compilerplugins/clang/unreffun.cxx b/compilerplugins/clang/unreffun.cxx index 1dac4d7b276b..74eeec2e66ef 100644 --- a/compilerplugins/clang/unreffun.cxx +++ b/compilerplugins/clang/unreffun.cxx @@ -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(); diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py index d8db1c4bcdac..b5bf06ba985d 100755 --- a/compilerplugins/clang/unusedmethods.py +++ b/compilerplugins/clang/unusedmethods.py @@ -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 |