[Libreoffice-commits] core.git: compilerplugins/clang connectivity/qa connectivity/source cui/source desktop/source drawinglayer/source editeng/source
Andrea Gelmini
andrea.gelmini at gelma.net
Sat Oct 1 19:04:54 UTC 2016
compilerplugins/clang/salbool.cxx | 2 +-
connectivity/qa/connectivity/tools/DataSource.java | 2 +-
connectivity/source/drivers/jdbc/Array.cxx | 2 +-
cui/source/customize/cfgutil.cxx | 2 +-
desktop/source/app/opencl.cxx | 2 +-
desktop/source/lib/init.cxx | 4 ++--
drawinglayer/source/primitive2d/graphicprimitive2d.cxx | 2 +-
drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx | 2 +-
editeng/source/editeng/eertfpar.cxx | 2 +-
editeng/source/items/paraitem.cxx | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
New commits:
commit 943919692e8cd96839aeb8cc97598fd4e55c5eea
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Sat Oct 1 13:07:39 2016 +0200
Fix typos
Change-Id: I8374d6d08f4eb4ae2821e213371c615b92d7e9ab
Reviewed-on: https://gerrit.libreoffice.org/29432
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx
index e5e9754..040512c 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 5b42e34..844c448 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 f05f664..03a9f48 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 fd2a4a3d..1019821 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 20bb981..f9f7dd2 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 156fc14..2de46cf 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 4346601..94ae60c 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 66a67d4..5c278a5 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 4e6e18d..bf03c90 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 6a12381..26bb5d0 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();
More information about the Libreoffice-commits
mailing list