summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /svtools
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx2
-rw-r--r--svtools/source/contnr/contentenumeration.hxx2
-rw-r--r--svtools/source/control/fmtfield.cxx16
-rw-r--r--svtools/source/control/inettbc.cxx2
-rw-r--r--svtools/source/control/ruler.cxx2
-rw-r--r--svtools/source/control/tabbar.cxx2
-rw-r--r--svtools/source/control/valueimp.hxx2
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx2
-rw-r--r--svtools/source/misc/acceleratorexecute.cxx2
-rw-r--r--svtools/source/misc/templatefoldercache.cxx2
-rw-r--r--svtools/source/svhtml/parhtml.cxx2
-rw-r--r--svtools/source/table/tablecontrol_impl.hxx4
-rw-r--r--svtools/source/toolpanel/paneldecklisteners.hxx2
13 files changed, 21 insertions, 21 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 51bfecb6114b..fbb1047fe895 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -1602,7 +1602,7 @@ bool BrowseBox::GoToColumnId( sal_uInt16 nColId, bool bMakeVisible, bool bRowCol
//try to move to nCurRow, nColId
CursorMoveAttempt aAttempt(nCurRow, nColId, bScrolled);
//Detect if we are already in a call to BrowseBox::GoToColumnId
- //but the the attempt is impossible and we are simply recursing
+ //but the attempt is impossible and we are simply recursing
//into BrowseBox::GoToColumnId with the same impossible to
//fulfill conditions
if (m_aGotoStack.empty() || aAttempt != m_aGotoStack.top())
diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx
index a5f76e672b8c..60cd274dec7e 100644
--- a/svtools/source/contnr/contentenumeration.hxx
+++ b/svtools/source/contnr/contentenumeration.hxx
@@ -40,7 +40,7 @@ namespace svt
{
private:
OUString maFilename; // only filename in upper case - for compare purposes
- OUString maTitle; // -> be carefull when changing maTitle to update maFilename only when new
+ OUString maTitle; // -> be careful when changing maTitle to update maFilename only when new
OUString maLowerTitle;
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index c000833db7a1..3cdd68082dcd 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -128,14 +128,14 @@ namespace validation
{
// build up our transition table
- // how to procede from START
+ // how to proceed from START
{
StateTransitions& rRow = m_aTransitions[ START ];
rRow.insert( Transition( '_', NUM_START ) );
- // if we encounter the normalizing character, we want to procede with the number
+ // if we encounter the normalizing character, we want to proceed with the number
}
- // how to procede from NUM_START
+ // how to proceed from NUM_START
{
StateTransitions& rRow = m_aTransitions[ NUM_START ];
@@ -150,7 +150,7 @@ namespace validation
lcl_insertStartExponentTransition( rRow );
}
- // how to procede from DIGIT_PRE_COMMA
+ // how to proceed from DIGIT_PRE_COMMA
{
StateTransitions& rRow = m_aTransitions[ DIGIT_PRE_COMMA ];
@@ -165,7 +165,7 @@ namespace validation
lcl_insertStopTransition( rRow );
}
- // how to procede from DIGIT_POST_COMMA
+ // how to proceed from DIGIT_POST_COMMA
{
StateTransitions& rRow = m_aTransitions[ DIGIT_POST_COMMA ];
@@ -179,7 +179,7 @@ namespace validation
lcl_insertStopTransition( rRow );
}
- // how to procede from EXPONENT_START
+ // how to proceed from EXPONENT_START
{
StateTransitions& rRow = m_aTransitions[ EXPONENT_START ];
@@ -193,7 +193,7 @@ namespace validation
lcl_insertStopTransition( rRow );
}
- // how to procede from EXPONENT_DIGIT
+ // how to proceed from EXPONENT_DIGIT
{
StateTransitions& rRow = m_aTransitions[ EXPONENT_DIGIT ];
@@ -204,7 +204,7 @@ namespace validation
lcl_insertStopTransition( rRow );
}
- // how to procede from END
+ // how to proceed from END
{
/*StateTransitions& rRow =*/ m_aTransitions[ EXPONENT_DIGIT ];
// no valid transition to leave this state
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index ba819dec413f..0a114737a8d9 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -204,7 +204,7 @@ void SvtMatchContext_Impl::execute( )
// This method is called via AsynchronLink, so it has the SolarMutex and
// calling solar code ( VCL ... ) is safe. It is called when the thread is
// terminated ( finished work or stopped ). Cancelling the thread via
-// Cancellable does not not discard the information gained so far, it
+// Cancellable does not discard the information gained so far, it
// inserts all collected completions into the listbox.
IMPL_STATIC_LINK( SvtMatchContext_Impl, Select_Impl, void*, )
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 4fc5ed75c563..b49421c3dc05 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2807,7 +2807,7 @@ uno::Reference< XAccessible > Ruler::CreateAccessible()
if( xAccParent.is() )
{
// MT: Fixed compiler issue because the address from a temporary object was used.
- // BUT: Shoudl it really be a Pointer, instead of const&???
+ // BUT: Should it really be a Pointer, instead of const&???
OUString aStr;
if ( mnWinStyle & WB_HORZ )
{
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 3c6b7f7c716f..e2d018997066 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -925,7 +925,7 @@ void TabBar::MouseButtonDown( const MouseEvent& rMEvt )
{
// Deselect all tabs till the clicked tab
// and select all tabs from the clicked tab
- // till the the actual position
+ // 'till the actual position
n = 0;
while ( n < nCurPos )
{
diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx
index 3689872eb541..4b2cf9f54ebf 100644
--- a/svtools/source/control/valueimp.hxx
+++ b/svtools/source/control/valueimp.hxx
@@ -195,7 +195,7 @@ private:
/** Check whether the value set has a 'none' field, i.e. a field (button)
that deselects any items (selects none of them).
@return
- Returns <true/> if there is a 'none' field and <false/> it it is
+ Returns <true/> if there is a 'none' field and <false/> if it is
missing.
*/
bool HasNoneField (void) const;
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index 4c7ee7a81ef4..4339551d35dc 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -86,7 +86,7 @@ namespace svt
WizardState nFirstUnknownPage;
// the WizardDialog does not allow non-linear transitions (e.g. it's
- // not possible to add pages in a non-linear order), so we need some own maintainance data
+ // not possible to add pages in a non-linear order), so we need some own maintenance data
bool m_bAutoNextButtonState;
diff --git a/svtools/source/misc/acceleratorexecute.cxx b/svtools/source/misc/acceleratorexecute.cxx
index 77008c22bd96..67660c27a2c7 100644
--- a/svtools/source/misc/acceleratorexecute.cxx
+++ b/svtools/source/misc/acceleratorexecute.cxx
@@ -180,7 +180,7 @@ bool AcceleratorExecute::execute(const css::awt::KeyEvent& aAWTKey)
{
OUString sCommand = impl_ts_findCommand(aAWTKey);
- // No Command found? Do nothing! User isnt interested on any error handling .-)
+ // No Command found? Do nothing! User is not interested on any error handling .-)
// or for some reason m_xContext is NULL (which would crash impl_ts_getURLParser()
if (sCommand.isEmpty() || !m_xContext.is())
{
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 9a561267149b..a44cc4eb6d6c 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -266,7 +266,7 @@ namespace svt
};
- /// base class for functors which act an an SvStream
+ /// base class for functors which act on a SvStream
struct StorageHelper
{
protected:
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 2f231ad4ba7a..98445edf97b0 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -627,7 +627,7 @@ int HTMLParser::ScanText( const sal_Unicode cBreak )
if( cBreak=='>' && (cChar=='\\' || cChar=='\'' ||
cChar=='\"' || cChar==' ') )
{
- // ' and " have to be escaped withing tags to separate
+ // ' and " have to be escaped within tags to separate
// them from ' and " enclosing options.
// \ has to be escaped as well.
// Space is protected because it's not a delimiter between
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx
index 5143d082426d..b7d34bcfbb29 100644
--- a/svtools/source/table/tablecontrol_impl.hxx
+++ b/svtools/source/table/tablecontrol_impl.hxx
@@ -323,7 +323,7 @@ namespace svt { namespace table
/** toggles the cursor visibility
The method is not bound to the classes public invariants, as it's used in
- situations where the they must not necessarily be fullfilled.
+ situations where the they must not necessarily be fulfilled.
*/
void impl_ni_doSwitchCursor( bool _bOn );
@@ -356,7 +356,7 @@ namespace svt { namespace table
/** updates all cached model values
The method is not bound to the classes public invariants, as it's used in
- situations where the they must not necessarily be fullfilled.
+ situations where the they must not necessarily be fulfilled.
*/
void impl_ni_updateCachedModelValues();
diff --git a/svtools/source/toolpanel/paneldecklisteners.hxx b/svtools/source/toolpanel/paneldecklisteners.hxx
index c7d2c3d074b1..81f0d1639387 100644
--- a/svtools/source/toolpanel/paneldecklisteners.hxx
+++ b/svtools/source/toolpanel/paneldecklisteners.hxx
@@ -50,7 +50,7 @@ namespace svt
void LayouterChanged( const PDeckLayouter& i_rNewLayouter );
void Dying();
- // listener maintainance
+ // listener maintenance
void AddListener( IToolPanelDeckListener& i_rListener );
void RemoveListener( IToolPanelDeckListener& i_rListener );