You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2014/04/29 21:25:24 UTC

svn commit: r1591062 [3/15] - in /openoffice/trunk/main: registry/inc/registry/ registry/tools/ rhino/ ridljar/com/sun/star/lib/util/ ridljar/com/sun/star/uno/ rsc/inc/ rsc/source/parser/ rsc/source/rscpp/ sal/inc/osl/ sal/inc/rtl/ sal/inc/sal/ sal/inc...

Modified: openoffice/trunk/main/sal/textenc/tcvtkr1.tab
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/textenc/tcvtkr1.tab?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sal/textenc/tcvtkr1.tab (original)
+++ openoffice/trunk/main/sal/textenc/tcvtkr1.tab Tue Apr 29 19:25:03 2014
@@ -35,7 +35,7 @@
    range 0x81 to 0xA0, extra second byte ranges 0x41 to 0x5A, 0x61 to 0x7A,
    and 0x81 to 0xA0, even within the original EUC-KR area).
 
-   The mappings are also used for the HangulTalk encoding (Macintosh), altough
+   The mappings are also used for the HangulTalk encoding (Macintosh), although
    this contains some other EUC-KR extensions (that are thus not supported):
    special single byte characters 0x81, 0x82, 0x83, 0xFE, and 0xFF; extra
    double byte characters within first byte range 0xA1 to 0xAD and second byte

Modified: openoffice/trunk/main/sal/textenc/tcvtmb.c
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/textenc/tcvtmb.c?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sal/textenc/tcvtmb.c (original)
+++ openoffice/trunk/main/sal/textenc/tcvtmb.c Tue Apr 29 19:25:03 2014
@@ -30,7 +30,7 @@
 /* DBCS to Unicode conversion routine use a lead table for the first byte, */
 /* where we determine the trail table or for single byte chars the unicode */
 /* value. We have for all lead byte a separate table, because we can */
-/* then share many tables for diffrent charset encodings. */
+/* then share many tables for different charset encodings. */
 
 /* ======================================================================= */
 

