[Libreoffice-commits] core.git: sw/source testtools/source toolkit/qa toolkit/source tools/source
Andrea Gelmini
andrea.gelmini at gelma.net
Tue Sep 29 15:19:40 PDT 2015
sw/source/ui/fldui/fldref.cxx | 2 +-
sw/source/ui/frmdlg/column.cxx | 4 ++--
sw/source/ui/misc/glossary.cxx | 2 +-
sw/source/ui/vba/vbasections.cxx | 2 +-
sw/source/uibase/inc/wrtsh.hxx | 2 +-
sw/source/uibase/shells/langhelper.cxx | 2 +-
sw/source/uibase/uiview/viewport.cxx | 2 +-
sw/source/uibase/utlui/content.cxx | 2 +-
sw/source/uibase/wrtsh/select.cxx | 2 +-
sw/source/uibase/wrtsh/wrtsh2.cxx | 2 +-
testtools/source/bridgetest/pyuno/core.py | 2 +-
toolkit/qa/complex/toolkit/GridControl.java | 2 +-
toolkit/source/controls/controlmodelcontainerbase.cxx | 2 +-
toolkit/source/controls/unocontrols.cxx | 2 +-
tools/source/generic/b3dtrans.cxx | 2 +-
15 files changed, 16 insertions(+), 16 deletions(-)
New commits:
commit a2a5187a8ff7b8a18db51a471bd934e5a94c155c
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Tue Sep 29 18:12:15 2015 +0200
Fix typos
Change-Id: Ifddd2533b767924791338555031b848c59980c52
Reviewed-on: https://gerrit.libreoffice.org/18989
Reviewed-by: Joren De Cuyper <jorendc at libreoffice.org>
Tested-by: Joren De Cuyper <jorendc at libreoffice.org>
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index d32b11a..252cf9b 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -912,7 +912,7 @@ bool SwFieldRefPage::FillItemSet(SfxItemSet* )
}
else // SeqenceFields
{
- // get fields for Seq-FeldType:
+ // get fields for Seq-FieldType:
SwSetExpFieldType* pType = static_cast<SwSetExpFieldType*>(pSh->GetFieldType(
nTypeId & ~REFFLDFLAG, RES_SETEXPFLD ));
if( pType )
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index c6d2f35..8a62944 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -347,7 +347,7 @@ IMPL_LINK_NOARG_TYPED(SwColumnDlg, OkHdl, Button*, void)
if(pPageSet && SfxItemState::SET == pPageSet->GetItemState(RES_COL) && bPageChanged)
{
- // deterine current PageDescriptor and fill the Set with it
+ // determine current PageDescriptor and fill the Set with it
const size_t nCurIdx = rWrtShell.GetCurPageDesc();
SwPageDesc aPageDesc(rWrtShell.GetPageDesc(nCurIdx));
SwFrameFormat &rFormat = aPageDesc.GetMaster();
@@ -1074,7 +1074,7 @@ IMPL_LINK( SwColumnPage, EdModify, MetricField *, pMetricField )
}
// Handler behind the Checkbox for automatic width. When the box is checked
-// no expicit values for the column width can be entered.
+// no explicit values for the column width can be entered.
IMPL_LINK_TYPED( SwColumnPage, AutoWidthHdl, Button*, pButton, void )
{
CheckBox* pBox = static_cast<CheckBox*>(pButton);
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index 4d9e78b..77586e8 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -763,7 +763,7 @@ void SwGlossaryDlg::Init()
m_pCategoryBox->MakeVisible(pSelEntry);
GrpSelect(m_pCategoryBox);
}
- //JP 16.11.99: the SvxTreeListBox has a Bug. The Box dont recalc the
+ //JP 16.11.99: the SvxTreeListBox has a Bug. The Box don't recalc the
// outputsize, when all entries are insertet. The result is, that
// the Focus/Highlight rectangle is to large and paintet over the
// HScrollbar. -> Fix: call the resize
diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx
index a23d56d..843029c 100644
--- a/sw/source/ui/vba/vbasections.cxx
+++ b/sw/source/ui/vba/vbasections.cxx
@@ -81,7 +81,7 @@ public:
SectionCollectionHelper( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< text::XTextRange >& xTextRange ) throw (uno::RuntimeException) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel )
{
- // Hacky implementation of Range.Sections, only support 1 secction
+ // Hacky implementation of Range.Sections, only support 1 section
uno::Reference< beans::XPropertySet > xRangeProps( xTextRange, uno::UNO_QUERY_THROW );
uno::Reference< style::XStyle > xStyle = word::getCurrentPageStyle( mxModel, xRangeProps );
uno::Reference< beans::XPropertySet > xPageProps( xStyle, uno::UNO_QUERY_THROW );
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index 01db507..904da2b 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.hxx
@@ -175,7 +175,7 @@ public:
bool IsSttOfPara() const { return IsSttPara(); }
bool IsEndOfPara() const { return IsEndPara(); }
- // select word / sentense
+ // select word / sentence
bool SelNearestWrd();
bool SelWrd (const Point * = 0, bool bProp=false );
// #i32329# Enhanced selection
diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx
index 185cfa2..905cb68 100644
--- a/sw/source/uibase/shells/langhelper.cxx
+++ b/sw/source/uibase/shells/langhelper.cxx
@@ -323,7 +323,7 @@ namespace SwLangHelper
EE_CHAR_LANGUAGE_CTL
};
- // Writewr IDs
+ // Writer IDs
const sal_uInt16 aLangWhichId_Writer[3] =
{
RES_CHRATR_LANGUAGE,
diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx
index d86aac3..47ba3de 100644
--- a/sw/source/uibase/uiview/viewport.cxx
+++ b/sw/source/uibase/uiview/viewport.cxx
@@ -106,7 +106,7 @@ static void lcl_GetPos(SwView* pView,
if ( !bHori && nTmp > lSize )
lDelta -= nTmp - lSize;
- // use a reference to access/moodify the correct coordinate
+ // use a reference to access/modify the correct coordinate
// returned by accessors to non-const object
long & rCoord = bHori ? rPos.X() : rPos.Y();
rCoord += lDelta;
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 7edacd1..3d86f27 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2427,7 +2427,7 @@ void SwContentTree::ShowTree()
SvTreeListBox::Show();
}
-// folded together will not be geidled
+// folded together will not be glidled
void SwContentTree::HideTree()
{
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 5e3acf1..89065f4 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -878,7 +878,7 @@ int SwWrtShell::IntelligentCut(int nSelection, bool bCut)
cNext = GetChar(true);
int cWord = NO_WORD;
- // is a word seleced?
+ // is a word selected?
if(!cWord && cPrev && cNext &&
CH_TXTATR_BREAKWORD != cPrev && CH_TXTATR_INWORD != cPrev &&
CH_TXTATR_BREAKWORD != cNext && CH_TXTATR_INWORD != cNext &&
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index e303503..7f20bfe 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -569,7 +569,7 @@ void SwWrtShell::NavigatorPaste( const NaviContentBookmark& rBkmk,
aSection.SetProtectFlag( false );
// the update of content from linked section at time delete
- // the undostack. Then the change of the section dont create
+ // the undostack. Then the change of the section don't create
// any undoobject. - BUG 69145
bool bDoesUndo = DoesUndo();
SwUndoId nLastUndoId(UNDO_EMPTY);
diff --git a/testtools/source/bridgetest/pyuno/core.py b/testtools/source/bridgetest/pyuno/core.py
index dbba0b4..9ef8c80 100644
--- a/testtools/source/bridgetest/pyuno/core.py
+++ b/testtools/source/bridgetest/pyuno/core.py
@@ -148,7 +148,7 @@ class TestCase( unittest.TestCase):
uno.Enum( "com.sun.star.uno.TypeClass", "STRUCT" ), "typeclass of type test")
self.failUnless( t1 == t2 , "equal type test" )
self.failUnless( t1 == t2 , "equal type test" )
- self.failUnless( t1 == self.tobj.transportAny( t1 ), "type rountrip test" )
+ self.failUnless( t1 == self.tobj.transportAny( t1 ), "type roundtrip test" )
def testBool( self ):
self.failUnless( uno.Bool(1) , "uno.Bool true test" )
diff --git a/toolkit/qa/complex/toolkit/GridControl.java b/toolkit/qa/complex/toolkit/GridControl.java
index 7edb597..7441767 100644
--- a/toolkit/qa/complex/toolkit/GridControl.java
+++ b/toolkit/qa/complex/toolkit/GridControl.java
@@ -208,7 +208,7 @@ public class GridControl
test.testUpdateRowHeading();
test.cleanup();
- // a somehwat less straight-forward test: the data model is expected to implicitly increase its column count
+ // a somewhat less straight-forward test: the data model is expected to implicitly increase its column count
// when you add a row which has more columns than currently known
final XMutableGridDataModel dataModel = DefaultGridDataModel.create( m_context );
dataModel.addRow( 0, new Object[] { 1 } );
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index d9c48e1..526a47c 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -1451,7 +1451,7 @@ void ControlContainerBase::ImplSetPosSize( Reference< XControl >& rxCtrl )
}
sal_Int16 nH = aFM.Ascent + aFM.Descent;
- sal_Int16 nW = nH/2; // calculate avarege width?!
+ sal_Int16 nW = nH/2; // calculate average width?!
nX *= nW;
nX /= 4;
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 8e2d3c9..58dd96d 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -1338,7 +1338,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) thr
maItemListeners.itemStateChanged( rEvent );
}
// note that speaking stricly, this is wrong: When in 1.0.x, the user would have de-selected
- // a radio button _without_ selecing another one, this would have caused a notification.
+ // a radio button _without_ selecting another one, this would have caused a notification.
// With the change done here, this today won't cause a notification anymore.
// Fortunately, it's not possible for the user to de-select a radio button without selecting another on,
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx
index cf27e18..c735bd0 100644
--- a/tools/source/generic/b3dtrans.cxx
+++ b/tools/source/generic/b3dtrans.cxx
@@ -203,7 +203,7 @@ const basegfx::B3DHomMatrix& B3dTransformationSet::GetProjection()
void B3dTransformationSet::PostSetProjection()
{
- // Assign and comptue inverse
+ // Assign and compute inverse
maInvProjection = GetProjection();
maInvProjection.invert();
More information about the Libreoffice-commits
mailing list