[Libreoffice-commits] core.git: chart2/source compilerplugins/clang include/filter sc/source sd/source solenv/bin vcl/source
Andrea Gelmini
andrea.gelmini at gelma.net
Sun May 21 10:59:55 UTC 2017
chart2/source/controller/main/ControllerCommandDispatch.cxx | 2
compilerplugins/clang/comparisonwithconstant.cxx | 4 -
include/filter/msfilter/countryid.hxx | 2
sc/source/filter/xcl97/xcl97rec.cxx | 2
sc/source/ui/app/scmod.cxx | 2
sc/source/ui/docshell/docsh4.cxx | 2
sc/source/ui/drawfunc/drawsh2.cxx | 2
sc/source/ui/drawfunc/drtxtob.cxx | 2
sc/source/ui/navipi/navipi.cxx | 2
sc/source/ui/optdlg/opredlin.cxx | 2
sd/source/ui/func/futext.cxx | 25 +++++-------
solenv/bin/modules/installer/epmfile.pm | 2
vcl/source/gdi/region.cxx | 6 +-
13 files changed, 27 insertions(+), 28 deletions(-)
New commits:
commit e1e3def8cc15380ff761ba46032bbfadd80d43c8
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Fri May 19 16:25:57 2017 +0200
Fix typos
Change-Id: I438b6719817e0bbb47370ec54561eed2bc402cba
Reviewed-on: https://gerrit.libreoffice.org/37783
Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79 at gmail.com>
diff --git a/chart2/source/controller/main/ControllerCommandDispatch.cxx b/chart2/source/controller/main/ControllerCommandDispatch.cxx
index 16b1f5902f75..99c923810b4d 100644
--- a/chart2/source/controller/main/ControllerCommandDispatch.cxx
+++ b/chart2/source/controller/main/ControllerCommandDispatch.cxx
@@ -613,7 +613,7 @@ void ControllerCommandDispatch::updateCommandAvailability()
m_aCommandAvailability[ ".uno:View3D" ] = bIsWritable && bModelStateIsValid && m_apModelState->bIsThreeD;
m_aCommandAvailability[ ".uno:DiagramFloor" ] = bIsWritable && bModelStateIsValid && m_apModelState->bHasFloor;
- //some mor format commands with different ui text
+ //some more format commands with different ui text
m_aCommandAvailability[ ".uno:FormatWall" ] = m_aCommandAvailability[ ".uno:DiagramWall" ];
m_aCommandAvailability[ ".uno:FormatFloor" ] = m_aCommandAvailability[ ".uno:DiagramFloor" ];
m_aCommandAvailability[ ".uno:FormatChartArea" ] = m_aCommandAvailability[ ".uno:DiagramArea" ];
diff --git a/compilerplugins/clang/comparisonwithconstant.cxx b/compilerplugins/clang/comparisonwithconstant.cxx
index 180e45df3a5c..935174625226 100644
--- a/compilerplugins/clang/comparisonwithconstant.cxx
+++ b/compilerplugins/clang/comparisonwithconstant.cxx
@@ -33,7 +33,7 @@ public:
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}
- // Deliberatley drop RecursiveASTVisitor::TraverseBinEQ's DataRecursionQueue
+ // Deliberately drop RecursiveASTVisitor::TraverseBinEQ's DataRecursionQueue
// parameter; TraveseBinEQ must use stack instead of data recursion for any
// children's VisitBinaryOperator to see changes to occurrence_ by a parent
// VisitBinaryOperator:
@@ -45,7 +45,7 @@ public:
return ret;
}
- // Deliberatley drop RecursiveASTVisitor::TraverseBinNE's DataRecursionQueue
+ // Deliberately drop RecursiveASTVisitor::TraverseBinNE's DataRecursionQueue
// parameter; TraveseBinNE must use stack instead of data recursion for any
// children's VisitBinaryOperator to see changes to occurrence_ by a parent
// VisitBinaryOperator:
diff --git a/include/filter/msfilter/countryid.hxx b/include/filter/msfilter/countryid.hxx
index f3e47e8d6553..438be314c691 100644
--- a/include/filter/msfilter/countryid.hxx
+++ b/include/filter/msfilter/countryid.hxx
@@ -141,7 +141,7 @@ const CountryId COUNTRY_BURUNDI = 257;
const CountryId COUNTRY_MOZAMBIQUE = 258;
const CountryId COUNTRY_ZANZIBAR = 259;
const CountryId COUNTRY_ZAMBIA = 260;
-const CountryId COUNTRY_MADAGASKAR = 261;
+const CountryId COUNTRY_MADAGASCAR = 261;
const CountryId COUNTRY_REUNION = 262;
const CountryId COUNTRY_ZIMBABWE = 263;
const CountryId COUNTRY_NAMIBIA = 264;
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 541dd7fdcfeb..0cf972fdccd3 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -379,7 +379,7 @@ void XclObj::ImplWriteAnchor( const XclExpRoot& /*rRoot*/, const SdrObject* pSdr
void XclObj::SetEscherShapeType( sal_uInt16 nType )
{
-//2do: what about the other defined ot... types?
+//ToDo: what about the other defined ot... types?
switch ( nType )
{
case ESCHER_ShpInst_Line :
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 863f328c28e7..584b073d8bb1 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -1758,7 +1758,7 @@ void ScModule::SetReference( const ScRange& rRef, ScDocument* pDoc,
}
/**
- * Multiple selecton
+ * Multiple selection
*/
void ScModule::AddRefEntry()
{
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 1121ce863554..e27e7484608a 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -383,7 +383,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
if ( pReqArgs && SfxItemState::SET == pReqArgs->GetItemState( nSlot, true, &pItem ) )
bNewVal = static_cast<const SfxBoolItem*>(pItem)->GetValue();
else
- bNewVal = !aDocument.GetAutoCalc(); // Toggle for menue
+ bNewVal = !aDocument.GetAutoCalc(); // Toggle for menu
aDocument.SetAutoCalc( bNewVal );
SetDocumentModified();
if (pBindings)
diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx
index 9921d0d3e2e9..080a8e2cc5d0 100644
--- a/sc/source/ui/drawfunc/drawsh2.cxx
+++ b/sc/source/ui/drawfunc/drawsh2.cxx
@@ -342,7 +342,7 @@ void ScDrawShell::GetDrawAttrState( SfxItemSet& rSet )
void ScDrawShell::GetAttrFuncState(SfxItemSet &rSet)
{
- // Disable dialogs for Draw-attributes if neccessary
+ // Disable dialogs for Draw-attributes if necessary
ScDrawView* pDrView = pViewData->GetScDrawView();
SfxItemSet aViewSet = pDrView->GetAttrFromMarked(false);
diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx
index 5ccb7823462e..47bca330865c 100644
--- a/sc/source/ui/drawfunc/drtxtob.cxx
+++ b/sc/source/ui/drawfunc/drtxtob.cxx
@@ -813,7 +813,7 @@ void ScDrawTextObjectBar::ExecuteAttr( SfxRequest &rReq )
rReq.Done( aEmptyAttr );
pViewData->GetScDrawView()->InvalidateDrawTextAttrs();
- bDone = false; // already happend here
+ bDone = false; // already happened here
}
break;
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 9b2819281c02..d148faff0c9f 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -357,7 +357,7 @@ IMPL_LINK(ScNavigatorDlg, ToolBoxSelectHdl, ToolBox*, pToolBox, void)
IMPL_LINK(ScNavigatorDlg, ToolBoxDropdownClickHdl, ToolBox *, pToolBox, void)
{
- // the popup menue of the drop modus has to be called in the
+ // the popup menu of the drop modus has to be called in the
// click (button down) and not in the select (button up)
if (pToolBox->GetCurItemId() == nDragModeId)
{
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx
index 9c0aafd62aad..557945264e8d 100644
--- a/sc/source/ui/optdlg/opredlin.cxx
+++ b/sc/source/ui/optdlg/opredlin.cxx
@@ -91,7 +91,7 @@ bool ScRedlineOptionsTabPage::FillItemSet( SfxItemSet* /* rSet */ )
SC_MOD()->SetAppOptions(aAppOptions);
// repaint (if everything would be done by Items (how it should be),
- // this wouldn't be neccessary)
+ // this wouldn't be necessary)
ScDocShell* pDocSh = dynamic_cast<ScDocShell*>( SfxObjectShell::Current() );
if (pDocSh)
pDocSh->PostPaintGridAll();
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index e794d2602479..6d8549de5d79 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -102,26 +102,26 @@ static const sal_uInt16 SidArray[] = {
SID_ATTR_PARA_LINESPACE_10, // 10034
SID_ATTR_PARA_LINESPACE_15, // 10035
SID_ATTR_PARA_LINESPACE_20, // 10036
- SID_ATTR_PARA_ULSPACE, // 10042
+ SID_ATTR_PARA_ULSPACE, // 10042
SID_ATTR_PARA_LRSPACE, // 10043
- SID_ATTR_TRANSFORM_POS_X, // 10088
- SID_ATTR_TRANSFORM_POS_Y, // 10089
- SID_ATTR_TRANSFORM_WIDTH, // 10090
- SID_ATTR_TRANSFORM_HEIGHT,// 10091
- SID_ATTR_TRANSFORM_ROT_X, // 10093
- SID_ATTR_TRANSFORM_ROT_Y, // 10094
- SID_ATTR_TRANSFORM_ANGLE, // 10095 //Added
+ SID_ATTR_TRANSFORM_POS_X, // 10088
+ SID_ATTR_TRANSFORM_POS_Y, // 10089
+ SID_ATTR_TRANSFORM_WIDTH, // 10090
+ SID_ATTR_TRANSFORM_HEIGHT, // 10091
+ SID_ATTR_TRANSFORM_ROT_X, // 10093
+ SID_ATTR_TRANSFORM_ROT_Y, // 10094
+ SID_ATTR_TRANSFORM_ANGLE, // 10095 //Added
SID_OUTLINE_UP, // 10150
SID_OUTLINE_DOWN, // 10151
SID_OUTLINE_LEFT, // 10152
SID_OUTLINE_RIGHT, // 10153
- SID_ATTR_TRANSFORM_PROTECT_POS,// 10236
- SID_ATTR_TRANSFORM_PROTECT_SIZE,// 10237 //Added
+ SID_ATTR_TRANSFORM_PROTECT_POS, // 10236
+ SID_ATTR_TRANSFORM_PROTECT_SIZE, // 10237 //Added
SID_FORMTEXT_STYLE, // 10257
SID_SET_SUPER_SCRIPT, // 10294
SID_SET_SUB_SCRIPT, // 10295
- SID_ATTR_TRANSFORM_AUTOWIDTH,// 10310
- SID_ATTR_TRANSFORM_AUTOHEIGHT,// 10311 //Added
+ SID_ATTR_TRANSFORM_AUTOWIDTH, // 10310
+ SID_ATTR_TRANSFORM_AUTOHEIGHT, // 10311 //Added
SID_HYPERLINK_GETLINK, // 10361
SID_CHARMAP, // 10503
SID_TEXTDIRECTION_LEFT_TO_RIGHT, // 10907
@@ -153,7 +153,6 @@ rtl::Reference<FuPoor> FuText::Create( ViewShell* pViewSh, ::sd::Window* pWin, :
return xFunc;
}
-/** Destruktor */
void FuText::disposing()
{
if(mpView)
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm
index 0dbc37a92cb9..53c703c2c3be 100644
--- a/solenv/bin/modules/installer/epmfile.pm
+++ b/solenv/bin/modules/installer/epmfile.pm
@@ -1071,7 +1071,7 @@ sub set_solaris_parameter_in_pkginfo
}
#####################################################################
-# epm uses as archtecture for Solaris x86 "i86pc". This has to be
+# epm uses as architecture for Solaris x86 "i86pc". This has to be
# changed to "i386".
#####################################################################
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index cec2de3f6b37..aaed62a24e0b 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -1289,7 +1289,7 @@ const tools::PolyPolygon vcl::Region::GetAsPolyPolygon() const
if(getB2DPolyPolygon())
{
- // the polygon needs to be converted, buffer the down converion
+ // the polygon needs to be converted, buffer the down conversion
const tools::PolyPolygon aPolyPolgon(*getB2DPolyPolygon());
const_cast< vcl::Region* >(this)->mpPolyPolygon.reset(new tools::PolyPolygon(aPolyPolgon));
@@ -1298,7 +1298,7 @@ const tools::PolyPolygon vcl::Region::GetAsPolyPolygon() const
if(getRegionBand())
{
- // the BandRegion needs to be converted, buffer the converion
+ // the BandRegion needs to be converted, buffer the conversion
const tools::PolyPolygon aPolyPolgon(ImplCreatePolyPolygonFromRegionBand());
const_cast< vcl::Region* >(this)->mpPolyPolygon.reset(new tools::PolyPolygon(aPolyPolgon));
@@ -1326,7 +1326,7 @@ const basegfx::B2DPolyPolygon vcl::Region::GetAsB2DPolyPolygon() const
if(getRegionBand())
{
- // the BandRegion needs to be converted, buffer the converion
+ // the BandRegion needs to be converted, buffer the conversion
const basegfx::B2DPolyPolygon aB2DPolyPolygon(ImplCreateB2DPolyPolygonFromRegionBand());
const_cast< vcl::Region* >(this)->mpB2DPolyPolygon.reset(new basegfx::B2DPolyPolygon(aB2DPolyPolygon));
More information about the Libreoffice-commits
mailing list