summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-09-26 11:44:54 +0200
committerAndras Timar <andras.timar@collabora.com>2013-09-26 11:47:45 +0200
commit7f436c1fd3a5f879fc99652043befb35158b3321 (patch)
treefb7afa124abc55dba2c9d17f4fa10a593485febf /unotools
parent69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (diff)
typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/moduleoptions.cxx2
-rw-r--r--unotools/source/config/pathoptions.cxx2
-rw-r--r--unotools/source/config/viewoptions.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 1745fcc124f4..2b82103dff0e 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -199,7 +199,7 @@ struct FactoryInfo
//---------------------------------------------------------------------------------------------------------
// If you call set-methods - we check for changes of valkues and mark it.
- // But if you whish to set it without that ... you must initialize it!
+ // But if you wish to set it without that ... you must initialize it!
void initInstalled ( sal_Bool bNewInstalled ) { bInstalled = bNewInstalled ; }
void initFactory ( const OUString& sNewFactory ) { sFactory = sNewFactory ; }
void initShortName ( const OUString& sNewShortName ) { sShortName = sNewShortName ; }
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index c1899a5efb99..c7a1276133ad 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -336,7 +336,7 @@ OUString SvtPathOptions_Impl::SubstVar( const OUString& rVar ) const
// Convert the returned path to system path!
bool bConvertLocal = false;
- // Search for first occure of "$(...".
+ // Search for first occurrence of "$(...".
sal_Int32 nPosition = aWorkText.indexOf( SIGN_STARTVARIABLE ); // = first position of "$(" in string
sal_Int32 nLength = 0; // = count of letters from "$(" to ")" in string
diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx
index c13aa414a5e7..e95053e6ee94 100644
--- a/unotools/source/config/viewoptions.cxx
+++ b/unotools/source/config/viewoptions.cxx
@@ -88,7 +88,7 @@ sal_Int32 SvtViewOptions::m_nRefCount_Windows = 0
/*-************************************************************************************************************//**
@descr declare one configuration item
These struct hold information about one view item. But not all member are used for all entries!
- User must decide which information are useful and which not. We are a container iztem only and doesnt
+ User must decide which information are useful and which not. We are a container iztem only and doesn't
know anything about the context.
But; we support a feature:
decision between items with default values (should not realy exist in configuration!)
@@ -358,7 +358,7 @@ SvtViewOptionsBase_Impl::~SvtViewOptionsBase_Impl()
{
// dont flush configuration changes here to m_xRoot.
// That must be done inside every SetXXX() method already !
- // Here its to late - DisposedExceptions from used configuration access can occure otherwise.
+ // Here its to late - DisposedExceptions from used configuration access can occur otherwise.
m_xRoot.clear();
m_xSet.clear();