Modified: openoffice/trunk/main/sal/textenc/tcvtutf8.c
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/textenc/tcvtutf8.c?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sal/textenc/tcvtutf8.c (original)
+++ openoffice/trunk/main/sal/textenc/tcvtutf8.c Tue Apr 29 19:25:03 2014
@@ -141,7 +141,7 @@ sal_Size ImplConvertUtf8ToUnicode(ImplTe
         else
         {
 			/*
-             This byte is preceeded by a broken UTF-8 sequence; if this byte
+             This byte is preceded by a broken UTF-8 sequence; if this byte
              is neither in the range [0x80..0xBF] nor in the range
              [0xFE..0xFF], assume that this byte does not belong to that
              broken sequence, but instead starts a new, legal UTF-8 sequence:

Modified: openoffice/trunk/main/sal/typesconfig/typesconfig.c
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/typesconfig/typesconfig.c?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sal/typesconfig/typesconfig.c (original)
+++ openoffice/trunk/main/sal/typesconfig/typesconfig.c Tue Apr 29 19:25:03 2014
@@ -379,7 +379,7 @@ void Description_Print( struct Descripti
   fprintf( f, "#define SAL_TYPES_SIZEOFLONGLONG\t%d\n", (int) sizeof( long long ) );
   fprintf( f, "#define SAL_TYPES_SIZEOFPOINTER\t%d\n", (int) sizeof( void* ) );
 
-/* Disabled for now, becuase OOo code assumes sizeof(double) == 8 and this is not
+/* Disabled for now, because OOo code assumes sizeof(double) == 8 and this is not
  * likely to change any time soon.  fa (2004-03-15)
  */
 /*  fprintf( f, "#define SAL_TYPES_SIZEOFDOUBLE\t%d\n", sizeof( double ) );*/

Modified: openoffice/trunk/main/sal/workben/tgetpwnam.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/workben/tgetpwnam.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sal/workben/tgetpwnam.cxx (original)
+++ openoffice/trunk/main/sal/workben/tgetpwnam.cxx Tue Apr 29 19:25:03 2014
@@ -229,7 +229,7 @@ int main(int argc, char *argv[])
 	}
 	else 
 	{
-		printf("failed to detect non existant host\n");
+		printf("failed to detect non existent host\n");
 	} 
 
 	free(phostent);

Modified: openoffice/trunk/main/salhelper/inc/salhelper/dynload.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/salhelper/inc/salhelper/dynload.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/salhelper/inc/salhelper/dynload.hxx (original)
+++ openoffice/trunk/main/salhelper/inc/salhelper/dynload.hxx Tue Apr 29 19:25:03 2014
@@ -36,7 +36,7 @@ namespace salhelper
 class ORealDynamicLoader
 {
 public:
-    /** initializes the loader, loads the library and call the initialization fucntion.
+    /** initializes the loader, loads the library and call the initialization function.
 
         @param ppSetToZeroInDestructor points to the loader instance which must be set to NULL
                                        if the loader will be destroyed.

Modified: openoffice/trunk/main/salhelper/inc/salhelper/singletonref.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/salhelper/inc/salhelper/singletonref.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/salhelper/inc/salhelper/singletonref.hxx (original)
+++ openoffice/trunk/main/salhelper/inc/salhelper/singletonref.hxx Tue Apr 29 19:25:03 2014
@@ -55,10 +55,10 @@ namespace salhelper{
 
     @attention  To prevent the code against race conditions, its not
                 allowed to start operations inside the ctor
-                of the internal wrapped object - especialy operations
+                of the internal wrapped object - especially operations
                 which needs a reference to the same singleton too.
 
-                The only chance to supress such strange constellations
+                The only chance to suppress such strange constellations
                 is a lazy-init mechanism.
 
                 <ul>
@@ -70,7 +70,7 @@ namespace salhelper{
                 
                 Note further that this singleton pattern can work only, if
                 all user of such singleton are located inside the same library!
-                Because static values cant be exported - e.g. from windows libraries.
+                Because static values can't be exported - e.g. from windows libraries.
  */
 template< class SingletonClass >
 class SingletonRef

Modified: openoffice/trunk/main/sax/inc/sax/parser/saxparser.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sax/inc/sax/parser/saxparser.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sax/inc/sax/parser/saxparser.hxx (original)
+++ openoffice/trunk/main/sax/inc/sax/parser/saxparser.hxx Tue Apr 29 19:25:03 2014
@@ -112,7 +112,7 @@ public:
 		Default implementation calls StartElement() on the topmost contex. */
 	virtual void StartElement( sal_uInt32 aElementToken, const AttributeMap& rAttributes );
 
-	/** is called for characters betwen elements in the xml stream.
+	/** is called for characters between elements in the xml stream.
 		Default implementation calls Characters() on the topmost contex.
 		@param pCharacters The characters in utf-8 encoding	
 		@param nLength the size in bytes of the utf-8 string

Modified: openoffice/trunk/main/sax/source/expatwrap/sax_expat.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sax/source/expatwrap/sax_expat.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sax/source/expatwrap/sax_expat.cxx (original)
+++ openoffice/trunk/main/sax/source/expatwrap/sax_expat.cxx Tue Apr 29 19:25:03 2014
@@ -58,7 +58,7 @@ using namespace ::com::sun::star::io;
 
 namespace sax_expatwrap {
 	
-// Useful macros for correct String conversion depending on the choosen expat-mode
+// Useful macros for correct String conversion depending on the chosen expat-mode
 #ifdef XML_UNICODE
 OUString XmlNChar2OUString( const XML_Char *p , int nLen )
 {

Modified: openoffice/trunk/main/sc/addin/datefunc/dfa.cl
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/addin/datefunc/dfa.cl?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/addin/datefunc/dfa.cl (original)
+++ openoffice/trunk/main/sc/addin/datefunc/dfa.cl Tue Apr 29 19:25:03 2014
@@ -217,14 +217,14 @@ static void DaysToDate( long nDays,
  * The International Standard IS-8601 has decreed that Monday
  * shall be the first day of the week.
  *
- * A week that lies partly in one year and partly in annother
+ * A week that lies partly in one year and partly in another
  * is assigned a number in the the year in which most of its days lie.
  *
  * That means that week 1 of any year is the week that contains the 4. January
  *
  * The internal representation of a Date used in the Addin is the number of days based on 01/01/0001
  *
- * A WeekDay can be then calculated by substracting 1 and calculating the rest of
+ * A WeekDay can be then calculated by subtracting 1 and calculating the rest of
  * a division by 7, which gives a 0 - 6 value for Monday - Sunday
  *
  * Using the 4. January rule explained above the formula
@@ -234,7 +234,7 @@ static void DaysToDate( long nDays,
  * calculates a number between 0-53 for each day which is in the same year as nJan4
  * where 0 means that this week belonged to the year before.
  *
- * If a day in the same or annother year is used in this formula this calculates
+ * If a day in the same or another year is used in this formula this calculates
  * an calendar week offset from a given 4. January
  *
  *	nWeek2 = ( nDays2 - nJan4 + ( (nJan4-1) % 7 ) ) / 7 + 1;
@@ -428,7 +428,7 @@ void CALLTYPE ScDate_DaysInMonth(double 
  * The International Standard IS-8601 has decreed that Monday
  * shall be the first day of the week.
  *
- * A WeekDay can be calculated by substracting 1 and calculating the rest of
+ * A WeekDay can be calculated by subtracting 1 and calculating the rest of
  * a division by 7 from the internal date represention
  * which gives a 0 - 6 value for Monday - Sunday
  *
@@ -508,7 +508,7 @@ void CALLTYPE GetFunctionCount( USHORT *
 }
 
 /**
- * Provides neccessary data for each new function to StarCalc
+ * Provides necessary data for each new function to StarCalc
  *
  * @param *nNo Input: Function number between 0 and nCount - 1
  * @param *pFuncName Output: Functionname which should be called in the AddIn-DLL

Modified: openoffice/trunk/main/sc/addin/datefunc/dfa.src
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/addin/datefunc/dfa.src?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/addin/datefunc/dfa.src (original)
+++ openoffice/trunk/main/sc/addin/datefunc/dfa.src Tue Apr 29 19:25:03 2014
@@ -27,7 +27,7 @@
  * legacy AddIn interface. The interface is still supported, but deprecated.
  * The strings here were displayed in the function wizard. To prevent
  * duplicated and useless translation effort (functions and strings are also
- * part of the new scaddin module), the strings here are now layed out as fixed
+ * part of the new scaddin module), the strings here are now laid out as fixed
  * untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl
  * script merging the raw .cl and the .src during build time didn't work
  * anymore anyway, since we switched from MS-LCIDs / telephone area codes to

Modified: openoffice/trunk/main/sc/addin/rot13/rot13.cl
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/addin/rot13/rot13.cl?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/addin/rot13/rot13.cl (original)
+++ openoffice/trunk/main/sc/addin/rot13/rot13.cl Tue Apr 29 19:25:03 2014
@@ -57,7 +57,7 @@ void CALLTYPE GetFunctionCount( USHORT *
 }
 
 /**
- * Provides neccessary data for each new function to StarCalc
+ * Provides necessary data for each new function to StarCalc
  *
  * @param *nNo Input: Function number between 0 and nCount - 1
  * @param *pFuncName Output: Functionname which should be called in the AddIn-DLL

Modified: openoffice/trunk/main/sc/addin/rot13/rot13.src
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/addin/rot13/rot13.src?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/addin/rot13/rot13.src (original)
+++ openoffice/trunk/main/sc/addin/rot13/rot13.src Tue Apr 29 19:25:03 2014
@@ -27,7 +27,7 @@
  * legacy AddIn interface. The interface is still supported, but deprecated.
  * The strings here were displayed in the function wizard. To prevent
  * duplicated and useless translation effort (functions and strings are also
- * part of the new scaddin module), the strings here are now layed out as fixed
+ * part of the new scaddin module), the strings here are now laid out as fixed
  * untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl
  * script merging the raw .cl and the .src during build time didn't work
  * anymore anyway, since we switched from MS-LCIDs / telephone area codes to

Modified: openoffice/trunk/main/sc/inc/attarray.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/attarray.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/attarray.hxx (original)
+++ openoffice/trunk/main/sc/inc/attarray.hxx Tue Apr 29 19:25:03 2014
@@ -167,7 +167,7 @@ public:
     sal_Bool    GetFirstVisibleAttr( SCROW& rFirstRow ) const;
     sal_Bool    GetLastVisibleAttr( SCROW& rLastRow, SCROW nLastData ) const;
 	/*
-	Get the last cell's row number , which have visual atribute or visual data in attribute list
+	Get the last cell's row number , which have visual attribute or visual data in attribute list
 	*/
 	sal_Bool    GetLastAttr( SCROW& rLastRow, SCROW nLastData ) const;
 	sal_Bool	HasVisibleAttrIn( SCROW nStartRow, SCROW nEndRow ) const;

Modified: openoffice/trunk/main/sc/inc/chgtrack.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/chgtrack.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/chgtrack.hxx (original)
+++ openoffice/trunk/main/sc/inc/chgtrack.hxx Tue Apr 29 19:25:03 2014
@@ -593,7 +593,7 @@ public:
 												const ScChangeActionType eType,
 												const SCsCOLROW nD,
 												ScChangeTrack* pTrack); // only to use in the XML import
-																		// wich of nDx and nDy is set is depend on the type
+																		// which of nDx and nDy is set is depend on the type
 
 								// ob dieses das unterste einer Reihe (oder
 								// auch einzeln) ist

Modified: openoffice/trunk/main/sc/inc/column.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/column.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/column.hxx (original)
+++ openoffice/trunk/main/sc/inc/column.hxx Tue Apr 29 19:25:03 2014
@@ -172,7 +172,7 @@ public:
     sal_Bool        GetFirstVisibleAttr( SCROW& rFirstRow ) const;
     sal_Bool        GetLastVisibleAttr( SCROW& rLastRow ) const;
 	/*
-	Get the last cell's row number , which have visual atribute or visual data in a column
+	Get the last cell's row number , which have visual attribute or visual data in a column
 	*/
 	sal_Bool		GetLastAttr( SCROW& rLastRow ) const;
 	sal_Bool		HasVisibleAttrIn( SCROW nStartRow, SCROW nEndRow ) const;

Modified: openoffice/trunk/main/sc/inc/compressedarray.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/compressedarray.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/compressedarray.hxx (original)
+++ openoffice/trunk/main/sc/inc/compressedarray.hxx Tue Apr 29 19:25:03 2014
@@ -221,7 +221,7 @@ ScCompressedArray<A,D>::GetDataEntry( si
 
 /** Iterator for ScCompressedArray.
 
-    @ATTENTION: the iterator is not persistant if the underlying
+    @ATTENTION: the iterator is not persistent if the underlying
     ScCompressedArray happens to be changed by any means, for example by
     setting new values or adding or removing or combining entries. If you do
     such things inside a loop you MUST resynchronize the iterator by calling

Modified: openoffice/trunk/main/sc/inc/document.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/document.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/document.hxx (original)
+++ openoffice/trunk/main/sc/inc/document.hxx Tue Apr 29 19:25:03 2014
@@ -719,7 +719,7 @@ public:
 
     /** Tries to find a DDE link or creates a new, if not extant.
         @param pResults  If not 0, sets the matrix as as DDE link result matrix (also for existing links).
-        @return  true = DDE link found; false = Unpredictable error occured, no DDE link created. */
+        @return  true = DDE link found; false = Unpredictable error occurred, no DDE link created. */
     SC_DLLPUBLIC bool            CreateDdeLink( const String& rAppl, const String& rTopic, const String& rItem, sal_uInt8 nMode, ScMatrix* pResults = NULL );
     /** Sets a result matrix for the specified DDE link.
         @param nDdePos  Index of the DDE link (does not include other links from link manager).
@@ -977,7 +977,7 @@ public:
 	void			InvalidateTableArea();
 
 	/*
-	Get the last cell's row number , which have visual atribute or visual data in specific table
+	Get the last cell's row number , which have visual attribute or visual data in specific table
 	*/
 	SC_DLLPUBLIC void			GetLastAttrCell( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow ) const;
 
@@ -1432,7 +1432,7 @@ public:
     SCROW           GetNextDifferentChangedRow( SCTAB nTab, SCROW nStart, bool bCareManualSize = true) const;
 
     // returns whether to export a Default style for this col/row or not
-	// nDefault is setted to one possition in the current row/col where the Default style is
+	// nDefault is setted to one position in the current row/col where the Default style is
 	sal_Bool			GetColDefault( SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW& nDefault);
 	sal_Bool			GetRowDefault( SCTAB nTab, SCROW nRow, SCCOL nLastCol, SCCOL& nDefault);
 

Modified: openoffice/trunk/main/sc/inc/table.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/inc/table.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/inc/table.hxx (original)
+++ openoffice/trunk/main/sc/inc/table.hxx Tue Apr 29 19:25:03 2014
@@ -422,7 +422,7 @@ public:
 								SCROW& rEndRow, sal_Bool bNotes ) const;
 
 	/*
-	Get the last cell's postion, which has visual attribute or data and has max row number among all columns.
+	Get the last cell's position, which has visual attribute or data and has max row number among all columns.
 	*/
 	void		GetLastAttrCell( SCCOL& rEndCol, SCROW& rEndRow ) const;
 	sal_Bool		GetDataStart( SCCOL& rStartCol, SCROW& rStartRow ) const;

Modified: openoffice/trunk/main/sc/qa/complex/dataPilot/_XPropertySet.java
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/qa/complex/dataPilot/_XPropertySet.java?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/qa/complex/dataPilot/_XPropertySet.java (original)
+++ openoffice/trunk/main/sc/qa/complex/dataPilot/_XPropertySet.java Tue Apr 29 19:25:03 2014
@@ -201,19 +201,19 @@ public class _XPropertySet {
                 oObj.setPropertyValue(PTT.bound,
                     ValueChanger.changePValue(gValue));
             } catch (com.sun.star.beans.PropertyVetoException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.IllegalArgumentException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } catch (com.sun.star.beans.UnknownPropertyException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.WrappedTargetException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } // end of try-catch
@@ -256,19 +256,19 @@ public class _XPropertySet {
                 oObj.setPropertyValue(PTT.constrained,
                     ValueChanger.changePValue(gValue));
             } catch (com.sun.star.beans.PropertyVetoException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.IllegalArgumentException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } catch (com.sun.star.beans.UnknownPropertyException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.WrappedTargetException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } // end of try-catch
@@ -314,19 +314,19 @@ public class _XPropertySet {
                 oObj.setPropertyValue(PTT.normal, sValue);
                 sValue = oObj.getPropertyValue(PTT.normal);
             } catch (com.sun.star.beans.PropertyVetoException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.normal+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.IllegalArgumentException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.normal+"'");
                 e.printStackTrace();
             } catch (com.sun.star.beans.UnknownPropertyException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.normal+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.WrappedTargetException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.normal+"'");
                 e.printStackTrace();
             } // end of try-catch
