diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-10-01 13:07:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-01 19:02:02 +0000 |
commit | 943919692e8cd96839aeb8cc97598fd4e55c5eea (patch) | |
tree | 070f112845a4f6b34b857f62e844aae2094f25a6 | |
parent | f15eb068fdc1e3e70a4c623b6bf462cda64f43ad (diff) |
Fix typos
Change-Id: I8374d6d08f4eb4ae2821e213371c615b92d7e9ab
Reviewed-on: https://gerrit.libreoffice.org/29432
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | compilerplugins/clang/salbool.cxx | 2 | ||||
-rw-r--r-- | connectivity/qa/connectivity/tools/DataSource.java | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/jdbc/Array.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 2 | ||||
-rw-r--r-- | desktop/source/app/opencl.cxx | 2 | ||||
-rw-r--r-- | desktop/source/lib/init.cxx | 4 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/graphicprimitive2d.cxx | 2 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/eertfpar.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/paraitem.cxx | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx index e5e9754d7961..040512c35780 100644 --- a/compilerplugins/clang/salbool.cxx +++ b/compilerplugins/clang/salbool.cxx @@ -294,7 +294,7 @@ bool SalBool::VisitCStyleCastExpr(CStyleCastExpr * expr) { SourceLocation argLoc; if (compat::isMacroArgExpansion( compiler, expr->getLocStart(), &argLoc) - //TODO: check its the complete (first) arg to the macro + //TODO: check it's the complete (first) arg to the macro && (Lexer::getImmediateMacroName( argLoc, compiler.getSourceManager(), compiler.getLangOpts()) diff --git a/connectivity/qa/connectivity/tools/DataSource.java b/connectivity/qa/connectivity/tools/DataSource.java index 5b42e343dd0a..844c4488f831 100644 --- a/connectivity/qa/connectivity/tools/DataSource.java +++ b/connectivity/qa/connectivity/tools/DataSource.java @@ -139,7 +139,7 @@ public class DataSource /** returns the name of the data source * * If a data source is registered at the database context, the name is the registration - * name. Otherwise, its the URL which the respective database document is based on. + * name. Otherwise, it's the URL which the respective database document is based on. * * Note that the above definition is from the UNO API, not from this wrapper here. */ diff --git a/connectivity/source/drivers/jdbc/Array.cxx b/connectivity/source/drivers/jdbc/Array.cxx index f05f664b14dc..03a9f48ddfc7 100644 --- a/connectivity/source/drivers/jdbc/Array.cxx +++ b/connectivity/source/drivers/jdbc/Array.cxx @@ -33,7 +33,7 @@ java_sql_Array::~java_sql_Array() jclass java_sql_Array::getMyClass() const { - // the class must be fetched once, therefore its static + // the class must be fetched once, therefore it's static if( !theClass ) theClass = findMyClass("java/sql/Array"); diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index fd2a4a3dbb81..1019821766e0 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -166,7 +166,7 @@ void SfxStylesInfo_Impl::getLabel4Style(SfxStyleInfo_Impl& aStyle) ::std::vector< SfxStyleInfo_Impl > SfxStylesInfo_Impl::getStyleFamilies() { - // Its an optional interface! + // It's an optional interface! css::uno::Reference< css::style::XStyleFamiliesSupplier > xModel(m_xDoc, css::uno::UNO_QUERY); if (!xModel.is()) return ::std::vector< SfxStyleInfo_Impl >(); diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index 20bb981517fe..f9f7dd228509 100644 --- a/desktop/source/app/opencl.cxx +++ b/desktop/source/app/opencl.cxx @@ -161,7 +161,7 @@ void Desktop::CheckOpenCLCompute(const Reference< XDesktop2 > &xDesktop) // OpenCL device changed - sanity check it and disable if bad. boost::optional<sal_Int32> nOrigMinimumSize = officecfg::Office::Calc::Formula::Calculation::OpenCLMinimumDataSize::get(); - { // set the minumum group size to something small for quick testing. + { // set the minimum group size to something small for quick testing. std::shared_ptr<comphelper::ConfigurationChanges> xBatch(comphelper::ConfigurationChanges::create()); officecfg::Office::Calc::Formula::Calculation::OpenCLMinimumDataSize::set(3 /* small */, xBatch); xBatch->commit(); diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 156fc14e467f..2de46cfe55b9 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -602,12 +602,12 @@ void CallbackFlushHandler::queue(const int type, const char* data) return; } - // Supress invalid payloads. + // Suppress invalid payloads. if (type == LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR && payload.find(", 0, 0, ") != std::string::npos) { // The cursor position is often the relative coordinates of the widget - // issueing it, instead of the absolute one that we expect. + // issuing it, instead of the absolute one that we expect. // This is temporary however, and, once the control is created and initialized // correctly, it eventually emits the correct absolute coordinates. SAL_WARN("lok", "Skipping invalid event [" + std::to_string(type) + "]: [" + payload + "]."); diff --git a/drawinglayer/source/primitive2d/graphicprimitive2d.cxx b/drawinglayer/source/primitive2d/graphicprimitive2d.cxx index 43466011210e..94ae60c058a3 100644 --- a/drawinglayer/source/primitive2d/graphicprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/graphicprimitive2d.cxx @@ -94,7 +94,7 @@ namespace drawinglayer // (see above). // This could even be done when vector graphic, but we explicitly want to have the // pure primitive solution for this; this will allow vector graphics to stay vector - // geraphics, independent from the color filtering stuff. This will enhance e.g. + // graphics, independent from the color filtering stuff. This will enhance e.g. // SVG and print quality while reducing data size at the same time. // The other way around the old modifications when only used on already bitmap objects // will not lose any quality. diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx index 66a67d4c5bbf..5c278a553542 100644 --- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx +++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx @@ -51,7 +51,7 @@ namespace drawinglayer /** the Graphic with all its content possibilities, here only animated is allowed and gets checked by isValidData(). an instance of Graphic is used here since it's ref-counted - and thus a safe cpoy for now + and thus a safe copy for now */ const Graphic maGraphic; diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index 4e6e18d019d5..bf03c9042241 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -334,7 +334,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet ) if( ( DFLT_ESC_AUTO_SUPER != nEsc ) && ( DFLT_ESC_AUTO_SUB != nEsc ) ) { - nEsc *= 10; //HalPoints => Twips was embezzled in RTFITEM.CXX! + nEsc *= 10; //HalfPoints => Twips was embezzled in RTFITEM.CXX! SvxFont aFont; mpEditEngine->SeekCursor(aStartPaM.GetNode(), aStartPaM.GetIndex()+1, aFont); nEsc = nEsc * 100 / aFont.GetFontSize().Height(); diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index 6a12381dc164..26bb5d003360 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -1080,7 +1080,7 @@ SfxPoolItem* SvxTabStopItem::Create( SvStream& rStrm, sal_uInt16 ) const SvStream& SvxTabStopItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const { // Default-Tabs are only expanded for the default Attribute. For complete - // backward compability (<=304) all tabs have to be expanded, this makes + // backward compatibility (<=304) all tabs have to be expanded, this makes // the files grow large in size. All only SWG! const SfxItemPool *pPool = SfxItemPool::GetStoringPool(); |