@@ -364,12 +364,12 @@ public class _XPropertySet {
         try {
             Object gValue = oObj.getPropertyValue(toCheck);
         } catch (com.sun.star.beans.UnknownPropertyException e) {
-            System.out.println("Exception occured while trying to get property '"+
+            System.out.println("Exception occurred while trying to get property '"+
                  PTT.normal+"'");
             e.printStackTrace();
             result = false;
         } catch (com.sun.star.lang.WrappedTargetException e) {
-            System.out.println("Exception occured while trying to get property '"+
+            System.out.println("Exception occurred while trying to get property '"+
                 PTT.normal+"'");
             e.printStackTrace();
             result = false;
@@ -407,19 +407,19 @@ public class _XPropertySet {
                 oObj.setPropertyValue(PTT.bound,
                     ValueChanger.changePValue(gValue));
             } catch (com.sun.star.beans.PropertyVetoException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.IllegalArgumentException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } catch (com.sun.star.beans.UnknownPropertyException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.WrappedTargetException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.bound+"'");
                 e.printStackTrace();
             } // end of try-catch
@@ -464,19 +464,19 @@ public class _XPropertySet {
                 oObj.setPropertyValue(PTT.constrained,
                     ValueChanger.changePValue(gValue));
             } catch (com.sun.star.beans.PropertyVetoException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.IllegalArgumentException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } catch (com.sun.star.beans.UnknownPropertyException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } catch (com.sun.star.lang.WrappedTargetException e) {
-                System.out.println("Exception occured while trying to change "+
+                System.out.println("Exception occurred while trying to change "+
                     "property '"+ PTT.constrained+"'");
                 e.printStackTrace();
             } // end of try-catch

Modified: openoffice/trunk/main/sc/qa/complex/sc/CalcRTL.java
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/qa/complex/sc/CalcRTL.java?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/qa/complex/sc/CalcRTL.java (original)
+++ openoffice/trunk/main/sc/qa/complex/sc/CalcRTL.java Tue Apr 29 19:25:03 2014
@@ -336,7 +336,7 @@ public class CalcRTL /* extends ComplexT
             worked = checkResult(set, pName, oldValue, pValue, resValue, 
                                  exception);
         } catch (Exception e) {
-            System.out.println("Exception occured while testing property '" + 
+            System.out.println("Exception occurred while testing property '" + 
                                pName + "'");
             e.printStackTrace();
             worked = false;

Modified: openoffice/trunk/main/sc/source/core/data/column.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/column.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/column.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/column.cxx Tue Apr 29 19:25:03 2014
@@ -726,7 +726,7 @@ sal_Bool ScColumn::Search( SCROW nRow, S
 			i = (nLo+nHi) / 2;			// no effort, no division by zero
 		else
 		{	// interpolating search
-			long nLoRow = pItems[nLo].nRow;		// no unsigned underflow upon substraction
+			long nLoRow = pItems[nLo].nRow;		// no unsigned underflow upon subtraction
 			i = nLo + (long)((long)(nRow - nLoRow) * (nHi - nLo)
 				/ (pItems[nHi].nRow - nLoRow));
 			if ( i < 0 || static_cast<SCSIZE>(i) >= nCount )

Modified: openoffice/trunk/main/sc/source/core/data/dpobject.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/dpobject.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/dpobject.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/dpobject.cxx Tue Apr 29 19:25:03 2014
@@ -1724,7 +1724,7 @@ void lcl_FillOldFields( ScPivotFieldVect
 	bool bDataFound = false;
 	rFields.clear();
 
-	//!	merge multiple occurences (data field with different functions)
+	//!	merge multiple occurrences (data field with different functions)
 	//!	force data field in one dimension
 
     std::vector< long > aPos;

Modified: openoffice/trunk/main/sc/source/core/data/dptablecache.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/dptablecache.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/dptablecache.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/dptablecache.cxx Tue Apr 29 19:25:03 2014
@@ -623,7 +623,7 @@ bool ScDPTableDataCache::InitFromDataBas
 sal_uLong ScDPTableDataCache::GetDimNumType( SCCOL nDim) const
 {
 	DBG_ASSERT( IsValid(), "  IsValid() == false " );
-	DBG_ASSERT( nDim < mnColumnCount && nDim >=0, " dimention out of bound " );
+	DBG_ASSERT( nDim < mnColumnCount && nDim >=0, " dimension out of bound " );
 	if ( mpTableDataValues[nDim].size()==0 )
 		return NUMBERFORMAT_UNDEFINED;
 	else

Modified: openoffice/trunk/main/sc/source/core/data/dptabres.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/dptabres.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/dptabres.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/dptabres.cxx Tue Apr 29 19:25:03 2014
@@ -704,7 +704,7 @@ ScDPAggData* lcl_GetChildTotal( ScDPAggD
     ScDPAggData* pAgg = pFirst;
     long nSkip = nMeasure;
 
-    // subtotal settings are ignored - colum/row totals exist once per measure
+    // subtotal settings are ignored - column/row totals exist once per measure
 
     for ( long nPos=0; nPos<nSkip; nPos++ )
         pAgg = pAgg->GetChild();    // column total is constructed empty - children need to be created
@@ -1095,7 +1095,7 @@ void ScDPResultMember::InitFrom( const v
 	if ( GetDPMember() && !GetDPMember()->getShowDetails() )
 	{
          // Wang Xu Ming -- 2009-6-16
-        // Show DataLayout dimention
+        // Show DataLayout dimension
         nMemberStep = 1;
         while ( nPos < ppDim.size() )
         {
@@ -1143,7 +1143,7 @@ void ScDPResultMember::LateInitFrom( Lat
     {
         // Wang Xu Ming -- 2009-6-16
         // DataPilot Migration
-        // Show DataLayout dimention
+        // Show DataLayout dimension
         nMemberStep = 1;
         while ( !rParams.IsEnd( nPos ) )
         {

Modified: openoffice/trunk/main/sc/source/core/data/dptabsrc.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/dptabsrc.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/dptabsrc.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/dptabsrc.cxx Tue Apr 29 19:25:03 2014
@@ -1002,7 +1002,7 @@ void ScDPSource::CreateRes_Impl()
     			pRowResRoot->UpdateDataResults( pColResRoot, pResData->GetRowStartMeasure() );
 			}
 
-			//  SortMembers does the sorting by a result dimension, using the orginal results,
+			//  SortMembers does the sorting by a result dimension, using the original results,
 			//  but not running totals etc.
 			pRowResRoot->SortMembers( pColResRoot );
 

Modified: openoffice/trunk/main/sc/source/core/data/global.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/global.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/global.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/global.cxx Tue Apr 29 19:25:03 2014
@@ -1236,7 +1236,7 @@ ScFunctionList::ScFunctionList() :
         ::std::auto_ptr<ScResourcePublisher> pBlock( new ScResourcePublisher( ScResId( nDescBlock[k] ) ) );
         // Browse for all possible OpCodes. This is not the fastest method, but
         // otherwise the sub resources within the resource blocks and the
-        // resource blocks themselfs would had to be ordered according to
+        // resource blocks themselves would had to be ordered according to
         // OpCodes, which is utopian..
 		for (i = 0; i <= SC_OPCODE_LAST_OPCODE_ID; i++)
 		{

Modified: openoffice/trunk/main/sc/source/core/data/validat.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/data/validat.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/data/validat.cxx (original)
+++ openoffice/trunk/main/sc/source/core/data/validat.cxx Tue Apr 29 19:25:03 2014
@@ -654,7 +654,7 @@ bool ScValidationData::GetSelectionFromF
     const ScMatrix *pValues = aValidationSrc.GetMatrix();
     if (!pValues)
     {
-        // The somewhat nasty case of either an error occured, or the
+        // The somewhat nasty case of either an error occurred, or the
         // dereferenced value of a single cell reference or an immediate result
         // is stored as a single value.
 

Modified: openoffice/trunk/main/sc/source/core/tool/chgtrack.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/tool/chgtrack.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/tool/chgtrack.cxx (original)
+++ openoffice/trunk/main/sc/source/core/tool/chgtrack.cxx Tue Apr 29 19:25:03 2014
@@ -934,7 +934,7 @@ ScChangeActionDel::ScChangeActionDel( co
 
 ScChangeActionDel::ScChangeActionDel(const sal_uLong nActionNumber, const ScChangeActionState eStateP, const sal_uLong nRejectingNumber,
                                     const ScBigRange& aBigRangeP, const String& aUserP, const DateTime& aDateTimeP, const String &sComment,
-                                    const ScChangeActionType eTypeP, const SCsCOLROW nD, ScChangeTrack* pTrackP) // wich of nDx and nDy is set is depend on the type
+                                    const ScChangeActionType eTypeP, const SCsCOLROW nD, ScChangeTrack* pTrackP) // which of nDx and nDy is set is depend on the type
 		:
         ScChangeAction(eTypeP, aBigRangeP, nActionNumber, nRejectingNumber, eStateP, aDateTimeP, aUserP, sComment),
 		pTrack( pTrackP ),
@@ -1262,7 +1262,7 @@ void ScChangeActionDel::UndoCutOffInsert
 
 ScChangeActionMove::ScChangeActionMove(const sal_uLong nActionNumber, const ScChangeActionState eStateP, const sal_uLong nRejectingNumber,
                                     const ScBigRange& aToBigRange, const String& aUserP, const DateTime& aDateTimeP, const String &sComment,
-									const ScBigRange& aFromBigRange, ScChangeTrack* pTrackP) // wich of nDx and nDy is set is depend on the type
+									const ScBigRange& aFromBigRange, ScChangeTrack* pTrackP) // which of nDx and nDy is set is depend on the type
 		:
         ScChangeAction(SC_CAT_MOVE, aToBigRange, nActionNumber, nRejectingNumber, eStateP, aDateTimeP, aUserP, sComment),
 		aFromRange(aFromBigRange),

Modified: openoffice/trunk/main/sc/source/core/tool/compiler.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/tool/compiler.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/tool/compiler.cxx (original)
+++ openoffice/trunk/main/sc/source/core/tool/compiler.cxx Tue Apr 29 19:25:03 2014
@@ -1235,7 +1235,7 @@ struct ConventionXL
 
             if( bStartHasDoc )
             {
-                // A ref across multipled workbooks ?
+                // A ref across multiplied workbooks ?
                 if( !bEndHasDoc )
                     return;
 

Modified: openoffice/trunk/main/sc/source/core/tool/interpr1.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/tool/interpr1.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/tool/interpr1.cxx (original)
+++ openoffice/trunk/main/sc/source/core/tool/interpr1.cxx Tue Apr 29 19:25:03 2014
@@ -6592,7 +6592,7 @@ void ScInterpreter::ScDBCount()
             // existing cells, so if a query matches an empty cell there's
             // nothing returned, and therefor not counted!
             // Since this has ever been the case and this code here only came
-            // into existance to fix #i6899 and it never worked before we'll
+            // into existence to fix #i6899 and it never worked before we'll
             // have to live with it until we reimplement the iterators to also
             // return empty cells, which would mean to adapt all callers of
             // iterators.

Modified: openoffice/trunk/main/sc/source/core/tool/interpr2.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/tool/interpr2.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/tool/interpr2.cxx (original)
+++ openoffice/trunk/main/sc/source/core/tool/interpr2.cxx Tue Apr 29 19:25:03 2014
@@ -325,7 +325,7 @@ void ScInterpreter::ScGetDiffDate360()
      * 30" or "NASD 30" method (funny enough they also state that Excel is the
      * only tool that does so).
      *
-     * Note that the definiton given in
+     * Note that the definition given in
      * http://msdn.microsoft.com/library/en-us/office97/html/SEB7C.asp
      * is _not_ the way how it is actually calculated by Excel (that would not
      * even match any of the 7 methods mentioned above) and would result in the

Modified: openoffice/trunk/main/sc/source/core/tool/interpr5.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/core/tool/interpr5.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/core/tool/interpr5.cxx (original)
+++ openoffice/trunk/main/sc/source/core/tool/interpr5.cxx Tue Apr 29 19:25:03 2014
@@ -667,7 +667,7 @@ void ScInterpreter::MEMat(ScMatrix* mM, 
  * permutations (row exchanges).
  *
  * Returns 0 if a singular matrix is encountered, else +1 if an even number of
- * permutations occured, or -1 if odd, which is the sign of the determinant.
+ * permutations occurred, or -1 if odd, which is the sign of the determinant.
  * This may be used to calculate the determinant by multiplying the sign with
  * the product of the diagonal elements of the LU matrix.
  */
@@ -1936,10 +1936,10 @@ double lcl_TGetColumnSumProduct( ScMatri
     return fResult;
 }
 
-// #118029# no mathematical signum, but used to switch between adding and subtracting
+// #118029# no mathematical signum, but used to switch between adding and subtracting
 double lcl_GetSign(double fValue)
 {
-    return (fValue >= 0.0 ? 1.0 : -1.0 );
+    return (fValue >= 0.0 ? 1.0 : -1.0 );
 }
 
 /* Calculates a QR decomposition with Householder reflection.

Modified: openoffice/trunk/main/sc/source/filter/excel/ooxml-export-TODO.txt
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/ooxml-export-TODO.txt?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/ooxml-export-TODO.txt (original)
+++ openoffice/trunk/main/sc/source/filter/excel/ooxml-export-TODO.txt Tue Apr 29 19:25:03 2014
@@ -147,7 +147,7 @@ Elements:
     - Comments (§3.7):
         - Note: Excel *requires* that there be a drawing object associated
           with the comment before it will show it.  If you _just_ generate the
-          <comments/> XML part and create a <Relationship/> for it, Excell
+          <comments/> XML part and create a <Relationship/> for it, Excel
           will NOT display the comment.
         - As drawing is not currently implemented, comments support is
           incomplete.

Modified: openoffice/trunk/main/sc/source/filter/excel/xeformula.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/xeformula.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/xeformula.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/excel/xeformula.cxx Tue Apr 29 19:25:03 2014
@@ -708,7 +708,7 @@ void XclExpFmlaCompImpl::RecalcTokenClas
                 case EXC_PARAMCONV_RPX:
                     /*  If parent token has REF class (REF token in REFTYPE
                         function parameter), then RPX repeats the previous
-                        effective conversion (wich will be either ORG or ARR,
+                        effective conversion (which will be either ORG or ARR,
                         but never VAL), otherwise falls back to ORG conversion. */
                     eClassConv = bWasRefClass ? ePrevClassConv : EXC_CLASSCONV_ORG;
                 break;

Modified: openoffice/trunk/main/sc/source/filter/excel/xepivot.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/xepivot.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/xepivot.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/excel/xepivot.cxx Tue Apr 29 19:25:03 2014
@@ -72,7 +72,7 @@ using ::rtl::OUStringBuffer;
 
 namespace {
 
-// constants to track occurence of specific data types
+// constants to track occurrence of specific data types
 const sal_uInt16 EXC_PCITEM_DATA_STRING     = 0x0001;   /// String, empty, boolean, error.
 const sal_uInt16 EXC_PCITEM_DATA_DOUBLE     = 0x0002;   /// Double with fraction.
 const sal_uInt16 EXC_PCITEM_DATA_INTEGER    = 0x0004;   /// Integer, double without fraction.

Modified: openoffice/trunk/main/sc/source/filter/excel/xestyle.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/xestyle.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/xestyle.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/excel/xestyle.cxx Tue Apr 29 19:25:03 2014
@@ -524,7 +524,7 @@ XclListColor* XclExpPaletteImpl::SearchL
     rnIndex = mnLastIdx;
     XclListColor* pEntry = mxColorList->GetObject( rnIndex );
 
-    // search optimization for equal-colored objects occuring repeatedly
+    // search optimization for equal-colored objects occurring repeatedly
     if( pEntry && (pEntry->GetColor() == rColor) )
         return pEntry;
 

Modified: openoffice/trunk/main/sc/source/filter/excel/xichart.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/xichart.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/xichart.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/excel/xichart.cxx Tue Apr 29 19:25:03 2014
@@ -3786,7 +3786,7 @@ void XclImpChChart::ReadChDataFormat( Xc
     {
         XclImpChDataFormatRef& rxMapFmt = maDataFmts[ xDataFmt->GetPointPos() ];
         /*  Do not overwrite existing data format group, Excel always uses the
-            first data format group occuring in any CHSERIES group. */
+            first data format group occurring in any CHSERIES group. */
         if( !rxMapFmt )
             rxMapFmt = xDataFmt;
     }

Modified: openoffice/trunk/main/sc/source/filter/excel/xipivot.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/xipivot.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/xipivot.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/excel/xipivot.cxx Tue Apr 29 19:25:03 2014
@@ -1321,7 +1321,7 @@ void XclImpPivotTable::ReadSxdi( XclImpS
     if( XclImpPTField* pField = GetFieldAcc( aDataInfo.mnField ) )
     {
         maOrigDataFields.push_back( aDataInfo.mnField );
-        // DataPilot does not support double data fields -> add first appearence to index list only
+        // DataPilot does not support double data fields -> add first appearance to index list only
         if( !pField->HasDataFieldInfo() )
             maFiltDataFields.push_back( aDataInfo.mnField );
         pField->AddDataFieldInfo( aDataInfo );

Modified: openoffice/trunk/main/sc/source/filter/excel/xlpivot.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/excel/xlpivot.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/excel/xlpivot.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/excel/xlpivot.cxx Tue Apr 29 19:25:03 2014
@@ -1027,7 +1027,7 @@ void XclPTViewEx9Info::Init( const ScDPO
     else
     {
         // Report1 for now
-        // TODO : sync with autoformat indicies
+        // TODO : sync with autoformat indices
         mbReport     = 2;
         mnAutoFormat = 1;
         mnGridLayout = 0x10;

Modified: openoffice/trunk/main/sc/source/filter/inc/fapihelper.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/inc/fapihelper.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/inc/fapihelper.hxx (original)
+++ openoffice/trunk/main/sc/source/filter/inc/fapihelper.hxx Tue Apr 29 19:25:03 2014
@@ -185,7 +185,7 @@ public:
                             { UnoAny aAny; return GetAnyProperty( aAny, rPropName ) && (aAny >>= rValue); }
 
     /** Gets the specified Boolean property from the property set.
-        @return  true = property contains true; false = property contains false or error occured. */
+        @return  true = property contains true; false = property contains false or error occurred. */
     bool                GetBoolProperty( const ::rtl::OUString& rPropName ) const;
 
     /** Gets the specified Boolean property from the property set.

Modified: openoffice/trunk/main/sc/source/filter/inc/xehelper.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/inc/xehelper.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/inc/xehelper.hxx (original)
+++ openoffice/trunk/main/sc/source/filter/inc/xehelper.hxx Tue Apr 29 19:25:03 2014
@@ -186,7 +186,7 @@ class XclExpHyperlink;
 /** Helper to create HLINK records during creation of formatted cell strings.
 
     In Excel it is not possible to have more than one hyperlink in a cell. This
-    helper detects multiple occurences of hyperlinks and fills a string which
+    helper detects multiple occurrences of hyperlinks and fills a string which
     is used to create a cell note containing all URLs. Only cells containing
     one hyperlink are exported as hyperlink cells.
  */

Modified: openoffice/trunk/main/sc/source/filter/inc/xestream.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/inc/xestream.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/inc/xestream.hxx (original)
+++ openoffice/trunk/main/sc/source/filter/inc/xestream.hxx Tue Apr 29 19:25:03 2014
@@ -93,7 +93,7 @@ public:
 
     /** Starts a new record: writes header data, stores calculated record size. */
     void                StartRecord( sal_uInt16 nRecId, sal_Size nRecSize );
-    /** Checks and corrects real record length. Must be called everytime a record is finished. */
+    /** Checks and corrects real record length. Must be called every time a record is finished. */
     void                EndRecord();
 
     /** Returns the position inside of current record (starts by 0 in every CONTINUE). */

Modified: openoffice/trunk/main/sc/source/filter/inc/xistream.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/inc/xistream.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/inc/xistream.hxx (original)
+++ openoffice/trunk/main/sc/source/filter/inc/xistream.hxx Tue Apr 29 19:25:03 2014
@@ -461,9 +461,9 @@ private:
 
     /** Initializes the decrypter to read a new record. */
     void                SetupDecrypter();
-    /** Initializes all members after base stream has been seeked to new raw record. */
+    /** Initializes all members after base stream has been sought to new raw record. */
     void                SetupRawRecord();
-    /** Initializes all members after base stream has been seeked to new record. */
+    /** Initializes all members after base stream has been sought to new record. */
     void                SetupRecord();
 
     /** Returns true, if the passed ID is real or alternative continuation record ID. */

Modified: openoffice/trunk/main/sc/source/filter/inc/xistyle.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/inc/xistyle.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/inc/xistyle.hxx (original)
+++ openoffice/trunk/main/sc/source/filter/inc/xistyle.hxx Tue Apr 29 19:25:03 2014
@@ -210,7 +210,7 @@ private:
 
 // FORMAT record - number formats =============================================
 
-/** Stores all user defined number formats occured in the file. */
+/** Stores all user defined number formats occurred in the file. */
 class XclImpNumFmtBuffer : public XclNumFmtBuffer, protected XclImpRoot
 {
 public:
@@ -485,7 +485,7 @@ private:
 
 // ----------------------------------------------------------------------------
 
-/** Contains all XF records occured in the file.
+/** Contains all XF records occurred in the file.
     @descr  This class is able to read XF records (BIFF2 - BIFF8) and STYLE records (BIFF8). */
 class XclImpXFBuffer : protected XclImpRoot, ScfNoCopy
 {

Modified: openoffice/trunk/main/sc/source/filter/xml/xmlimprt.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/xml/xmlimprt.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/xml/xmlimprt.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/xml/xmlimprt.cxx Tue Apr 29 19:25:03 2014
@@ -2054,7 +2054,7 @@ void ScXMLImport::ExamineDefaultStyle()
             const SvNumberformat* pFormat = pFormatter->GetEntry(nKey);
             if ( pFormat && pFormat->IsStandard() )
             {
-                // The standard format is all-latin if the decimal separator dosen't
+                // The standard format is all-latin if the decimal separator doesn't
                 // have a different script type
 
                 String aDecSep;

Modified: openoffice/trunk/main/sc/source/filter/xml/xmlsubti.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/filter/xml/xmlsubti.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/filter/xml/xmlsubti.cxx (original)
+++ openoffice/trunk/main/sc/source/filter/xml/xmlsubti.cxx Tue Apr 29 19:25:03 2014
@@ -787,7 +787,7 @@ sal_Bool ScMyTables::IsPartOfMatrix(sal_
         {
             if (nCurrentSheet > aItr->aRange.Sheet)
             {
-                DBG_ERROR("should never hapen, because the list should be cleared in DeleteTable");
+                DBG_ERROR("should never happen, because the list should be cleared in DeleteTable");
                 aItr = aMatrixRangeList.erase(aItr);
             }
             else if ((nRow > aItr->aRange.EndRow) && (nColumn > aItr->aRange.EndColumn))

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleCell.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleCell.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleCell.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleCell.cxx Tue Apr 29 19:25:03 2014
@@ -88,7 +88,7 @@ ScAccessibleCell::~ScAccessibleCell()
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleContextBase.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleContextBase.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleContextBase.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleContextBase.cxx Tue Apr 29 19:25:03 2014
@@ -76,7 +76,7 @@ ScAccessibleContextBase::~ScAccessibleCo
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx Tue Apr 29 19:25:03 2014
@@ -184,7 +184,7 @@ ScAccessibleDataPilotControl::~ScAccessi
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }
@@ -542,7 +542,7 @@ ScAccessibleDataPilotButton::ScAccessibl
         ::com::sun::star::accessibility::XAccessible>& rxParent,
         ScPivotFieldWindow* pFieldWindow,
         sal_Int32 nIndex)
-//change role frome PUSH_BUTTON to BUTTON_MENU
+//change role from PUSH_BUTTON to BUTTON_MENU
     : ScAccessibleContextBase(rxParent, AccessibleRole::BUTTON_MENU),
     mpFieldWindow(pFieldWindow),
     mnIndex(nIndex)
@@ -555,7 +555,7 @@ ScAccessibleDataPilotButton::~ScAccessib
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocument.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocument.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocument.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocument.cxx Tue Apr 29 19:25:03 2014
@@ -960,7 +960,7 @@ sal_Bool ScChildrenShapes::FindSelectedS
     SortedShapes::const_iterator aFocusedItr = aDataEndItr;
     while((aDataItr != aDataEndItr))
     {
-        if (*aDataItr) // is it realy a shape or only the sheet
+        if (*aDataItr) // is it really a shape or only the sheet
         {
             sal_Int8 nComp(0);
             if (aXShapesItr == aXShapesEndItr)

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx Tue Apr 29 19:25:03 2014
@@ -1442,7 +1442,7 @@ ScAccessibleDocumentPagePreview::ScAcces
 	if (pViewShell)
 		pViewShell->AddAccessibilityObject(*this);
 
-//    GetNotesChilds(); not neccessary and reduces the creation performance
+//    GetNotesChilds(); not necessary and reduces the creation performance
 //    GetShapeChilds();
 }
 
@@ -1452,7 +1452,7 @@ ScAccessibleDocumentPagePreview::~ScAcce
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleEditObject.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleEditObject.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleEditObject.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessibleEditObject.cxx Tue Apr 29 19:25:03 2014
@@ -102,7 +102,7 @@ ScAccessibleEditObject::~ScAccessibleEdi
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }

Modified: openoffice/trunk/main/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/Accessibility/AccessiblePreviewCell.cxx Tue Apr 29 19:25:03 2014
@@ -65,7 +65,7 @@ ScAccessiblePreviewCell::~ScAccessiblePr
 	{
 		// increment refcount to prevent double call off dtor
 		osl_incrementInterlockedCount( &m_refCount );
-		// call dispose to inform object wich have a weak reference to this object
+		// call dispose to inform object which have a weak reference to this object
 		dispose();
 	}
 }

Modified: openoffice/trunk/main/sc/source/ui/app/inputwin.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/app/inputwin.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/app/inputwin.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/app/inputwin.cxx Tue Apr 29 19:25:03 2014
@@ -1759,7 +1759,7 @@ void ScPosWnd::DoEnter()
                 }
                 else
                 {
-                    // for all selection types, excecute the SID_CURRENTCELL slot
+                    // for all selection types, execute the SID_CURRENTCELL slot
 
                     SfxStringItem aPosItem( SID_CURRENTCELL, aText );
                     SfxBoolItem aUnmarkItem( FN_PARAM_1, sal_True );        // remove existing selection

Modified: openoffice/trunk/main/sc/source/ui/app/scmod.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/app/scmod.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/app/scmod.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/app/scmod.cxx Tue Apr 29 19:25:03 2014
@@ -1847,7 +1847,7 @@ IMPL_LINK( ScModule, IdleHandler, Timer*
 
         bMore = bLinks || bWidth || bSpell;			// ueberhaupt noch was?
 
-        //	While calculating a Basic formula, a paint event may have occured,
+        //	While calculating a Basic formula, a paint event may have occurred,
         //	so check the bNeedsRepaint flags for this document's views
         if (bWidth)
             lcl_CheckNeedsRepaint( pDocSh );

Modified: openoffice/trunk/main/sc/source/ui/docshell/docfunc.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/docshell/docfunc.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/docshell/docfunc.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/docshell/docfunc.cxx Tue Apr 29 19:25:03 2014
@@ -800,7 +800,7 @@ sal_Bool ScDocFunc::PutCell( const ScAdd
 	sal_Bool bUndo (pDoc->IsUndoEnabled());
     sal_Bool bXMLLoading(pDoc->IsImportingXML());
 
-    // #i925#; it is not neccessary to test whether the cell is editable on loading a XML document
+    // #i925#; it is not necessary to test whether the cell is editable on loading a XML document
     if (!bXMLLoading)
     {
 	    ScEditableTester aTester( pDoc, rPos.Tab(), rPos.Col(),rPos.Row(), rPos.Col(),rPos.Row() );
@@ -839,7 +839,7 @@ sal_Bool ScDocFunc::PutCell( const ScAdd
 
     aModificator.SetDocumentModified();
 
-    // #i925#; it is not neccessary to notify on loading a XML document
+    // #i925#; it is not necessary to notify on loading a XML document
     // #103934#; notify editline and cell in edit mode
     if (bApi && !bXMLLoading)
         NotifyInputHandler( rPos );
@@ -1229,7 +1229,7 @@ sal_Bool ScDocFunc::ApplyAttributes( con
 					pUndoDoc, bMulti, &rPattern ) );
 	}
 
-	// While loading XML it is not neccessary to ask HasAttrib. It needs too much time.
+	// While loading XML it is not necessary to ask HasAttrib. It needs too much time.
 	sal_uInt16 nExtFlags = 0;
 	if ( !bImportingXML )
 		rDocShell.UpdatePaintExt( nExtFlags, aMultiRange );		// content before the change

Modified: openoffice/trunk/main/sc/source/ui/docshell/docsh8.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/docshell/docsh8.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/docshell/docsh8.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/docshell/docsh8.cxx Tue Apr 29 19:25:03 2014
@@ -612,7 +612,7 @@ void lcl_GetColumnTypes( ScDocShell& rDo
 			if ( nPrecision && nFieldLen < nPrecision + 2 )
 				nFieldLen = nPrecision + 2;		// 0. muss mit reinpassen
 			// 538 MUST: Sdb internal representation adds 2 to the field length!
-			// To give the user what he wants we must substract it here.
+			// To give the user what he wants we must subtract it here.
  			//! CAVEAT! There is no way to define a numeric field with a length
  			//! of 1 and no decimals!
 			if ( nFieldLen == 1 && nPrecision == 0 )

Modified: openoffice/trunk/main/sc/source/ui/drawfunc/fupoor.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/drawfunc/fupoor.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/drawfunc/fupoor.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/drawfunc/fupoor.cxx Tue Apr 29 19:25:03 2014
@@ -166,7 +166,7 @@ IMPL_LINK_INLINE_START( FuPoor, ScrollHd
 	Point aPosPixel = pWindow->GetPointerPosPixel();
 	
 	// #95491# use remembered MouseButton state to create correct
-	// MouseEvents for this artifical MouseMove.
+	// MouseEvents for this artificial MouseMove.
 	MouseMove(MouseEvent(aPosPixel, 1, 0, GetMouseButtonCode()));
 
 	return 0;

Modified: openoffice/trunk/main/sc/source/ui/miscdlgs/linkarea.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/miscdlgs/linkarea.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/miscdlgs/linkarea.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/miscdlgs/linkarea.cxx Tue Apr 29 19:25:03 2014
@@ -130,7 +130,7 @@ IMPL_LINK( ScLinkedAreaDlg, FileHdl, Com
 	String aFilter;
 	String aOptions;
 	//	get filter name by looking at the file content (bWithContent = sal_True)
-    // Break operation if any error occured inside.
+    // Break operation if any error occurred inside.
     if (!ScDocumentLoader::GetFilterName( aEntered, aFilter, aOptions, sal_True, sal_True ))
         return 0;
 

Modified: openoffice/trunk/main/sc/source/ui/unoobj/chart2uno.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/unoobj/chart2uno.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/unoobj/chart2uno.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/unoobj/chart2uno.cxx Tue Apr 29 19:25:03 2014
@@ -1496,7 +1496,7 @@ ScChart2DataProvider::createDataSource(
             pLabelTokens.reset(pChartMap->getLeftUpperCornerRanges());
 
         Reference< chart2::data::XLabeledDataSequence > xCategories = lcl_createLabeledDataSequenceFromTokens(
-            pValueTokens, pLabelTokens, m_pDocument, this, m_bIncludeHiddenCells ); //ownership of pointers is transfered!
+            pValueTokens, pLabelTokens, m_pDocument, this, m_bIncludeHiddenCells ); //ownership of pointers is transferred!
         if ( xCategories.is() )
         {
             aSeqs.push_back( xCategories );
@@ -1520,7 +1520,7 @@ ScChart2DataProvider::createDataSource(
             pLabelTokens.reset(pChartMap->getRowHeaderRanges(static_cast<SCROW>(i)));
         }
         Reference< chart2::data::XLabeledDataSequence > xChartSeries = lcl_createLabeledDataSequenceFromTokens(
-            pValueTokens, pLabelTokens, m_pDocument, this, m_bIncludeHiddenCells ); //ownership of pointers is transfered!
+            pValueTokens, pLabelTokens, m_pDocument, this, m_bIncludeHiddenCells ); //ownership of pointers is transferred!
         if ( xChartSeries.is() )
         {
             aSeqs.push_back( xChartSeries );

Modified: openoffice/trunk/main/sc/source/ui/unoobj/dapiuno.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/unoobj/dapiuno.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/unoobj/dapiuno.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/unoobj/dapiuno.cxx Tue Apr 29 19:25:03 2014
@@ -2113,7 +2113,7 @@ void ScDataPilotFieldObj::setOrientation
                     if ( pOneDim->GetOrientation() == DataPilotFieldOrientation_HIDDEN )
                         pNewDim = pOneDim;      // use this one
                     else
-                        ++nFound;               // count existing non-hidden occurences
+                        ++nFound;               // count existing non-hidden occurrences
                 }
             }
 
@@ -2968,7 +2968,7 @@ void SAL_CALL ScDataPilotFieldGroupsObj:
     if( !lclExtractGroupMembers( aMembers, rElement ) )
         throw IllegalArgumentException();
 
-    // create the new entry if no error has been occured
+    // create the new entry if no error has been occurred
     maGroups.resize( maGroups.size() + 1 );
     ScFieldGroup& rGroup = maGroups.back();
     rGroup.maName = rName;

Modified: openoffice/trunk/main/sc/source/ui/unoobj/dispuno.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/unoobj/dispuno.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/unoobj/dispuno.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/unoobj/dispuno.cxx Tue Apr 29 19:25:03 2014
@@ -83,7 +83,7 @@ ScDispatchProviderInterceptor::ScDispatc
 			m_xIntercepted->registerDispatchProviderInterceptor(
 						static_cast<frame::XDispatchProviderInterceptor*>(this));
 			// this should make us the top-level dispatch-provider for the component, via a call to our
-			// setDispatchProvider we should have got an fallback for requests we (i.e. our master) cannot fullfill
+			// setDispatchProvider we should have got an fallback for requests we (i.e. our master) cannot fulfill
 			uno::Reference<lang::XComponent> xInterceptedComponent(m_xIntercepted, uno::UNO_QUERY);
 			if (xInterceptedComponent.is())
 				xInterceptedComponent->addEventListener(static_cast<lang::XEventListener*>(this));

Modified: openoffice/trunk/main/sc/source/ui/unoobj/docuno.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/unoobj/docuno.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/unoobj/docuno.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/unoobj/docuno.cxx Tue Apr 29 19:25:03 2014
@@ -1918,7 +1918,7 @@ uno::Any SAL_CALL ScModelObj::getPropert
         {
             /*  #i111553# This property provides the name of the constant that
                 will be used to store this model in the global Basic manager.
-                That constant will be equivelant to 'ThisComponent' but for
+                That constant will be equivalent to 'ThisComponent' but for
                 each application, so e.g. a 'ThisExcelDoc' and a 'ThisWordDoc'
                 constant can co-exist, as required by VBA. */
             aRet <<= rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ThisExcelDoc" ) );
@@ -2004,7 +2004,7 @@ uno::Reference<uno::XInterface> SAL_CALL
             ! ( nType == SC_SERVICE_CHDATAPROV &&
                 ( pDocShell->GetCreateMode() == SFX_CREATE_MODE_INTERNAL ));
         // this should never happen, i.e. the temporary document should never be
-        // loaded, becuase this unlinks the data
+        // loaded, because this unlinks the data
         OSL_ASSERT( bCreate );
 
 		if ( !xRet.is() && bCreate )

Modified: openoffice/trunk/main/sc/source/ui/unoobj/nameuno.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/unoobj/nameuno.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/unoobj/nameuno.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/unoobj/nameuno.cxx Tue Apr 29 19:25:03 2014
@@ -239,7 +239,7 @@ void SAL_CALL ScNamedRangeObj::setName( 
     // GRAM_PODF_A1 for API compatibility.
 	Modify_Impl( &aNewStr, NULL, NULL, NULL, NULL,formula::FormulaGrammar::GRAM_PODF_A1 );
 
-	if ( aName != aNewStr )					// some error occured...
+	if ( aName != aNewStr )					// some error occurred...
 		throw uno::RuntimeException();		// no other exceptions specified
 }
 rtl::OUString SAL_CALL ScNamedRangeObj::getScopeName() throw(uno::RuntimeException)
@@ -259,7 +259,7 @@ void SAL_CALL ScNamedRangeObj::setScopeA
     // GRAM_PODF_A1 for API compatibility.
 	Modify_Impl( &aNewRangeStr, NULL, NULL, NULL, NULL,formula::FormulaGrammar::GRAM_PODF_A1,  aNewScopeName.getLength() == 0 ? NULL : &aNewScopeStr);
 
-	if ( aScopeName != aNewScopeStr || aName != aNewRangeStr  )					// some error occured...
+	if ( aScopeName != aNewScopeStr || aName != aNewRangeStr  )					// some error occurred...
 		throw uno::RuntimeException();		// no other exceptions specified
 }
 

Modified: openoffice/trunk/main/sc/source/ui/vba/vbacharacters.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbacharacters.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbacharacters.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbacharacters.hxx Tue Apr 29 19:25:03 2014
@@ -41,7 +41,7 @@ private:
 	ScVbaPalette m_aPalette;
 	sal_Int16 nLength;
 	sal_Int16 nStart;
-    // Add becuase of MSO has diferent behavior.
+    // Add because of MSO has different behavior.
     sal_Bool bReplace;
 public:
 	ScVbaCharacters( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,  const ScVbaPalette& dPalette, const css::uno::Reference< css::text::XSimpleText >& xRange, const css::uno::Any& Start, const css::uno::Any& Length, sal_Bool bReplace = sal_False  ) throw ( css::lang::IllegalArgumentException );

Modified: openoffice/trunk/main/sc/source/ui/vba/vbachartobject.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbachartobject.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbachartobject.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbachartobject.cxx Tue Apr 29 19:25:03 2014
@@ -113,7 +113,7 @@ ScVbaChartObject::Activate() throw ( scr
 {
 	try
 	{
-		// #TODO #FIXME should be ThisWorkbook or equivelant, or in
+		// #TODO #FIXME should be ThisWorkbook or equivalent, or in
 		// fact probably the chart object should be created with 
 		// the XModel owner
 		//uno::Reference< view::XSelectionSupplier > xSelectionSupplier( getXModel().getCurrentController());

Modified: openoffice/trunk/main/sc/source/ui/vba/vbaformatconditions.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbaformatconditions.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbaformatconditions.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbaformatconditions.cxx Tue Apr 29 19:25:03 2014
@@ -136,7 +136,7 @@ ScVbaFormatConditions::Add( ::sal_Int32 
 	// #TODO
 	// #FIXME 
 	// This method will NOT handle r1c1 formulas [*]and only assumes that
-	// the formulas are _xlA1 based ( need to hook into calc work ths should
+	// the formulas are _xlA1 based ( need to hook into calc work this should
 	// address this )
 	// [*] reason: getA1Formula method below is just a hook and just 
 	// returns whats it gets ( e.g. doesn't convert anything )

Modified: openoffice/trunk/main/sc/source/ui/vba/vbarange.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbarange.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbarange.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbarange.cxx Tue Apr 29 19:25:03 2014
@@ -618,7 +618,7 @@ typedef ::std::vector< CellPos > vCellPo
 
 // #FIXME - QUICK
 // we could probably could and should modify CellsEnumeration below
-// to handle rows and columns ( but I do this seperately for now
+// to handle rows and columns ( but I do this separately for now
 // and.. this class only handles singe areas ( does it have to handle
 // multi area ranges?? )
 class ColumnsRowEnumeration: public CellsEnumeration_BASE
@@ -1174,7 +1174,7 @@ bool getScRangeListForAddress( const rtl
 	uno::Reference< beans::XPropertySet > xProps( pDocSh->GetModel(), uno::UNO_QUERY_THROW );
 	uno::Reference< container::XNameAccess > xNameAccess( xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("NamedRanges") ) ), uno::UNO_QUERY_THROW );
 	// Strangly enough you can have Range( "namedRange1, namedRange2, etc," )	
-	// loop around each ',' seperated name
+	// loop around each ',' separated name
 	std::vector< rtl::OUString > vNames;
 	sal_Int32 nIndex = 0;
 	do 
@@ -2151,7 +2151,7 @@ ScVbaRange::CellsHelper( const uno::Refe
 	// Sometimes we might get a float or a double or whatever
 	// set in the Any, we should convert as appropriate
 	// #FIXME - perhaps worth turning this into some sort of
-	// convertion routine e.g. bSuccess = getValueFromAny( nRow, nRowIndex, getCppuType((sal_Int32*)0) )
+	// conversion routine e.g. bSuccess = getValueFromAny( nRow, nRowIndex, getCppuType((sal_Int32*)0) )
 	if ( nRowIndex.hasValue() && !( nRowIndex >>= nRow ) )
 	{
 		uno::Reference< script::XTypeConverter > xConverter = getTypeConverter( xContext );
@@ -4132,7 +4132,7 @@ ScVbaRange::getWorksheet() throw (uno::R
 uno::Reference< excel::XRange >
 ScVbaRange::ApplicationRange( const uno::Reference< uno::XComponentContext >& xContext, const css::uno::Any &Cell1, const css::uno::Any &Cell2 ) throw (css::uno::RuntimeException)
 {
-	// Althought the documentation seems clear that Range without a 
+	// Although the documentation seems clear that Range without a 
 	// qualifier then its a shortcut for ActiveSheet.Range
 	// however, similarly Application.Range is apparently also a 
 	// shortcut for ActiveSheet.Range

Modified: openoffice/trunk/main/sc/source/ui/vba/vbarange.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbarange.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbarange.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbarange.hxx Tue Apr 29 19:25:03 2014
@@ -293,7 +293,7 @@ public:
 // #TODO completely rewrite ScVbaRange, its become a hackfest
 // it needs to be closer to ScCellRangeBase in that the underlying
 // object model should probably be a ScRangelst. 
-//     * would be nice to be able to construct a range from an addres only
+//     * would be nice to be able to construct a range from an address only
 //     * or a list of address ( multi-area )
 //     * object should be a lightweight as possible
 //     * we shouldn't need hacks like this below

Modified: openoffice/trunk/main/sc/source/ui/vba/vbawindow.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbawindow.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbawindow.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbawindow.cxx Tue Apr 29 19:25:03 2014
@@ -338,7 +338,7 @@ ScVbaWindow::getCaption() throw (uno::Ru
 				static rtl::OUString sDot( RTL_CONSTASCII_USTRINGPARAM(".") );
 				// starts with title
 				if ( sName.indexOf( sTitle ) == 0 )
-					// extention starts immediately after
+					// extension starts immediately after
 					if ( sName.match( sDot, sTitle.getLength() ) )
 						sTitle = sName;
 			}

Modified: openoffice/trunk/main/sc/source/ui/vba/vbaworksheet.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbaworksheet.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbaworksheet.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbaworksheet.cxx Tue Apr 29 19:25:03 2014
@@ -600,7 +600,7 @@ ScVbaWorksheet::getPrevious() throw (uno
 void
 ScVbaWorksheet::Protect( const uno::Any& Password, const uno::Any& /*DrawingObjects*/, const uno::Any& /*Contents*/, const uno::Any& /*Scenarios*/, const uno::Any& /*UserInterfaceOnly*/ ) throw (uno::RuntimeException)
 {
-	// #TODO# #FIXME# is there anything we can do witht the unused param
+	// #TODO# #FIXME# is there anything we can do with the unused param
 	// can the implementation use anything else here
 	uno::Reference<util::XProtectable > xProtectable(getSheet(), uno::UNO_QUERY_THROW);
 	::rtl::OUString aPasswd;

Modified: openoffice/trunk/main/scaddins/source/analysis/analysis.src
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scaddins/source/analysis/analysis.src?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/scaddins/source/analysis/analysis.src (original)
+++ openoffice/trunk/main/scaddins/source/analysis/analysis.src Tue Apr 29 19:25:03 2014
@@ -981,7 +981,7 @@ Resource RID_ANALYSIS_FUNCTION_DESCRIPTI
 
 		String 5 // description of parameter 2	GeStep
 		{
-			Text [ en-US ] = "The threshhold value";
+			Text [ en-US ] = "The threshold value";
 		};
 	};
 

Modified: openoffice/trunk/main/scaddins/source/analysis/analysishelper.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scaddins/source/analysis/analysishelper.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/scaddins/source/analysis/analysishelper.cxx (original)
+++ openoffice/trunk/main/scaddins/source/analysis/analysishelper.cxx Tue Apr 29 19:25:03 2014
@@ -2650,7 +2650,7 @@ ConvertDataList::ConvertDataList( void )
     NEWDP( "T",     1.0000000000000000E00,  CDC_Magnetism ); // Tesla
     NEWDP( "ga",    1.0000000000000000E04,  CDC_Magnetism ); // Gauss
 
-    // TEMERATURE: 1 Kelvin is...
+    // TEMPERATURE: 1 Kelvin is...
     NEWL( "C",      1.0000000000000000E00,  -2.7315000000000000E02, CDC_Temperature ); // Celsius
     NEWL( "cel",    1.0000000000000000E00,  -2.7315000000000000E02, CDC_Temperature ); // Celsius also
     NEWL( "F",      1.8000000000000000E00,  -2.5537222222222222E02, CDC_Temperature ); // Fahrenheit
@@ -2660,7 +2660,7 @@ ConvertDataList::ConvertDataList( void )
     NEWL( "Reau",   8.0000000000000000E-01, -2.7315000000000000E02, CDC_Temperature ); // *** Reaumur
     NEWL( "Rank",   1.8000000000000000E00,  +0.0000000000000000E00, CDC_Temperature ); // *** Rankine
 
-    // VOLUMNE: 1 Liter is...
+    // VOLUME: 1 Liter is...
     NEWD( "tsp",        2.0284000000000000E02,  CDC_Volume ); // Teaspoon
     NEWD( "tbs",        6.7613333333333333E01,  CDC_Volume ); // Tablespoon
     NEWD( "oz",         3.3806666666666667E01,  CDC_Volume ); // Ounce Liquid

Modified: openoffice/trunk/main/scaddins/source/analysis/analysishelper.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scaddins/source/analysis/analysishelper.hxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/scaddins/source/analysis/analysishelper.hxx (original)
+++ openoffice/trunk/main/scaddins/source/analysis/analysishelper.hxx Tue Apr 29 19:25:03 2014
@@ -230,7 +230,7 @@ private:
     ::rtl::OUString         aIntName;
 	sal_uInt16				nUINameID;
 	sal_uInt16				nDescrID;			// leads also to parameter descriptions!
-	sal_Bool				bDouble;			// flag for names, wich already exist in Calc
+	sal_Bool				bDouble;			// flag for names, which already exists in Calc
 	sal_Bool				bWithOpt;			// has internal parameter on first position
 
 	sal_uInt16				nParam;				// num of parameters

Modified: openoffice/trunk/main/scaddins/source/datefunc/datefunc.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/scaddins/source/datefunc/datefunc.cxx?rev=1591062&r1=1591061&r2=1591062&view=diff
==============================================================================
--- openoffice/trunk/main/scaddins/source/datefunc/datefunc.cxx (original)
+++ openoffice/trunk/main/scaddins/source/datefunc/datefunc.cxx Tue Apr 29 19:25:03 2014
@@ -707,14 +707,14 @@ sal_Int32 GetNullDate( const uno::Refere
  * The International Standard IS-8601 has decreed that Monday
  * shall be the first day of the week.
  *
- * A week that lies partly in one year and partly in annother
+ * A week that lies partly in one year and partly in another
  * is assigned a number in the the year in which most of its days lie.
  *
  * That means that week 1 of any year is the week that contains the 4. January
  *
  * The internal representation of a Date used in the Addin is the number of days based on 01/01/0001
  *
- * A WeekDay can be then calculated by substracting 1 and calculating the rest of
+ * A WeekDay can be then calculated by subtracting 1 and calculating the rest of
  * a division by 7, which gives a 0 - 6 value for Monday - Sunday
  *
  * Using the 4. January rule explained above the formula
@@ -724,7 +724,7 @@ sal_Int32 GetNullDate( const uno::Refere
  * calculates a number between 0-53 for each day which is in the same year as nJan4
  * where 0 means that this week belonged to the year before.
  *
- * If a day in the same or annother year is used in this formula this calculates
+ * If a day in the same or another year is used in this formula this calculates
  * an calendar week offset from a given 4. January
  *
  *  nWeek2 = ( nDays2 - nJan4 + ( (nJan4-1) % 7 ) ) / 7 + 1;
@@ -911,7 +911,7 @@ sal_Int32 SAL_CALL ScaDateAddIn::getDays
  * The International Standard IS-8601 has decreed that Monday
  * shall be the first day of the week.
  *
- * A WeekDay can be calculated by substracting 1 and calculating the rest of
+ * A WeekDay can be calculated by subtracting 1 and calculating the rest of
  * a division by 7 from the internal date represention
  * which gives a 0 - 6 value for Monday - Sunday
  *