diff options
253 files changed, 368 insertions, 368 deletions
diff --git a/include/osl/endian.h b/include/osl/endian.h index 13389830e5ff..30fa42be0057 100644 --- a/include/osl/endian.h +++ b/include/osl/endian.h @@ -151,7 +151,7 @@ extern "C" { #elif defined _BIG_ENDIAN # define OSL_BIGENDIAN #else -# error undetermined endianess +# error undetermined endianness #endif diff --git a/include/osl/file.h b/include/osl/file.h index 9af5aa7568f6..cf1d61f4ebe6 100644 --- a/include/osl/file.h +++ b/include/osl/file.h @@ -572,7 +572,7 @@ struct _oslVolumeInfo { sal_uInt32 uValidFields; /** Attributes of the volume (remote and/or removable) */ sal_uInt32 uAttributes; -/** Total availiable space on the volume for the current process/user */ +/** Total available space on the volume for the current process/user */ sal_uInt64 uTotalSpace; /** Used space on the volume for the current process/user */ sal_uInt64 uUsedSpace; diff --git a/include/osl/pipe_decl.hxx b/include/osl/pipe_decl.hxx index 4ec681712646..280916e5f107 100644 --- a/include/osl/pipe_decl.hxx +++ b/include/osl/pipe_decl.hxx @@ -199,7 +199,7 @@ public: @param pBuffer [in] Points to a buffer that contains the send-data. @param BytesToSend [in] The number of bytes to send. pBuffer must have at least this size. - @return the number of transfered bytes. + @return the number of transferred bytes. */ inline sal_Int32 SAL_CALL send(const void* pBuffer, sal_Int32 BytesToSend) const; diff --git a/include/osl/process.h b/include/osl/process.h index f2193cb8cb56..44a580fec5d9 100644 --- a/include/osl/process.h +++ b/include/osl/process.h @@ -134,7 +134,7 @@ typedef void* oslProcess; the process will be started in the context of the current user. @param ustrDirectory - [in] The file URL of the working directory of the new proces. If the specified directory + [in] The file URL of the working directory of the new process. If the specified directory does not exist or is inaccessible the working directory of the newly created process is undefined. If this parameter is NULL or the caller provides an empty string the new process will have the same current working directory as the calling process. @@ -204,7 +204,7 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_executeProcess( the process will be started in the context of the current user. @param ustrDirectory - [in] The file URL of the working directory of the new proces. If the specified directory + [in] The file URL of the working directory of the new process. If the specified directory does not exist or is inaccessible the working directory of the newly created process is undefined. If this parameter is NULL or the caller provides an empty string the new process will have the same current working directory as the calling process. @@ -381,14 +381,14 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_getCommandArg( */ SAL_DLLPUBLIC void SAL_CALL osl_setCommandArgs (int argc, char **argv); -/** Get the value of one enviroment variable. +/** Get the value of one environment variable. @param strVar [in] denotes the name of the variable to get. @param strValue [out] string that receives the value of environment variable. */ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_getEnvironment( rtl_uString *strVar, rtl_uString **strValue); -/** Set the value of one enviroment variable. +/** Set the value of one environment variable. @param strVar [in] denotes the name of the variable to set. @param strValue [in] string of the new value of environment variable. @@ -397,7 +397,7 @@ SAL_DLLPUBLIC oslProcessError SAL_CALL osl_getEnvironment( SAL_DLLPUBLIC oslProcessError SAL_CALL osl_setEnvironment( rtl_uString *strVar, rtl_uString *strValue); -/** Unsets the value of one enviroment variable. +/** Unsets the value of one environment variable. @param strVar [in] denotes the name of the variable to unset. @since UDK 3.2.13 diff --git a/include/osl/socket.h b/include/osl/socket.h index e84513b632df..f8ec7862b03d 100644 --- a/include/osl/socket.h +++ b/include/osl/socket.h @@ -563,7 +563,7 @@ SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_receiveFromSocket( <li><code>osl_Socket_MsgMaxIOVLen</code> </ul> - @return the number of transfered bytes. + @return the number of transferred bytes. */ SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_sendSocket( oslSocket Socket, @@ -594,7 +594,7 @@ SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_sendSocket( <li><code>osl_Socket_MsgMaxIOVLen</code> </ul> - @return the number of transfered bytes. + @return the number of transferred bytes. */ SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_sendToSocket( oslSocket Socket, diff --git a/include/osl/socket_decl.hxx b/include/osl/socket_decl.hxx index 5a4c5469c9e6..08b505febff7 100644 --- a/include/osl/socket_decl.hxx +++ b/include/osl/socket_decl.hxx @@ -477,7 +477,7 @@ namespace osl */ inline void SAL_CALL clearError() const; - /** returns a constant decribing the last error for the socket system. + /** returns a constant describing the last error for the socket system. @return osl_Socket_E_NONE if no error occurred, invalid_SocketError if an unknown (unmapped) error occurred, otherwise an enum describing the @@ -572,7 +572,7 @@ namespace osl <li><code>osl_Socket_MsgMaxIOVLen</code> </ul> - @return the number of transfered bytes. It may be less than BytesToSend. + @return the number of transferred bytes. It may be less than BytesToSend. */ sal_Int32 SAL_CALL send(const void* pBuffer, sal_uInt32 BytesToSend, @@ -707,7 +707,7 @@ namespace osl <li><code>osl_Socket_MsgMaxIOVLen</code> </ul> - @return the number of transfered bytes. + @return the number of transferred bytes. */ inline sal_Int32 SAL_CALL sendTo( const SocketAddr& ReceiverAddr, const void* pBuffer, diff --git a/include/registry/regtype.h b/include/registry/regtype.h index 518821c87f46..b08db8137852 100644 --- a/include/registry/regtype.h +++ b/include/registry/regtype.h @@ -62,7 +62,7 @@ enum RegKeyType A registry key can contain a value which has one of seven different types. Three simple types (long, ascii and unicode string) and a list type of - these simple types. Furthermore a binary type which provides the possibilty + these simple types. Furthermore a binary type which provides the possibility to define own data structures and store these types in the registry. The UNO core reflection data is stored as a binary blob in the type registry. */ diff --git a/include/registry/writer.h b/include/registry/writer.h index 18cba03d3dab..bf5b314816ba 100644 --- a/include/registry/writer.h +++ b/include/registry/writer.h @@ -89,7 +89,7 @@ REG_DLLPUBLIC void SAL_CALL typereg_writer_destroy(void * handle) SAL_THROW_EXTE @param typeName the super type name; must not be null - @return false iff an out-of-memory condition ocurred, in which case the type + @return false iff an out-of-memory condition occurred, in which case the type writer is not modified @since UDK 3.2.0 @@ -119,7 +119,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setSuperTypeName( @param valueValue the value of the value of the field - @return false iff an out-of-memory condition ocurred, in which case the type + @return false iff an out-of-memory condition occurred, in which case the type writer is not modified @since UDK 3.2.0 @@ -150,7 +150,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setFieldData( @param exceptionCount the number of exceptions of the method - @return false iff an out-of-memory condition ocurred, in which case the type + @return false iff an out-of-memory condition occurred, in which case the type writer is not modified @since UDK 3.2.0 @@ -179,7 +179,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodData( @param typeName the type name of the parameter; must not be null - @return false iff an out-of-memory condition ocurred, in which case the type + @return false iff an out-of-memory condition occurred, in which case the type writer is not modified @since UDK 3.2.0 @@ -202,7 +202,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodParameterData( @param typeName the exception type name; must not be null - @return false iff an out-of-memory condition ocurred, in which case the type + @return false iff an out-of-memory condition occurred, in which case the type writer is not modified @since UDK 3.2.0 @@ -228,7 +228,7 @@ REG_DLLPUBLIC sal_Bool SAL_CALL typereg_writer_setMethodExceptionTypeName( @param typeName the type name of the reference; must not be null - @return false iff an out-of-memory condition ocurred, in which case the type + @return false iff an out-of-memory condition occurred, in which case the type writer is not modified @since UDK 3.2.0 diff --git a/include/rtl/math.hxx b/include/rtl/math.hxx index 041ae848ffcf..1b90854bb7ef 100644 --- a/include/rtl/math.hxx +++ b/include/rtl/math.hxx @@ -285,10 +285,10 @@ inline double approxAdd(double a, double b) return a + b; } -/** Substract two values (a-b). +/** Subtract two values (a-b). If signs are identical and the values are equal according to approxEqual() - the method returns 0.0 instead of calculating the substraction. + the method returns 0.0 instead of calculating the subtraction. */ inline double approxSub(double a, double b) { diff --git a/include/salhelper/singletonref.hxx b/include/salhelper/singletonref.hxx index a003e5e1f7c7..87f4a2944a09 100644 --- a/include/salhelper/singletonref.hxx +++ b/include/salhelper/singletonref.hxx @@ -44,10 +44,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> diff --git a/include/sfx2/docmacromode.hxx b/include/sfx2/docmacromode.hxx index c971cb93462d..6f9d06a4ffe9 100644 --- a/include/sfx2/docmacromode.hxx +++ b/include/sfx2/docmacromode.hxx @@ -101,7 +101,7 @@ namespace sfx2 virtual OUString getDocumentLocation() const = 0; - /** returns a zip-storage based on the last commited version of the document, + /** returns a zip-storage based on the last committed version of the document, for readonly access The storage is intended to be used for signing. An implementation is diff --git a/include/svl/ondemand.hxx b/include/svl/ondemand.hxx index adc8ba454a70..2da0414aeb92 100644 --- a/include/svl/ondemand.hxx +++ b/include/svl/ondemand.hxx @@ -34,7 +34,7 @@ #include <comphelper/processfactory.hxx> /* - On demand instanciation and initialization of several i18n wrappers, + On demand instantiation and initialization of several i18n wrappers, helping the number formatter to not perform worse than it already does. */ diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index 81eeaf62feb7..a64eaecd8af5 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -375,7 +375,7 @@ public: sal_uInt32& FIndex, LanguageType& rLnge); - /// Delete an entry including the format it is refering to + /// Delete an entry including the format it is referring to void DeleteEntry(sal_uInt32 nKey); /** Create new entry of a format code string for language/country. diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index 89834240803e..61f3657036ee 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -545,7 +545,7 @@ public: void RowModified( long nRow, sal_uInt16 nColId = BROWSER_INVALIDID ); void RowInserted( long nRow, long nNumRows = 1, bool bDoPaint = true, bool bKeepSelection = false ); - // miscellanous + // miscellaneous void ReserveControlArea( sal_uInt16 nWidth = USHRT_MAX ); Rectangle GetControlArea() const; bool ProcessKey( const KeyEvent& rEvt ); diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx index 3c83d6d8fc62..792465f371ef 100644 --- a/include/svtools/fmtfield.hxx +++ b/include/svtools/fmtfield.hxx @@ -28,7 +28,7 @@ namespace validation { class NumberValidator; } typedef sal_uInt16 FORMAT_CHANGE_TYPE; #define FCT_KEYONLY 0x00 // only a new key was set -#define FCT_FORMATTER 0x01 // a new formatter weas set, usually implies a change of the key, too +#define FCT_FORMATTER 0x01 // a new formatter was set, usually implies a change of the key, too #define FCT_PRECISION 0x02 // a new precision was set #define FCT_THOUSANDSSEP 0x03 // the thousands separator setting changed diff --git a/include/svx/AccessibleTextHelper.hxx b/include/svx/AccessibleTextHelper.hxx index 34d235773289..d96b256ed411 100644 --- a/include/svx/AccessibleTextHelper.hxx +++ b/include/svx/AccessibleTextHelper.hxx @@ -140,7 +140,7 @@ namespace accessibility /** Query the current edit source @attention This method returns by reference, so you are - responsible for serialization (typically, you aquired the + responsible for serialization (typically, you acquired the solar mutex when calling this method). Thus, the method should only be called from the main office thread. diff --git a/include/svx/IAccessibleParent.hxx b/include/svx/IAccessibleParent.hxx index 28d4a244f92e..843914d24f84 100644 --- a/include/svx/IAccessibleParent.hxx +++ b/include/svx/IAccessibleParent.hxx @@ -44,7 +44,7 @@ public: with another and send the appropriate notifications. That are two child events: One notifying the removal of the current child and one about the existence of the new child. The index of the new child is - implementation dependent, i.e. it is not garanteed that the + implementation dependent, i.e. it is not guaranteed that the replacement has the same index as the current child has. <p>A default implementation can just use the ShapeTypeHandler::CreateAccessibleObject diff --git a/include/svx/IAccessibleViewForwarder.hxx b/include/svx/IAccessibleViewForwarder.hxx index d087e3e4d2cc..e280c41fb3ad 100644 --- a/include/svx/IAccessibleViewForwarder.hxx +++ b/include/svx/IAccessibleViewForwarder.hxx @@ -41,7 +41,7 @@ namespace accessibility { transformation methods do not require explicit mapmodes. These have to be provided implicitly by the classes that implement this interface. A third, less important, difference are the additional - transfomation methods for sizes. The reasons for their existince are + transfomation methods for sizes. The reasons for their existence are convenience and improved performance.</p> @attention diff --git a/include/svx/sdr/contact/displayinfo.hxx b/include/svx/sdr/contact/displayinfo.hxx index 98ce34519a6f..a842fc6c4ee4 100644 --- a/include/svx/sdr/contact/displayinfo.hxx +++ b/include/svx/sdr/contact/displayinfo.hxx @@ -55,7 +55,7 @@ namespace sdr bool mbPageProcessingActive : 1; // Internal flag to remember if EnteredGroupDrawMode is active. Default is true - // since this mode starts activated and gets switched off when reacing + // since this mode starts activated and gets switched off when reaching // the current group level. Should only be changed by instances which do // primitive processing bool mbGhostedDrawModeActive : 1; diff --git a/include/svx/sdr/overlay/overlayobject.hxx b/include/svx/sdr/overlay/overlayobject.hxx index 130c3406d50d..ec98225e0254 100644 --- a/include/svx/sdr/overlay/overlayobject.hxx +++ b/include/svx/sdr/overlay/overlayobject.hxx @@ -114,7 +114,7 @@ namespace sdr virtual void objectChange(); // write access to AntiAliase flag. This is protected since - // only implementations are allowed to change this, preferrably in their + // only implementations are allowed to change this, preferably in their // constructor void allowAntiAliase(bool bNew); diff --git a/include/toolkit/controls/geometrycontrolmodel.hxx b/include/toolkit/controls/geometrycontrolmodel.hxx index 5aedc632c3f9..903441dc5296 100644 --- a/include/toolkit/controls/geometrycontrolmodel.hxx +++ b/include/toolkit/controls/geometrycontrolmodel.hxx @@ -96,7 +96,7 @@ namespace com { namespace sun { namespace star { /** @param _rxAggregateInstance - is the object to be aggregated. Must be aquired excatly once (by the reference object given).<br/> + is the object to be aggregated. Must be acquired excatly once (by the reference object given).<br/> Will be reset to NULL upon leaving */ OGeometryControlModel_Base(::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable >& _rxAggregateInstance); diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx index 5968cddab2fe..bda94b018dac 100644 --- a/include/tools/wintypes.hxx +++ b/include/tools/wintypes.hxx @@ -135,7 +135,7 @@ typedef sal_Int64 WinBits; // warning: do not confuse WB_SYSTEMCHILDWINDOW with the SystemChildWindow class // // the SystemChildWindow class was there first and is a very specialized -// sytem child window type for plugged applications. The SystemChildWindow class +// system child window type for plugged applications. The SystemChildWindow class // explicitly should never use the WB_SYSTEMCHILDWINDOW WinBit // // WB_SYSTEMCHILDWINDOW on the other hand is to be used on system windows diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx index 558027287076..cfa632aa020f 100644 --- a/include/ucbhelper/content.hxx +++ b/include/ucbhelper/content.hxx @@ -584,11 +584,11 @@ public: * objects (See queryCreatableContentsInfo()). * @param rPropertyNames is a sequence of names of properties for that * values are to set at the new content before it will be inserted - * ( commited ). + * ( committed ). * The order of the names must correspond to the order of the * property values. * @param rPropertyValues is a sequence of property values that are to - * set at the new content before it will be inserted ( commited ). + * set at the new content before it will be inserted ( committed ). * The order of the values must correspond to the order of the * property names. * @param rNewContent will be filled by the implementation of this method @@ -618,11 +618,11 @@ public: * objects (See queryCreatableContentsInfo()). * @param rPropertyNames is a sequence of names of properties for that * values are to set at the new content before it will be inserted - * ( commited ). + * ( committed ). * The order of the names must correspond to the order of the * property values. * @param rPropertyValues is a sequence of property values that are to - * set at the new content before it will be inserted ( commited ). + * set at the new content before it will be inserted ( committed ). * The order of the values must correspond to the order of the * property names. * @param rStream is a stream containing the content data for the new diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx index 0cf9c11c47b9..51883c7f891c 100644 --- a/include/ucbhelper/interactionrequest.hxx +++ b/include/ucbhelper/interactionrequest.hxx @@ -177,7 +177,7 @@ public: /** * This class implements a standard interaction continuation, namely the * interface XInteractionAbort. Instances of this class can be passed - * along with an interaction request to indicate the possiblity to abort + * along with an interaction request to indicate the possibility to abort * the operation that caused the request. */ class UCBHELPER_DLLPUBLIC InteractionAbort : public InteractionContinuation, @@ -214,7 +214,7 @@ public: /** * This class implements a standard interaction continuation, namely the * interface XInteractionRetry. Instances of this class can be passed - * along with an interaction request to indicate the possiblity to retry + * along with an interaction request to indicate the possibility to retry * the operation that caused the request. */ class UCBHELPER_DLLPUBLIC InteractionRetry : public InteractionContinuation, @@ -251,7 +251,7 @@ public: /** * This class implements a standard interaction continuation, namely the * interface XInteractionApprove. Instances of this class can be passed - * along with an interaction request to indicate the possiblity to approve + * along with an interaction request to indicate the possibility to approve * the request. */ class UCBHELPER_DLLPUBLIC InteractionApprove : public InteractionContinuation, @@ -288,7 +288,7 @@ public: /** * This class implements a standard interaction continuation, namely the * interface XInteractionDisapprove. Instances of this class can be passed - * along with an interaction request to indicate the possiblity to disapprove + * along with an interaction request to indicate the possibility to disapprove * the request. */ class UCBHELPER_DLLPUBLIC InteractionDisapprove : public InteractionContinuation, @@ -627,7 +627,7 @@ inline InteractionSupplyAuthentication::InteractionSupplyAuthentication( /** * This class implements a standard interaction continuation, namely the * interface XInteractionSupplyName. Instances of this class can be passed - * along with an interaction request to indicate the possiblity to + * along with an interaction request to indicate the possibility to * supply a new name. */ class InteractionSupplyName : public InteractionContinuation, @@ -680,7 +680,7 @@ public: /** * This class implements a standard interaction continuation, namely the * interface XInteractionReplaceExistingData. Instances of this class can be - * passed along with an interaction request to indicate the possiblity to + * passed along with an interaction request to indicate the possibility to * replace existing data. */ class InteractionReplaceExistingData : diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx index ec294f83d0be..acf4dc5f85a0 100644 --- a/include/ucbhelper/interceptedinteraction.hxx +++ b/include/ucbhelper/interceptedinteraction.hxx @@ -36,7 +36,7 @@ namespace ucbhelper{ its handle() requests. @descr This class can be used as: - - instance if special interactions must be supressed + - instance if special interactions must be suppressed only - or as base class if interactions must be modified. */ @@ -196,7 +196,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper /** @short initialize a new instance with the interaction handler, which should be intercepted. - @attention If such interaction handler isnt set here, + @attention If such interaction handler isn't set here, all incoming requests will be aborted ... if the right continuation is available! diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx index 32d4301824a9..85ed100d46c7 100644 --- a/include/ucbhelper/resultset.hxx +++ b/include/ucbhelper/resultset.hxx @@ -515,7 +515,7 @@ public: * all data on demand. * * The implementation should call m_pResultSet->rowCountChanged(...) - * everytime it has inserted a new entry in its logical result array. + * every time it has inserted a new entry in its logical result array. * * @return the count of objects obtained so far; will always be * non-negative. diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx index 0f0197ee94fa..5196117a9315 100644 --- a/include/vcl/lazydelete.hxx +++ b/include/vcl/lazydelete.hxx @@ -119,7 +119,7 @@ namespace vcl typedef boost::unordered_map< sal_IntPtr, unsigned int > PtrToIndexMap; PtrToIndexMap m_aPtrToIndex; - /** strict weak ordering funtion to bring objects to be destroyed lazily + /** strict weak ordering function to bring objects to be destroyed lazily in correct order, e.g. for Window objects children before parents */ static bool is_less( T* left, T* right ); @@ -200,7 +200,7 @@ namespace vcl /* class DeleteOnDeinit matches a similar need as LazyDelete for static objects: you may not access vcl objects after DeInitVCL has been called this includes their destruction - therefore disallowing the existance of static vcl object like e.g. a static BitmapEx + therefore disallowing the existence of static vcl object like e.g. a static BitmapEx To work around this use DeleteOnDeinit<BitmapEx> which will allow you to have a static object container, that will have its contents destroyed on DeinitVCL. The single drawback is that you need to check on the container object whether it still contains content before actually accessing it. diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 71afd654ea6f..65b368328ee9 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -611,7 +611,7 @@ The following structure describes the permissions used in PDF security bool DisplayPDFDocumentTitle; PDFPageLayout PageLayout; bool FirstPageLeft; - // intially visible page in viewer (starting with 0 for first page) + // initially visible page in viewer (starting with 0 for first page) sal_Int32 InitialPage; sal_Int32 OpenBookmarkLevels; // -1 means all levels diff --git a/include/vcl/ppdparser.hxx b/include/vcl/ppdparser.hxx index 217340bfd465..79f50a68d3fd 100644 --- a/include/vcl/ppdparser.hxx +++ b/include/vcl/ppdparser.hxx @@ -273,7 +273,7 @@ class VCL_DLLPUBLIC PPDContext const PPDParser* m_pParser; // returns false: check failed, new value is constrained - // true: check succeded, new value can be set + // true: check succeeded, new value can be set bool checkConstraints( const PPDKey*, const PPDValue*, bool bDoReset ); bool resetValue( const PPDKey*, bool bDefaultable = false ); public: diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx index 9c867c78a76d..66d5d282f23a 100644 --- a/include/vcl/printerinfomanager.hxx +++ b/include/vcl/printerinfomanager.hxx @@ -68,7 +68,7 @@ public: OUString m_aComment; }; protected: - // needed for checkPrintersChanged: files (not necessarily existant) + // needed for checkPrintersChanged: files (not necessarily existent) // and their last known modification time struct WatchFile { diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 6d67efcbcd10..081b0fd9aa37 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -59,7 +59,7 @@ typedef sal_uInt32 ControlType; #define CTRL_EDITBOX_NOBORDER 31 // Control that allows text entry -// ( some systems distingish between single and multi line edit boxes ) +// ( some systems distinguish between single and multi line edit boxes ) #define CTRL_MULTILINE_EDITBOX 32 // Control that pops up a menu, diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx index 935504125316..2ead1d8f06e0 100644 --- a/include/vcl/textview.hxx +++ b/include/vcl/textview.hxx @@ -190,7 +190,7 @@ public: /** Drag and Drop, deleting and selection regards all text that has an attribute - TEXTATTR_PROTECTED set as one entitity. Drag and dropped text is automatically + TEXTATTR_PROTECTED set as one entity. Drag and dropped text is automatically attibuted as protected. */ void SupportProtectAttribute(bool bSupport); diff --git a/include/xmloff/uniref.hxx b/include/xmloff/uniref.hxx index 242db9e4cb43..e1ef4b81b667 100644 --- a/include/xmloff/uniref.hxx +++ b/include/xmloff/uniref.hxx @@ -27,7 +27,7 @@ /** * An instance of this class holds a pointer to an object. The lifetime of - * the object is controled by the instance. The constructor calls + * the object is controlled by the instance. The constructor calls * acquire() and the destructor calls release(). * You could derive your class from the baseclass UniRefBase which implements * the methods acquire and release, yet. @@ -198,7 +198,7 @@ inline bool UniReference< T >::is() const } /** * Return true if both interfaces refer to the same object. The operation can be - * much more expensive than a pointer comparision.<BR> + * much more expensive than a pointer comparison.<BR> * * @param rRef another interface reference */ @@ -209,7 +209,7 @@ inline bool UniReference< T >::operator == ( const UniReference & rRef ) const } /** * Return true if both interfaces does not refer to the same object. The operation can be - * much more expensive than a pointer comparision.<BR> + * much more expensive than a pointer comparison.<BR> * * @param rRef another interface reference */ diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index cd2ff305644e..c7453ba71541 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -121,7 +121,7 @@ void Options_Impl::printUsage_Impl() const " -c|C = make a complete check, that means any differences will be\n" " detected. Default is only a compatibility check that means\n" " only UNO typelibrary entries will be checked.\n" - " -t|T = make an UNO type compatiblity check. This means that registry 2\n" + " -t|T = make an UNO type compatibility check. This means that registry 2\n" " will be checked against registry 1. If a interface in r2 contains\n" " more methods or the methods are in a different order as in r1, r2 is\n" " incompatible to r1. But if a service in r2 supports more properties as\n" diff --git a/ridljar/com/sun/star/uno/IMethodDescription.java b/ridljar/com/sun/star/uno/IMethodDescription.java index cb2625a7327e..f8f509e1bcd9 100644 --- a/ridljar/com/sun/star/uno/IMethodDescription.java +++ b/ridljar/com/sun/star/uno/IMethodDescription.java @@ -33,7 +33,7 @@ import java.lang.reflect.Method; public interface IMethodDescription extends IMemberDescription { /** * Indicates if this method is <code>oneWay</code>, - * respectivly if this method may become executed asynchronously. + * respectively if this method may become executed asynchronously. * <p> * @return true means may execute asynchronously . */ diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c index e1688f0dadbb..8c03af548db6 100644 --- a/rsc/source/rscpp/cpp1.c +++ b/rsc/source/rscpp/cpp1.c @@ -118,7 +118,7 @@ char *workp; /* Work buffer pointer */ * the output from cpp is to be passed to lint (which uses commands * embedded in comments). cflag contains the permanent state of the * -C flag. keepcomments is always falsified when processing #control - * commands and when compilation is supressed by a false #if + * commands and when compilation is suppressed by a false #if * * If eflag is set, CPP returns "success" even if non-fatal errors * were detected. @@ -155,7 +155,7 @@ char **incend = incdir; /* -> free space in incdir[] */ * This is the table used to predefine target machine and operating * system designators. It may need hacking for specific circumstances. * Note: it is not clear that this is part of the Ansi Standard. - * The -N option supresses preset definitions. + * The -N option suppresses preset definitions. */ char *preset[] = { /* names defined at cpp start */ #ifdef MACHINE diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c index 8da4100c8be7..1431e154ad3e 100644 --- a/rsc/source/rscpp/cpp2.c +++ b/rsc/source/rscpp/cpp2.c @@ -315,8 +315,8 @@ void doif(int hash) * while #if needs a subroutine of its own to evaluate the expression. * * doif() is called only if compiling is TRUE. If false, compilation - * is always supressed, so we don't need to evaluate anything. This - * supresses unnecessary warnings. + * is always suppressed, so we don't need to evaluate anything. This + * suppresses unnecessary warnings. */ { register int c; diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c index df5a2c7acf70..b14f4f85a3b9 100644 --- a/rsc/source/rscpp/cpp3.c +++ b/rsc/source/rscpp/cpp3.c @@ -431,7 +431,7 @@ void initdefines() * #define __FILE__ ?? (dynamic, evaluated by magic) * Called only on cpp startup. * - * Note: the built-in static definitions are supressed by the -N option. + * Note: the built-in static definitions are suppressed by the -N option. * __LINE__, __FILE__, and __DATE__ are always present. */ { diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c index 091b594f3deb..09a1c5c4119a 100644 --- a/rsc/source/rscpp/cpp5.c +++ b/rsc/source/rscpp/cpp5.c @@ -45,7 +45,7 @@ static char *opname[] = { /* For debug and error messages */ * 10 The new value of the binop flag. * Note: Expected, New binop * constant 0 1 Binop, end, or ) should follow constants - * End of line 1 0 End may not be preceeded by an operator + * End of line 1 0 End may not be preceded by an operator * binary 1 0 Binary op follows a value, value follows. * unary 0 0 Unary op doesn't follow a value, value follows * ( 0 0 Doesn't follow value, value or unop follows @@ -205,7 +205,7 @@ eval() * evaleval Evaluate the current operator, given the values on * the value stack. Returns a pointer to the (new) * value stack. - * For compatiblity with older cpp's, this return returns 1 (TRUE) + * For compatibility with older cpp's, this return returns 1 (TRUE) * if a syntax error is detected. */ { diff --git a/sal/qa/osl/socket/sockethelper.hxx b/sal/qa/osl/socket/sockethelper.hxx index b4698077971a..1c43eaaf8a0f 100644 --- a/sal/qa/osl/socket/sockethelper.hxx +++ b/sal/qa/osl/socket/sockethelper.hxx @@ -138,7 +138,7 @@ void printSocketResult( oslSocketResult eResult ); /** if 4 parts of an IP addr are equal to specified values */ sal_Bool ifIpv4is( const ::rtl::ByteSequence Ipaddr, sal_Int8 seq1, sal_Int8 seq2, sal_Int8 seq3, sal_Int8 seq4 ); -/** if the IP or hostname is availble( alive ) +/** if the IP or hostname is available( alive ) */ //sal_Bool ifAvailable( const char * stringAddrOrHostName ); sal_Bool ifAvailable( rtl::OUString const& strAddrOrHostName ); diff --git a/sal/test/bootstrap b/sal/test/bootstrap index 2ed2abfb62e2..c12ef19222af 100644 --- a/sal/test/bootstrap +++ b/sal/test/bootstrap @@ -69,7 +69,7 @@ echo 13 ./testbootstrap TheKeysValue -env:ININAME=./bootstraptest.ini \ -env:'MYBOOTSTRAPTESTVALUE=${$ININAME:${$ININAME:SecondSection:IndirectSection}:${$ININAME:SecondSection:IndirectKey}}' -# test no infinit recursion +# test no infinite recursion echo 14 ./testbootstrap "***RECURSION DETECTED***" -env:'MYBOOTSTRAPTESTVALUE=$MYBOOTSTRAPTESTVALUE' diff --git a/sal/test/bootstrap.bat b/sal/test/bootstrap.bat index c582ecc1a905..69580011301c 100755 --- a/sal/test/bootstrap.bat +++ b/sal/test/bootstrap.bat @@ -67,7 +67,7 @@ rem ini access with complex macro expansion echo 13 .\testbootstrap TheKeysValue -env:ININAME=./bootstraptest.ini -env:MYBOOTSTRAPTESTVALUE=${$ININAME:${$ININAME:SecondSection:IndirectSection}:${$ININAME:SecondSection:IndirectKey}} -rem test no infinit recursion +rem test no infinite recursion echo 14 .\testbootstrap "***RECURSION DETECTED***" -env:MYBOOTSTRAPTESTVALUE=$MYBOOTSTRAPTESTVALUE @@ -76,4 +76,4 @@ echo 15 .\testbootstrap AAABBBCCC000 -env:MYBOOTSTRAPTESTVALUE=\u0041\u0041\u0041\u0042\u0042\u0042\u0043\u0043\u0043\u0030\u0030\u0030 -@echo bootstrap test finished
\ No newline at end of file +@echo bootstrap test finished diff --git a/sal/test/bootstrap.pl b/sal/test/bootstrap.pl index 7ef389d99747..a0ff7778be16 100644 --- a/sal/test/bootstrap.pl +++ b/sal/test/bootstrap.pl @@ -224,7 +224,7 @@ else { '-env:MYBOOTSTRAPTESTVALUE=$MYBOOTSTRAPTESTVALUE'; } if (!$rc) { - $comment = $comment . "no infinit recursion test not passed\n"; + $comment = $comment . "no infinite recursion test not passed\n"; $state = 0; } diff --git a/sal/textenc/generate/cns116431992.pl b/sal/textenc/generate/cns116431992.pl index 1d913101b50a..af1b65deb9e8 100644 --- a/sal/textenc/generate/cns116431992.pl +++ b/sal/textenc/generate/cns116431992.pl @@ -317,7 +317,7 @@ for ($cns_plane = 1; $cns_plane <= 16; ++$cns_plane) $cns1_row = ($cns1 >> 8) & 0xFF; $cns1_column = $cns1 & 0xFF; - # Do not map from Unicode to Fictious Character Set + # Do not map from Unicode to Fictitious Character Set # Extensions (Lunde, p. 131), if possible: if ($cns_plane == 3 && ($cns_row == 66 && $cns_column > 38 @@ -325,7 +325,7 @@ for ($cns_plane = 1; $cns_plane <= 16; ++$cns_plane) { print " (", printUtf32($utf32), - " to fictious ", + " to fictitious ", printCns116431992($cns_plane, $cns_row, $cns_column), @@ -345,7 +345,7 @@ for ($cns_plane = 1; $cns_plane <= 16; ++$cns_plane) | $cns_column; print " (", printUtf32($utf32), - " to fictious ", + " to fictitious ", printCns116431992($cns1_plane, $cns1_row, $cns1_column), diff --git a/sal/textenc/tcvtkr1.tab b/sal/textenc/tcvtkr1.tab index 5309affa3748..09d008f1ff40 100644 --- a/sal/textenc/tcvtkr1.tab +++ b/sal/textenc/tcvtkr1.tab @@ -30,7 +30,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 diff --git a/sc/qa/complex/dataPilot/_XPropertySet.java b/sc/qa/complex/dataPilot/_XPropertySet.java index c30e17417e6e..e2f57896e277 100644 --- a/sc/qa/complex/dataPilot/_XPropertySet.java +++ b/sc/qa/complex/dataPilot/_XPropertySet.java @@ -196,19 +196,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 @@ -251,19 +251,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 @@ -309,19 +309,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 @@ -359,12 +359,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; @@ -402,19 +402,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 @@ -459,19 +459,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 diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 0b523e86b033..2114c35dc46f 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -6941,7 +6941,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. diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 7e89a4ff5e2d..7042189beb4d 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -487,7 +487,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 diff --git a/sc/source/filter/excel/ooxml-export-TODO.txt b/sc/source/filter/excel/ooxml-export-TODO.txt index 42e060c72596..9926cfdabfbd 100644 --- a/sc/source/filter/excel/ooxml-export-TODO.txt +++ b/sc/source/filter/excel/ooxml-export-TODO.txt @@ -145,7 +145,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. diff --git a/sc/source/filter/excel/xlpivot.cxx b/sc/source/filter/excel/xlpivot.cxx index ef4be100aaf6..6682d46659de 100644 --- a/sc/source/filter/excel/xlpivot.cxx +++ b/sc/source/filter/excel/xlpivot.cxx @@ -977,7 +977,7 @@ void XclPTViewEx9Info::Init( const ScDPObject& rDPObj ) else { // Report1 for now - // TODO : sync with autoformat indicies + // TODO : sync with autoformat indices mbReport = 2; mnAutoFormat = 1; mnGridLayout = 0x10; diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx index 2c260bac8c57..3d36c0499fd0 100644 --- a/sc/source/filter/inc/xestream.hxx +++ b/sc/source/filter/inc/xestream.hxx @@ -86,7 +86,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). */ diff --git a/sc/source/filter/inc/xistream.hxx b/sc/source/filter/inc/xistream.hxx index 5b014492b1f4..4e639449a237 100644 --- a/sc/source/filter/inc/xistream.hxx +++ b/sc/source/filter/inc/xistream.hxx @@ -447,9 +447,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. */ diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index a98671ba685c..07ef3fd726f1 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -2436,7 +2436,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 OUString aDecSep; diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index 995121d74e58..90cedae70528 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -718,7 +718,7 @@ void lcl_GetColumnTypes( if ( nPrecision && nFieldLen < nPrecision + 2 ) nFieldLen = nPrecision + 2; // 0. must fit into // 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 ) diff --git a/sc/source/ui/unoobj/dispuno.cxx b/sc/source/ui/unoobj/dispuno.cxx index b9f085a27706..0b29ddda4c35 100644 --- a/sc/source/ui/unoobj/dispuno.cxx +++ b/sc/source/ui/unoobj/dispuno.cxx @@ -64,7 +64,7 @@ ScDispatchProviderInterceptor::ScDispatchProviderInterceptor(ScTabViewShell* pVi 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)); diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index fa4cbb2e30ba..6356d2475399 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1840,7 +1840,7 @@ uno::Any SAL_CALL ScModelObj::getPropertyValue( const OUString& aPropertyName ) { /* #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 <<= OUString( "ThisExcelDoc" ); diff --git a/sc/source/ui/vba/vbachartobject.cxx b/sc/source/ui/vba/vbachartobject.cxx index cd95a943efe7..413d58247851 100644 --- a/sc/source/ui/vba/vbachartobject.cxx +++ b/sc/source/ui/vba/vbachartobject.cxx @@ -108,7 +108,7 @@ ScVbaChartObject::Activate() throw ( script::BasicErrorException ) { 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()); diff --git a/sc/source/ui/vba/vbaformatconditions.cxx b/sc/source/ui/vba/vbaformatconditions.cxx index 9cef9c75e4fb..54323da6eb58 100644 --- a/sc/source/ui/vba/vbaformatconditions.cxx +++ b/sc/source/ui/vba/vbaformatconditions.cxx @@ -120,7 +120,7 @@ ScVbaFormatConditions::Add( ::sal_Int32 _nType, const uno::Any& _aOperator, cons // #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 ) diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx index 1e2fabc6c4c0..72b553d314dc 100644 --- a/sc/source/ui/vba/vbaworksheet.cxx +++ b/sc/source/ui/vba/vbaworksheet.cxx @@ -662,7 +662,7 @@ ScVbaWorksheet::getPrevious() throw (uno::RuntimeException, std::exception) 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, std::exception) { - // #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); OUString aPasswd; diff --git a/scaddins/source/analysis/analysis.src b/scaddins/source/analysis/analysis.src index b9b0d13011ee..f45b0e3ba125 100644 --- a/scaddins/source/analysis/analysis.src +++ b/scaddins/source/analysis/analysis.src @@ -975,7 +975,7 @@ Resource RID_ANALYSIS_FUNCTION_DESCRIPTIONS String 5 // description of parameter 2 GeStep { - Text [ en-US ] = "The threshhold value"; + Text [ en-US ] = "The threshold value"; }; }; diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 5e8883b1c1ee..c4a0c542926c 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -2482,7 +2482,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 diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 3af0098100aa..33f3a0959083 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -619,7 +619,7 @@ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions ) * * 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 @@ -629,7 +629,7 @@ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions ) * 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; @@ -811,7 +811,7 @@ sal_Int32 SAL_CALL ScaDateAddIn::getDaysInYear( * 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 * diff --git a/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java b/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java index 8fa5f1081bfb..027c3fa9af51 100644 --- a/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java +++ b/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java @@ -282,7 +282,7 @@ public class UnoPkgContainer extends ParcelContainer } else { - LogUtils.DEBUG("In writeUnoPackageDB() CANT Truncate...." ); + LogUtils.DEBUG("In writeUnoPackageDB() CAN'T Truncate...." ); } os = new XOutputStreamWrapper( xos ); dp.write( os ); diff --git a/scripting/java/com/sun/star/script/framework/provider/java/StrictResolver.java b/scripting/java/com/sun/star/script/framework/provider/java/StrictResolver.java index a6a08d96b6f4..2eb14339ef3e 100644 --- a/scripting/java/com/sun/star/script/framework/provider/java/StrictResolver.java +++ b/scripting/java/com/sun/star/script/framework/provider/java/StrictResolver.java @@ -61,12 +61,12 @@ public class StrictResolver implements Resolver } catch ( ClassNotFoundException e ) { - throw new NoSuchMethodException( "StrictResolver.getProxy: Cant find method: " + throw new NoSuchMethodException( "StrictResolver.getProxy: Can't find method: " + sd.getMethodName() + ":" + e.getMessage() ); } catch ( NoSuchMethodException e ) { - throw new NoSuchMethodException( "StrictResolver.getProxy: Cant find method: " + throw new NoSuchMethodException( "StrictResolver.getProxy: Can't find method: " + sd.getMethodName() + ":" + e.getMessage() ); } @@ -82,12 +82,12 @@ public class StrictResolver implements Resolver } catch ( InstantiationException ie ) { - throw new NoSuchMethodException( "getScriptProxy: Cant instantiate: " + + throw new NoSuchMethodException( "getScriptProxy: Can't instantiate: " + c.getName() ); } catch ( IllegalAccessException iae ) { - throw new NoSuchMethodException( "getScriptProxy: Cant access: " + throw new NoSuchMethodException( "getScriptProxy: Can't access: " + c.getName() ); } sp.setTargetObject( o ); diff --git a/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java b/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java index e5734c4b53bd..587ade36a4ba 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/filesystem/OpenOfficeDocFileSystem.java @@ -227,7 +227,7 @@ System.out.println(" exception: " + ioe.getMessage()); */ public void prepareEnvironment(FileSystem.Environment environment) { - // BUG: the compiller cannot access files withing the OpenOffice document. + // BUG: the compiller cannot access files within the OpenOffice document. //environment.addClassPath(docFile.toString()); } diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index 0819cede035c..04087ea2811c 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -522,7 +522,7 @@ uno::Sequence< sal_Int32 > SAL_CALL uno::Reference< drawing::XShape > xShape = mpChildrenManager->GetChildShape(i); if ( xShape.is() ) { - //if the object is visable in the page, we add it into the group list. + //if the object is visible in the page, we add it into the group list. SdrObject* pObj = GetSdrObjectFromXShape(xShape); if ( pObj && pPV && pSdView && pSdView->IsObjMarkable( pObj, pPV ) ) { diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index 2a51ef286616..9bd85c0d95ef 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -814,7 +814,7 @@ void AccessibleSlideSorterView::Implementation::RequestUpdateChildren (void) void AccessibleSlideSorterView::Implementation::UpdateChildren (void) { - //By default, all children should be accessable. So here workaround is to make all children visible. + //By default, all children should be accessible. So here workaround is to make all children visible. // MT: THis was in UpdateVisibility, which has some similarity, and hg merge automatically has put it here. Correct?! // In the IA2 CWS, also setting mnFirst/LastVisibleChild was commented out! mnLastVisibleChild = maPageObjects.size(); diff --git a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx index b4a2815a5d9f..bdb4141281a8 100644 --- a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx +++ b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx @@ -27,7 +27,7 @@ namespace accessibility { /** For the time beeing, the implementation of this class will not use the member mrDevice. Instead the device is retrieved from the view - everytime it is used. This is necessary because the device has to stay + every time it is used. This is necessary because the device has to stay up-to-date with the current view and the class has to stay compatible. May change in the future. */ diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 4868054c0d36..269b52a891ec 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -109,7 +109,7 @@ public: /** A simple wrapper that looks like a PushButton and is used to force the - broadcasting of focus events primarly for accessibility tools. + broadcasting of focus events primarily for accessibility tools. Forcing focus events is achieved by using two identical PushButtons which, when the focus event is requested, are exchanged and play focus ping-pong by moving the focus from one to the other. diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx index 6d1873280b51..2e857d08f03f 100644 --- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx +++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx @@ -78,7 +78,7 @@ namespace accessibility { <li>As window listener it waits for changes of the window geometry and forwards those as view forwarder changes.</li> <li>As focus listener it keeps track of the focus to give this class and - derived classes the oportunity to set and remove the focus to/from + derived classes the opportunity to set and remove the focus to/from shapes.</li> </ol> </p> diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index 87670c1da23b..96c5c9c94de6 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -468,7 +468,7 @@ private: a) it is running in its own frame, i.e. is a full screen show and b) the given flag bCloseFrame is true. @param bCloseFrame - Be carefull with this flag when stopping a full screen show. + Be careful with this flag when stopping a full screen show. When called from the destructor the flag has to be <FALSE/> or otherwise we run into a loop of calls to destructors of the view and the frame. diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index bf90ecb58a0e..8df6870572bf 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -146,7 +146,7 @@ public: /** After this method has been called with <TRUE/> following changes of the current page are ignored in that the corresponding text is not selected. - This is used to supress unwanted side effects between selection and + This is used to suppress unwanted side effects between selection and cursor position. */ void IgnoreCurrentPageChanges (bool bIgnore); diff --git a/sd/source/ui/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx index efe71ad63a0b..2781d367afcf 100644 --- a/sd/source/ui/inc/SlideSorter.hxx +++ b/sd/source/ui/inc/SlideSorter.hxx @@ -182,7 +182,7 @@ public: */ void SetCurrentFunction (const rtl::Reference<FuPoor>& rpFunction); - /** Return a collection of properties that are used througout the slide + /** Return a collection of properties that are used throughout the slide sorter. */ ::boost::shared_ptr<controller::Properties> GetProperties (void) const; diff --git a/sd/source/ui/inc/ToolBarManager.hxx b/sd/source/ui/inc/ToolBarManager.hxx index 5f616ec47b86..bc10d995824e 100644 --- a/sd/source/ui/inc/ToolBarManager.hxx +++ b/sd/source/ui/inc/ToolBarManager.hxx @@ -48,7 +48,7 @@ class ViewShellManager; Tool bars are managed in groups. Each group can be set, reset, or modified independently of the others. This allows for instance to replace the toolbars associated with the current function independently - from those assoicated with the main view. + from those associated with the main view. The ToolBarManager has two high level methods which contain the knowledge about which tool bars to show in a specific context. diff --git a/sd/source/ui/inc/ViewShellHint.hxx b/sd/source/ui/inc/ViewShellHint.hxx index 6a10b4d30afd..677ca5dc982b 100644 --- a/sd/source/ui/inc/ViewShellHint.hxx +++ b/sd/source/ui/inc/ViewShellHint.hxx @@ -25,7 +25,7 @@ namespace sd { /** Local derivation of the SfxHint class that defines some hint ids that - are used by the ViewShell class and its decendants. + are used by the ViewShell class and its descendants. */ class ViewShellHint : public SfxHint diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx index da54789d6271..09ff31f89796 100644 --- a/sd/source/ui/inc/Window.hxx +++ b/sd/source/ui/inc/Window.hxx @@ -116,7 +116,7 @@ public: void SetViewSize(const Size& rSize); void SetCenterAllowed (bool bIsAllowed); - /** Calculate origin of the map mode accoring to the size of the view + /** Calculate origin of the map mode according to the size of the view and window (its size in model coordinates; that takes the zoom factor into account), and the bCenterAllowed flag. When it is not set then nothing is changed. When in any direction the window is diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx index 8909694f186b..b86905753fb3 100644 --- a/sd/source/ui/inc/fupoor.hxx +++ b/sd/source/ui/inc/fupoor.hxx @@ -106,7 +106,7 @@ public: // #i33136# /** Decide if the object to be created should be created orthogonal. Default implementation uses nSlotID - to decide. May be overloaded to use other criterias + to decide. May be overloaded to use other criteria for this decision @returns true if the to be created object should be orthogonal. diff --git a/sd/source/ui/inc/taskpane/TitledControl.hxx b/sd/source/ui/inc/taskpane/TitledControl.hxx index c7dae079a4c6..33f8d737dcf3 100644 --- a/sd/source/ui/inc/taskpane/TitledControl.hxx +++ b/sd/source/ui/inc/taskpane/TitledControl.hxx @@ -94,7 +94,7 @@ public: const OUString& GetTitle (void) const; /** Expand the control without informing its container. This - method ususally is called by the container as a result of a + method usually is called by the container as a result of a higher level expand command. You may want to use ExpandViaContainer() instead. @param bExpanded diff --git a/sd/source/ui/inc/tools/IconCache.hxx b/sd/source/ui/inc/tools/IconCache.hxx index 7f8cec023c1d..a39e1de01e00 100644 --- a/sd/source/ui/inc/tools/IconCache.hxx +++ b/sd/source/ui/inc/tools/IconCache.hxx @@ -29,7 +29,7 @@ namespace sd { use the icons do not have to store them in every one of their instances. - Icons are adressed over their resource id and are loaded on demand. + Icons are addressed over their resource id and are loaded on demand. This cache acts like a singleton with a lifetime equal to that of the sd module. diff --git a/sd/source/ui/presenter/PresenterCanvas.hxx b/sd/source/ui/presenter/PresenterCanvas.hxx index 6c5c8f236a08..c45a8b1cd623 100644 --- a/sd/source/ui/presenter/PresenterCanvas.hxx +++ b/sd/source/ui/presenter/PresenterCanvas.hxx @@ -92,7 +92,7 @@ public: rxSharedCanvas argument. @param rxWindow The window that is represented by the new PresenterCanvas - object. It is expected to be a direct decendent of + object. It is expected to be a direct descendant of rxSharedWindow. Its position inside rxSharedWindow defines the offset of the canvas implemented by the new PresenterCanvas object and rxSharedCanvas. diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx index 72b52cf2929d..c65b400e6154 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx @@ -89,7 +89,7 @@ public: virtual sal_Int32 GetMinimumWidth (void); /** Update the selection of previews according to whatever - influences them appart from mouse and keyboard. If, for + influences them apart from mouse and keyboard. If, for example, the current page of the main pane changes, then call this method at the CurrentMasterPagesSelector to select the previews of the master pages that are assigned to the new @@ -187,14 +187,14 @@ protected: ItemList maLockedMasterPages; /** Lock master pages in the given list and release locks that where - previously aquired. + previously acquired. */ void UpdateLocks (const ItemList& rItemList); void Fill (void); virtual void Fill (ItemList& rItemList) = 0; - /** Give derived classes the oportunity to provide their own context + /** Give derived classes the opportunity to provide their own context menu. If they do then they probably have to provide their own Execute() and GetState() methods as well. */ diff --git a/sd/source/ui/slideshow/SlideShowRestarter.hxx b/sd/source/ui/slideshow/SlideShowRestarter.hxx index 928f1d10f3a7..da82e5196cf0 100644 --- a/sd/source/ui/slideshow/SlideShowRestarter.hxx +++ b/sd/source/ui/slideshow/SlideShowRestarter.hxx @@ -32,7 +32,7 @@ namespace sd { leads to a crash. During a restart a possibly installed presenter extension is given the - oportunity to show or hide depending on the number of available displays. + opportunity to show or hide depending on the number of available displays. */ class SlideShowRestarter : public boost::enable_shared_from_this<SlideShowRestarter> diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index ce7c5506f2a0..de55c65aa061 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1001,7 +1001,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings ) getViewFrame()->SetChildWindow( SID_NAVIGATOR, maPresSettings.mbStartWithNavigator ); } - // these Slots are forbiden in other views for this document + // these Slots are forbidden in other views for this document if( mpDocSh ) { mpDocSh->SetSlotFilter( true, sizeof( pAllowed ) / sizeof( sal_uInt16 ), pAllowed ); diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx index e2d10e381e65..71d7e31d3fd1 100644 --- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx +++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx @@ -92,7 +92,7 @@ public: void SetBitmapCache (const ::boost::shared_ptr<BitmapCache>& rpCache); private: - /** This mutex is used to guard the queue processor. Be carefull not to + /** This mutex is used to guard the queue processor. Be careful not to mix its use with that of the solar mutex. */ ::osl::Mutex maMutex; diff --git a/sd/source/ui/slidesorter/controller/SlsListener.hxx b/sd/source/ui/slidesorter/controller/SlsListener.hxx index aa03c4a91674..2e17aeca03a5 100644 --- a/sd/source/ui/slidesorter/controller/SlsListener.hxx +++ b/sd/source/ui/slidesorter/controller/SlsListener.hxx @@ -150,7 +150,7 @@ private: ::com::sun::star::uno::WeakReference< ::com::sun::star::frame::XFrame> mxFrameWeak; /** This object is used to lock the model between some - events. It is refernce counted in order to cope with events that + events. It is references counted in order to cope with events that are expected but never sent. */ ::boost::shared_ptr<SlideSorterController::ModelChangeLock> mpModelChangeLock; diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index 8d51190da1d9..5024a7d5b304 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -749,7 +749,7 @@ void SelectionFunction::MouseDragged ( void SelectionFunction::ProcessEvent (EventDescriptor& rDescriptor) { // The call to ProcessEvent may switch to another mode handler. - // Prevent the untimely destruction of the called handler by aquiring a + // Prevent the untimely destruction of the called handler by acquiring a // temporary reference here. ::boost::shared_ptr<ModeHandler> pModeHandler (mpModeHandler); pModeHandler->ProcessEvent(rDescriptor); @@ -1801,7 +1801,7 @@ bool DragAndDropModeHandler::ProcessButtonUpEvent ( { if (Match(rDescriptor.mnEventCode, BUTTON_UP | LEFT_BUTTON)) { - // The following Process() call may lead to the desctruction + // The following Process() call may lead to the destruction // of rDescriptor.mpHitDescriptor so release our reference to it. rDescriptor.mpHitDescriptor.reset(); mrSelectionFunction.SwitchToNormalMode(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx index 868c6eefae8e..ebf2fe97dc74 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx @@ -209,7 +209,7 @@ private: const bool bScrollToFocus); /** Call all currently registered listeners that a focus change has - happended. The focus may be hidden or shown or moved from one page + happened. The focus may be hidden or shown or moved from one page object to another. */ void NotifyFocusChangeListeners (void) const; diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx index bd8f7f1f94c0..0ef877f96d39 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx @@ -141,7 +141,7 @@ public: When <TRUE/> (the default value) then after setting the selection update the current page to the first page of the selection. - When called from withing UpdateCurrentPage() then this flag is + When called from within UpdateCurrentPage() then this flag is used to prevent a recursion loop. */ void SetPageSelection ( diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx index 438b1cfea54e..6add4e70bf4e 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx @@ -73,7 +73,7 @@ public: ::boost::shared_ptr<PageObjectLayouter> GetPageObjectLayouter (void) const; /** Set the interval of valid column counts. When nMinimalColumnCount - <= nMaximalColumnCount is not fullfilled then the call is ignored. + <= nMaximalColumnCount is not fulfilled then the call is ignored. @param nMinimalColumnCount The default value is 1. The question whether higher values make any sense is left to the caller. @@ -87,7 +87,7 @@ public: calculates the output values. Both given sizes must not be 0 in any dimension or the call is ignored. @param eOrientation - This defines the generaly layout and specifies whether there may + This defines the generally layout and specifies whether there may be more than one row or more than one column. @param rWindowSize The size of the window in pixels that the slide sorter is diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx index 58a8c4321c8b..71846823fe05 100644 --- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx @@ -54,14 +54,14 @@ private: /** This constructor sets the internal page index to the given value. It does not call AdvanceToNextValidElement() to skip elements that - do not fullfill Predicate. + do not fulfill Predicate. */ inline PageEnumerationImpl ( const SlideSorterModel& rModel, const PageEnumeration::PagePredicate& rPredicate, int nIndex); - /** Skip all elements that do not fullfill Predicate starting with the + /** Skip all elements that do not fulfill Predicate starting with the one pointed to by mnIndex. */ inline void AdvanceToNextValidElement (void); @@ -257,7 +257,7 @@ void PageEnumerationImpl::AdvanceToNextValidElement (void) { SharedPageDescriptor pDescriptor (mrModel.GetPageDescriptor(mnIndex)); - // Test for the predicate being fullfilled. + // Test for the predicate being fulfilled. if (pDescriptor.get()!=NULL && maPredicate(pDescriptor)) { // This predicate is valid. diff --git a/sd/source/ui/view/FormShellManager.cxx b/sd/source/ui/view/FormShellManager.cxx index 889eba321bdd..8e21db98f798 100644 --- a/sd/source/ui/view/FormShellManager.cxx +++ b/sd/source/ui/view/FormShellManager.cxx @@ -210,7 +210,7 @@ void FormShellManager::UnregisterAtCenterPane (void) IMPL_LINK_NOARG(FormShellManager, FormControlActivated) { - // The form shell has been actived. To give it priority in reacting to + // The form shell has been activated. To give it priority in reacting to // slot calls the form shell is moved to the top of the object bar shell // stack. ViewShell* pShell = mrBase.GetMainViewShell().get(); diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index eaa950385de2..28e272e229e4 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -1030,7 +1030,7 @@ void ViewShell::SetDefTabHRuler( sal_uInt16 nDefTab ) /** Tell the FmFormShell that the view shell is closing. Give it the - oportunity to prevent that. + opportunity to prevent that. */ bool ViewShell::PrepareClose (bool bUI) { diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx index 35b1a320ba3c..2e0d464b5311 100644 --- a/sdext/source/presenter/PresenterScreen.cxx +++ b/sdext/source/presenter/PresenterScreen.cxx @@ -385,7 +385,7 @@ void PresenterScreen::InitializePresenterScreen (void) // own full screen window that is controlled by the same // configuration controller as the Impress document from // which the presentation was started. Therefore the main - // pane is actived additionally to the already existing + // pane is activated additionally to the already existing // panes and does not replace them. xCC->requestResourceActivation( xMainPaneId, diff --git a/sdext/source/presenter/PresenterSlidePreview.cxx b/sdext/source/presenter/PresenterSlidePreview.cxx index b5ed609b6a7e..749bce9194e1 100644 --- a/sdext/source/presenter/PresenterSlidePreview.cxx +++ b/sdext/source/presenter/PresenterSlidePreview.cxx @@ -37,7 +37,7 @@ using namespace ::com::sun::star::drawing::framework; namespace { - // Use a super sample factor greater than 1 to achive a poor mans + // Use a super sample factor greater than 1 to achieve a poor mans // antialiasing effect for slide previews. const sal_Int16 gnSuperSampleFactor = 2; } diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index 6611712c7ff9..5f49f59fcd77 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -1168,7 +1168,7 @@ void PresenterSlideSorter::Layout::Update ( // Determine column count, preview width, and horizontal gap (borders // are half the gap). Try to use the preferred values. Try more to // stay in the valid intervalls. This last constraint may be not - // fullfilled in some cases. + // fulfilled in some cases. const double nElementWidth = nWidth / gnPreferredColumnCount; if (nElementWidth < gnMinimalPreviewWidth + gnMinimalHorizontalPreviewGap) { diff --git a/sdext/source/presenter/PresenterViewFactory.hxx b/sdext/source/presenter/PresenterViewFactory.hxx index 649ddfae3868..69f2e3773929 100644 --- a/sdext/source/presenter/PresenterViewFactory.hxx +++ b/sdext/source/presenter/PresenterViewFactory.hxx @@ -54,7 +54,7 @@ public: virtual void DeactivatePresenterView (void); /** Called before the view is disposed. This gives the view the - oportunity to trigger actions that may lead to (synchronous) + opportunity to trigger actions that may lead to (synchronous) callbacks that do not result in DisposedExceptions. */ virtual void ReleaseView (void); diff --git a/setup_native/source/win32/customactions/shellextensions/upgrade.cxx b/setup_native/source/win32/customactions/shellextensions/upgrade.cxx index 5cbfe6a571ef..5a9ce2251432 100644 --- a/setup_native/source/win32/customactions/shellextensions/upgrade.cxx +++ b/setup_native/source/win32/customactions/shellextensions/upgrade.cxx @@ -40,7 +40,7 @@ using namespace std; namespace { - // The provided GUID must be without surounding '{}' + // The provided GUID must be without surrounding '{}' string GetGuidPart(const string& guid, int index) { assert((guid.length() == 36) && "No GUID or wrong format!"); diff --git a/sfx2/qa/complex/sfx2/DocumentProperties.java b/sfx2/qa/complex/sfx2/DocumentProperties.java index 058897988e39..dad1fc2bf6a6 100644 --- a/sfx2/qa/complex/sfx2/DocumentProperties.java +++ b/sfx2/qa/complex/sfx2/DocumentProperties.java @@ -337,7 +337,7 @@ public class DocumentProperties // differently some day... boolean b = true; double d = 3.1415; - // note that Time is only supported for backward compatibilty! + // note that Time is only supported for backward compatibility! Time t = new Time(); t.Hours = 1; t.Minutes = 16; diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx index 1cc36a78cdf2..d8ded8b9c9e5 100644 --- a/sfx2/source/bastyp/bitset.cxx +++ b/sfx2/source/bastyp/bitset.cxx @@ -76,7 +76,7 @@ BitSet BitSet::operator<<( sal_uInt16 nOffset ) const -// substracts nOffset from each bit-value in the set +// subtracts nOffset from each bit-value in the set BitSet BitSet::operator>>( sal_uInt16 ) const { diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index 02da41c81f4d..baacd975f2bc 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -78,7 +78,7 @@ These serve only to track the position in an XML ID list in a document registry, so that future actions can insert objects at the right position. Unfortunately, inserting dummy objects seems to be necessary: - <ul><li>it is not sufficent to just remember the saved id, because then + <ul><li>it is not sufficient to just remember the saved id, because then the relative priorities might change when executing the undo</li> <li>it is not sufficient to record the position as an integer, because if we delete a text node and then undo, the node will be copied(!), diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 650e30a39d23..c4ec5d362cd8 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -2502,7 +2502,7 @@ void SfxMedium::UseInteractionHandler( bool bUse ) ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler > SfxMedium::GetInteractionHandler() { - // if interaction isnt allowed explicitly ... return empty reference! + // if interaction isn't allowed explicitly ... return empty reference! if ( !pImp->bUseInteractionHandler ) return ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >(); @@ -2515,7 +2515,7 @@ SfxMedium::GetInteractionHandler() return xHandler; } - // if default interaction isnt allowed explicitly ... return empty reference! + // if default interaction isn't allowed explicitly ... return empty reference! if ( !pImp->bAllowDefaultIntHdl ) return ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >(); diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 7aeb70d53169..a688082817d8 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -283,7 +283,7 @@ OUString SfxObjectShell::CreateTempCopyOfStorage_Impl( const uno::Reference< emb // the password will be transferred from the xStorage to xTempStorage by storage implementation xStorage->copyToStorage( xTempStorage ); - // the temporary storage was commited by the previous method and it will die by refcount + // the temporary storage was committed by the previous method and it will die by refcount } catch ( uno::Exception& ) { @@ -1249,7 +1249,7 @@ bool SfxObjectShell::SaveTo_Impl // commit the new storage // call saveCompleted based with this new storage ( get rid of old storage and "frees" URL ) // commit the wrapper stream ( the stream will connect the URL only on commit, after that it will hold it ) - // if the last step is failed the stream should stay to be transacted and should be commited on any flush + // if the last step is failed the stream should stay to be transacted and should be committed on any flush // so we can forget the stream in any way and the next storage commit will flush it AddLog( OUString( OSL_LOG_PREFIX "Save: Own to Own" ) ); @@ -1607,7 +1607,7 @@ bool SfxObjectShell::SaveTo_Impl { pMedium->Close(); - // target medium is still not commited, it should not be closed + // target medium is still not committed, it should not be closed // commit the package storage and close it, but leave the streams open rMedium.StorageCommit_Impl(); rMedium.CloseStorage(); diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 842fd2402a80..e87d2a7ddf34 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -603,7 +603,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // by executing the slot. Because if it is a ucb relevant URL we must wait for // finishing the print job and move the temporary local file by using the ucb // to the right location. But in case of no file name is given or it is already - // a local one we can supress this special handling. Because then vcl makes all + // a local one we can suppress this special handling. Because then vcl makes all // right for us. OUString sUcbUrl; ::utl::TempFile* pUCBPrintTempFile = NULL; diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index d6ec61876657..bd7d5da26030 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -1354,7 +1354,7 @@ void SfxBaseController::ConnectSfxFrame_Impl( const ConnectSfxFrame i_eConnect ) if ( !bHasPluginMode && !bHasJumpMark ) { // Note that this might not be the ideal place here. Restoring view data should, IMO, be the - // responsibility of the loader, not an implementation detail burried here deep within the controller's + // responsibility of the loader, not an implementation detail buried here deep within the controller's // implementation. // What I think should be done to replace the below code: // - change SfxBaseController::restoreViewData to also accept a PropertyValue[] (it currently accepts diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 69ef3af1c123..7bb2d4cedd63 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -195,7 +195,7 @@ void SAL_CALL SfxClipboardChangeListener::disposing( const lang::EventObject& /* xNotify->removeClipboardListener( xThis ); // Make asynchronous call to avoid locking SolarMutex which is the - // root for many deadlocks, especially in conjuction with the "Windows" + // root for many deadlocks, especially in conjunction with the "Windows" // based single thread apartment clipboard code! AsyncExecuteInfo* pInfo = new AsyncExecuteInfo( ASYNCEXECUTE_CMD_DISPOSING, xThis, this ); Application::PostUserEvent( STATIC_LINK( 0, SfxClipboardChangeListener, AsyncExecuteHdl_Impl ), pInfo ); @@ -205,7 +205,7 @@ void SAL_CALL SfxClipboardChangeListener::changedContents( const datatransfer::c throw ( RuntimeException, std::exception ) { // Make asynchronous call to avoid locking SolarMutex which is the - // root for many deadlocks, especially in conjuction with the "Windows" + // root for many deadlocks, especially in conjunction with the "Windows" // based single thread apartment clipboard code! uno::Reference< datatransfer::clipboard::XClipboardListener > xThis( static_cast< datatransfer::clipboard::XClipboardListener* >( this )); AsyncExecuteInfo* pInfo = new AsyncExecuteInfo( ASYNCEXECUTE_CMD_CHANGEDCONTENTS, xThis, this ); diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx index ecfbae682c14..b9c777a388e3 100644 --- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx +++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.hxx @@ -287,7 +287,7 @@ private: vector<basegfx::B2DVector> TexCoords; }; -/** This class is to be derived to make any operation (tranform) you may need in order to construct your transitions +/** This class is to be derived to make any operation (transform) you may need in order to construct your transitions */ class Operation { diff --git a/slideshow/source/engine/animatedsprite.cxx b/slideshow/source/engine/animatedsprite.cxx index ec56736054af..6603499bfb36 100644 --- a/slideshow/source/engine/animatedsprite.cxx +++ b/slideshow/source/engine/animatedsprite.cxx @@ -95,7 +95,7 @@ namespace slideshow { // Enlarge or reduce the sprite size, if necessary. This // method employs a strategy similar to container, when - // allocating memory: size is doubled or halved everytime + // allocating memory: size is doubled or halved every time // the limit is reached. This makes for amortized constant // time in runtime complexity. Note that we take exact // powers of two here, since several HW-accelerated canvas diff --git a/slideshow/source/engine/animationnodes/basenode.hxx b/slideshow/source/engine/animationnodes/basenode.hxx index 87b8c39bc943..cf75964e24db 100644 --- a/slideshow/source/engine/animationnodes/basenode.hxx +++ b/slideshow/source/engine/animationnodes/basenode.hxx @@ -143,7 +143,7 @@ protected: private: // all state affecting methods have "_st" counterparts being called at - // derived classes when in state transistion: no-ops here at BaseNode... + // derived classes when in state transition: no-ops here at BaseNode... virtual bool init_st(); virtual bool resolve_st(); virtual void activate_st(); diff --git a/slideshow/source/engine/shapes/intrinsicanimationactivity.cxx b/slideshow/source/engine/shapes/intrinsicanimationactivity.cxx index 13aaa1cd4da5..564addb76dba 100644 --- a/slideshow/source/engine/shapes/intrinsicanimationactivity.cxx +++ b/slideshow/source/engine/shapes/intrinsicanimationactivity.cxx @@ -60,7 +60,7 @@ namespace slideshow @param rWakeupEvent Externally generated wakeup event, to set this activity to sleep during inter-frame intervals. Must - come frome the outside, since wakeup event and this + come from the outside, since wakeup event and this object have mutual references to each other. @param rTimeouts diff --git a/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx b/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx index 4aba07ff562f..54e2772a04e5 100644 --- a/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx +++ b/slideshow/source/engine/shapes/intrinsicanimationactivity.hxx @@ -48,7 +48,7 @@ namespace slideshow @param rWakeupEvent Externally generated wakeup event, to set this activity to sleep during inter-frame intervals. Must - come frome the outside, since wakeup event and this + come from the outside, since wakeup event and this object have mutual references to each other. @param rTimeouts diff --git a/slideshow/source/engine/slide/layer.hxx b/slideshow/source/engine/slide/layer.hxx index fdbf4536dbd7..666fa5227e58 100644 --- a/slideshow/source/engine/slide/layer.hxx +++ b/slideshow/source/engine/slide/layer.hxx @@ -48,13 +48,13 @@ namespace slideshow Since slides have a notion of depth, i.e. shapes on it have a certain order in which they lie upon each other, - this layering must be modeled. A prime example for this + this layering must be modelled. A prime example for this necessity are animations of shapes lying behind other shapes. Then, everything behind the animated shape will be in a background layer, the shape itself will be in an animation layer, and everything before it will be in a - foreground layer (these layers are most preferrably - modeled as XSprite objects internally). + foreground layer (these layers are most preferably + modelled as XSprite objects internally). @attention All methods of this class are only supposed to be called from the LayerManager. Normally, it shouldn't be diff --git a/slideshow/source/engine/slide/layermanager.hxx b/slideshow/source/engine/slide/layermanager.hxx index 5dec547ab154..12a1427daf50 100644 --- a/slideshow/source/engine/slide/layermanager.hxx +++ b/slideshow/source/engine/slide/layermanager.hxx @@ -348,7 +348,7 @@ namespace slideshow */ const basegfx::B2DRange maPageBounds; - /// Number of shape sprites currenly active on this LayerManager + /// Number of shape sprites currently active on this LayerManager sal_Int32 mnActiveSprites; /// sal_True, if shapes might need to move to different layer diff --git a/slideshow/source/engine/transitions/clippingfunctor.cxx b/slideshow/source/engine/transitions/clippingfunctor.cxx index 34ef3e95749b..c062586329a1 100644 --- a/slideshow/source/engine/transitions/clippingfunctor.cxx +++ b/slideshow/source/engine/transitions/clippingfunctor.cxx @@ -194,7 +194,7 @@ namespace slideshow else { // when not completely inside aBackgroundRange clipping is needed - // substract aClipPoly from aBackgroundRange + // subtract aClipPoly from aBackgroundRange const basegfx::B2DPolyPolygon aBackgroundPolyPoly(basegfx::tools::createPolygonFromRect(aBackgroundRange)); aClipPoly = basegfx::tools::solvePolygonOperationDiff(aBackgroundPolyPoly, aClipPoly); } diff --git a/slideshow/source/engine/wakeupevent.cxx b/slideshow/source/engine/wakeupevent.cxx index 10da6963d7cd..f2640659b64f 100644 --- a/slideshow/source/engine/wakeupevent.cxx +++ b/slideshow/source/engine/wakeupevent.cxx @@ -55,7 +55,7 @@ namespace slideshow bool WakeupEvent::isCharged() const { - // this event won't expire, we fire everytime we're + // this event won't expire, we fire every time we're // re-inserted into the event queue. return true; } diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx index 7d5123eb5775..c6c1e4b9af38 100644 --- a/slideshow/source/inc/animatedsprite.hxx +++ b/slideshow/source/inc/animatedsprite.hxx @@ -96,7 +96,7 @@ namespace slideshow /** Query the content canvas for the current sprite. Note that this method must be called - <em>everytime</em> something is rendered to the + <em>every time</em> something is rendered to the sprite, because XCustomSprite does not guarantee the validity of the canvas after a render operation. diff --git a/solenv/bin/modules/installer/windows/directory.pm b/solenv/bin/modules/installer/windows/directory.pm index 97e9e1c41e18..e4100fe8509e 100644 --- a/solenv/bin/modules/installer/windows/directory.pm +++ b/solenv/bin/modules/installer/windows/directory.pm @@ -117,7 +117,7 @@ sub make_short_dir_version $shortstring =~ s/^\s*\_//; # Setting unique ID to each directory - # No counter allowed, process must be absolute reproducable due to patch creation process. + # No counter allowed, process must be absolute reproducible due to patch creation process. # chomp(my $id = `echo $longstring_save | md5sum | sed -e "s/ .*//g"`); # Very, very slow # my $subid = substr($id, 0, 9); # taking only the first 9 digits diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm b/solenv/bin/modules/installer/windows/msiglobal.pm index 18366eb3a495..f65dada1e8fe 100644 --- a/solenv/bin/modules/installer/windows/msiglobal.pm +++ b/solenv/bin/modules/installer/windows/msiglobal.pm @@ -1092,7 +1092,7 @@ sub prepare_64bit_database } } - # 2. Replacing all occurences of "VersionNT" by "VersionNT64" + # 2. Replacing all occurrences of "VersionNT" by "VersionNT64" my @versionnt_files = ("Componen.idt", "InstallE.idt", "InstallU.idt", "LaunchCo.idt"); diff --git a/solenv/bin/packregistry.xslt b/solenv/bin/packregistry.xslt index 5e25c95d1730..9079bbc6b43d 100644 --- a/solenv/bin/packregistry.xslt +++ b/solenv/bin/packregistry.xslt @@ -33,7 +33,7 @@ instead of the below for-each would only issue warnings, not errors, for non-existing or otherwise bad input files; it is important that the input filename list is already sorted in an order suitable for the configmgr - (e.g., xcs files preceeding xcu files). + (e.g., xcs files preceding xcu files). --> <xsl:for-each select="list/filename"> <xsl:variable name="doc" select="document(concat($prefix, .))"/> diff --git a/sot/qa/complex/olesimplestorage/Test01.java b/sot/qa/complex/olesimplestorage/Test01.java index a1fe4eb8155c..68f5fd4a6258 100644 --- a/sot/qa/complex/olesimplestorage/Test01.java +++ b/sot/qa/complex/olesimplestorage/Test01.java @@ -84,7 +84,7 @@ public class Test01 implements OLESimpleStorageTest //commit the storage and close it xOLESimpleStorage.commit (); - m_aTestHelper.Message ( "Storage commited." ); + m_aTestHelper.Message ( "Storage committed." ); xOLESimpleStorage.dispose (); for ( int i = 0; i < pStreamCnt; ++i ) { diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index ecdf6fb2fdc7..8ea792cd7c5e 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -2677,7 +2677,7 @@ bool UCBStorage::Commit() // mark this storage for sending it on root commit pImp->m_bCommited = true; if ( pImp->m_bIsRoot ) - // the root storage coordinates commiting by sending a Commit command to its content + // the root storage coordinates committing by sending a Commit command to its content return ( pImp->Commit() != COMMIT_RESULT_FAILURE ); else return true; diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 5d01bc5b013b..94ac10ffc993 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -2353,7 +2353,7 @@ SvXMLImportContext *SmXMLRowContext_Impl::StrictCreateChildContext( break; /*Note: The maligngroup should only be seen when the row - * (or decendants) are in a table*/ + * (or descendants) are in a table*/ case XML_TOK_MALIGNGROUP: pContext = GetSmImport().CreateAlignGroupContext(nPrefix,rLocalName, xAttrList); diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 35f190145a81..42e7f289accb 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -584,7 +584,7 @@ int MathType::Parse(SotStorage *pStor) #endif int nRet = HandleRecords(); - //little crude hack to close ocassionally open expressions + //little crude hack to close occasionally open expressions //a sophisticated system to determine what expressions are //opened is required, but this is as much work as rewriting //starmaths internals. diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 9c080cdcd532..cdb04096bfdd 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -241,7 +241,7 @@ namespace svgio const drawinglayer::geometry::ViewInformation2D aViewInformation2D; drawinglayer::processor2d::TextAsPolygonExtractor2D aExtractor(aViewInformation2D); - // proccess + // process aExtractor.process(rSource); // get results @@ -679,7 +679,7 @@ namespace svgio const drawinglayer::geometry::ViewInformation2D aViewInformation2D; drawinglayer::processor2d::LineGeometryExtractor2D aExtractor(aViewInformation2D); - // proccess + // process aExtractor.process(aSeq); // check for fill rsults diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index abadd5b3fbe0..89a8238916c8 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -837,7 +837,7 @@ bool ChildrenManagerImpl::ReplaceChild ( uno::Any(), uno::makeAny (I->mxAccessibleShape)); - // Replace with replacement and send an event about existance + // Replace with replacement and send an event about existence // of the new child. I->mxAccessibleShape = pNewChild; mrContext.CommitChange ( diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 36a4919035b0..c08818542dc6 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -506,7 +506,7 @@ public: /** This flag is set during the visibility calculation and indicates that at one time in this process an event is sent that informs the - listners of the creation of a new accessible object. This flags is + listeners of the creation of a new accessible object. This flags is not reset afterwards. Don't use it unless you know exactly what you are doing. */ diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index b9006a5a572d..aa529f78c57f 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -963,7 +963,7 @@ Rectangle SvxPixelCtl::implCalFocusRect( const Point& aPosition ) return Rectangle(nLeft,nTop,nRight,nBottom); } -//Solution:Keyboard fucntion +//Solution:Keyboard function void SvxPixelCtl::KeyInput( const KeyEvent& rKEvt ) { KeyCode aKeyCode = rKEvt.GetKeyCode(); diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx index 5c1b97b1f40b..c5781ff44ea8 100644 --- a/svx/source/engine3d/helperminimaldepth3d.cxx +++ b/svx/source/engine3d/helperminimaldepth3d.cxx @@ -188,7 +188,7 @@ double getMinimalDepthInViewCoordinates(const E3dCompoundObject& rObject) aViewInfo3D.getViewTime(), aViewInfo3D.getExtendedInformationSequence()); - // create extractor helper, proccess geometry and get return value + // create extractor helper, process geometry and get return value drawinglayer::processor3d::MinimalDephInViewExtractor aExtractor(aNewViewInformation3D); aExtractor.process(aPrimitives); fRetval = aExtractor.getMinimalDepth(); diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 8d88f7e4a5a8..def9fa650bd2 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1808,7 +1808,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks() // The next problem caused by the same behaviuor (SeekCursor causes a propertyChanged) : when adjusting rows we implicitly // change our selection. So a "FirstSelected(); SeekCursor(); NextSelected();" may produce unpredictable results. - // That's why we _first_ collect the indicies of the selected rows and _then_ their bookmarks. + // That's why we _first_ collect the indices of the selected rows and _then_ their bookmarks. long nIdx = FirstSelectedRow(); while (nIdx >= 0) { @@ -1816,7 +1816,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks() pBookmarks[i++] <<= (sal_Int32)nIdx; nIdx = NextSelectedRow(); } - DBG_ASSERT(i == nSelectedRows, "FmGridControl::DeleteSelectedRows : could not collect the row indicies !"); + DBG_ASSERT(i == nSelectedRows, "FmGridControl::DeleteSelectedRows : could not collect the row indices !"); for (i=0; i<nSelectedRows; ++i) { diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 98af429e2228..b2bb990b833f 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -1461,7 +1461,7 @@ void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeE sal_Int32 nWidth = 0; if (evt.NewValue.getValueType().getTypeClass() == TypeClass_VOID) nWidth = pGrid->GetDefaultColumnWidth(pGrid->GetColumnTitle(nId)); - // GetDefaultColumnWidth already considerd the zoom factor + // GetDefaultColumnWidth already considered the zoom factor else { sal_Int32 nTest = 0; diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 166540b36a15..158d460aeeac 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -1841,7 +1841,7 @@ OUString DbPatternField::GetFormatText(const Reference< ::com::sun::star::sdb::X } else OSL_ENSURE( rpFormatter->getColumn() == _rxField, "DbPatternField::GetFormatText: my value formatter is working for another field ...!" ); - // re-creating the value formatter here everytime would be quite expensive ... + // re-creating the value formatter here every time would be quite expensive ... OUString sText; if ( rpFormatter.get() ) diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 7b17de505d58..a85f86cc1954 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2139,7 +2139,7 @@ void DbGridControl::AdjustDataSource(bool bFull) if (bFull) m_xCurrentRow = NULL; // if we are on the same row only repaint - // but this is only possible for rows which are not inserted, in that case the comparision result + // but this is only possible for rows which are not inserted, in that case the comparison result // may not be correct else if ( m_xCurrentRow.Is() diff --git a/svx/source/form/dbtoolsclient.cxx b/svx/source/form/dbtoolsclient.cxx index eabf90a42344..d4a694516f67 100644 --- a/svx/source/form/dbtoolsclient.cxx +++ b/svx/source/form/dbtoolsclient.cxx @@ -76,7 +76,7 @@ namespace svxform if ( pDBTFactory ) { m_xDataAccessFactory = pDBTFactory; - // by definition, the factory was aquired once + // by definition, the factory was acquired once m_xDataAccessFactory->release(); } } diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index 0c65ee2b4c1e..7f8cc17290f4 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -648,7 +648,7 @@ bool FmFormObj::EndCreate( SdrDragStat& rStat, SdrCreateCmd eCmd ) Reference< XIndexContainer > xFormToInsertInto; if ( !xParentForm.is() ) - { // model is not yet part of a form component hierachy + { // model is not yet part of a form component hierarchy xParentForm.set( rPage.GetImpl().findPlaceInFormComponentHierarchy( xContent ), UNO_SET_THROW ); xFormToInsertInto.set( xParentForm, UNO_QUERY_THROW ); } diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 000446048c3a..9cbf5a9a7e6c 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -414,7 +414,7 @@ void FmXUndoEnvironment::Inserted(FmFormObj* pObj) if ( lcl_searchElement( xForms, xObjectParent ) ) { // the form which was the parent of the object when it was removed is still - // part of the form component hierachy of the current page + // part of the form component hierarchy of the current page xNewParent = xObjectParent; xForm.set( xNewParent, UNO_QUERY_THROW ); nPos = ::std::min( pObj->GetOriginalIndex(), xNewParent->getCount() ); diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 58440cbd4e8a..f72fe7af4dcf 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1493,7 +1493,7 @@ bool FmXFormView::createControlLabelPair( OutputDevice& _rOutDev, sal_Int32 _nXO ) return false; - // insert the control model(s) into the form component hierachy + // insert the control model(s) into the form component hierarchy if ( _rpLabel ) lcl_insertIntoFormComponentHierarchy_throw( *m_pView, *_rpLabel, _rxDataSource, _rDataSourceName, _rCommand, _nCommandType ); lcl_insertIntoFormComponentHierarchy_throw( *m_pView, *_rpControl, _rxDataSource, _rDataSourceName, _rCommand, _nCommandType ); diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 8cc2cde485b8..2f4903db5c01 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -1025,7 +1025,7 @@ void SAL_CALL FormController::removeDisjunctiveTerm( ::sal_Int32 _Term ) throw ( FmFilterRows::iterator pos = m_aFilterRows.begin() + _Term; m_aFilterRows.erase( pos ); - // adjust m_nCurrentFilterPosition if the removed row preceeded it + // adjust m_nCurrentFilterPosition if the removed row preceded it if ( _Term < m_nCurrentFilterPosition ) --m_nCurrentFilterPosition; diff --git a/svx/source/form/formdispatchinterceptor.cxx b/svx/source/form/formdispatchinterceptor.cxx index 8544acc22dd5..66bedcf534ac 100644 --- a/svx/source/form/formdispatchinterceptor.cxx +++ b/svx/source/form/formdispatchinterceptor.cxx @@ -67,7 +67,7 @@ namespace svxform { _rxToIntercept->registerDispatchProviderInterceptor((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 Reference< XComponent> xInterceptedComponent(_rxToIntercept, UNO_QUERY); if (xInterceptedComponent.is()) { diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 15206aa2858a..15443e3a3310 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -98,7 +98,7 @@ enum EDocStates /* FINAL STATES */ - /// the Auto/Emergency saved document isnt useable any longer + /// the Auto/Emergency saved document isn't useable any longer E_DAMAGED = 64, /// the Auto/Emergency saved document isnt really up-to-date (some changes can be missing) E_INCOMPLETE = 128, @@ -452,7 +452,7 @@ class SaveDialog : public IExtendedTabPage /** @short create all child controls of this dialog. - @descr The dialog isnt shown nor it starts any + @descr The dialog isn't shown nor it starts any action by itself! @param pParent @@ -509,7 +509,7 @@ class SaveProgressDialog : public ModalDialog /** @short create all child controls of this dialog. - @descr The dialog isnt shown nor it starts any + @descr The dialog isn't shown nor it starts any action by itself! @param pParent diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 053dd2043939..7279edfe5bc8 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -463,7 +463,7 @@ public: // if the form belongs to the controller (extern) displaying a grid, the according internal form will // be displayed, _xForm else - // check if the current control of the active controler has the focus + // check if the current control of the active controller has the focus bool HasControlFocus() const; private: diff --git a/svx/source/inc/fmtextcontrolshell.hxx b/svx/source/inc/fmtextcontrolshell.hxx index bf25660d5f78..91681359a5c9 100644 --- a/svx/source/inc/fmtextcontrolshell.hxx +++ b/svx/source/inc/fmtextcontrolshell.hxx @@ -92,7 +92,7 @@ namespace svx // without this define, m_xActiveControl remembers the *last* active control, even // if it, in the meantime, already lost the focus bool m_bActiveControl; - // so we need an additional boolean flag telling whether the active cotrol + // so we need an additional boolean flag telling whether the active control // is really focused #endif bool m_bActiveControlIsReadOnly; diff --git a/svx/source/sdr/contact/displayinfo.cxx b/svx/source/sdr/contact/displayinfo.cxx index 13e434c5aed7..052c9a5d0ba9 100644 --- a/svx/source/sdr/contact/displayinfo.cxx +++ b/svx/source/sdr/contact/displayinfo.cxx @@ -39,7 +39,7 @@ namespace sdr { } - // Access to LayerInfos (which layers to proccess) + // Access to LayerInfos (which layers to process) void DisplayInfo::SetProcessLayers(const SetOfByte& rSet) { maProcessLayers = rSet; diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index 4e62a86882ab..b5b9f01b37f5 100644 --- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -262,7 +262,7 @@ namespace sdr // set recursion flag bInCreatePrimitive2D = true; - // init extractor, guarantee existance, set page there + // init extractor, guarantee existence, set page there mpExtractor->SetStartPage(pPage); // #i105548# also need to copy the VOCRedirector for sub-content creation diff --git a/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx b/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx index f7eaa50b8e59..26b6ed69dcb7 100644 --- a/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx @@ -73,7 +73,7 @@ namespace drawinglayer // to take care of getSdrLFSTAttribute() later, the same as in SdrGrafPrimitive2D::create2DDecomposition // should happen. For the moment we only need the OLE itself // Added complete primitive preparation using getSdrLFSTAttribute() now. To not do stuff which is not needed now, it - // may be supressed by using a static bool. The paint version only supported text. + // may be suppressed by using a static bool. The paint version only supported text. static bool bBehaveCompatibleToPaintVersion(false); Primitive2DSequence aRetval; @@ -148,7 +148,7 @@ namespace drawinglayer // add graphic content appendPrimitive2DSequenceToPrimitive2DSequence(aRetval, getOLEContent()); - // add text, no need to supress to stay compatible since text was + // add text, no need to suppress to stay compatible since text was // always supported by the old paints, too if(!getSdrLFSTAttribute().getText().isDefault()) { diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 056947cbdf7a..916302a7ab4b 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1206,7 +1206,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly) // This is used for Combine and Connect. In no case it is necessary to force // the content to curve, but it is also not good to force to polygons. Thus, - // curve is the less information loosing one. Remember: This place is not + // curve is the less information losing one. Remember: This place is not // used for merge. // LineToArea is never necessary, both commands are able to take over the // set line style and to display it correctly. Thus, i will use a diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 7e53388e9909..30e870b4d64f 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -2500,7 +2500,7 @@ void SdrCropViewHdl::CreateB2dIAObject() aCropped.getMinY()); aCroppedTransform = maObjectTransform * aCroppedTransform; - // prepare graphic primitive (tranformed) + // prepare graphic primitive (transformed) const drawinglayer::primitive2d::Primitive2DReference aGraphic( new drawinglayer::primitive2d::GraphicPrimitive2D( aCroppedTransform, diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index 0ada28208166..fe820d9d31a5 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -492,7 +492,7 @@ BitmapEx SdrExchangeView::GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked) const if(pSdrGrafObj) { - // #122753# To ensure existance of graphic content, force swap in + // #122753# To ensure existence of graphic content, force swap in pSdrGrafObj->ForceSwapIn(); } diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index bef1c87e5c49..ce2b6348cf6d 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -65,7 +65,7 @@ public: if bFitWidth or bFitHeight is set, the layouter tries to scale the rows and/or columns to the given area. The result my be bigger - to fullfill constrains. + to fulfill constrains. if bFitWidth or bFitHeight is set, the model is changed. */ diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx index a98efa1fcf90..4f145fcf573b 100644 --- a/svx/source/tbxctrls/SvxColorValueSet.cxx +++ b/svx/source/tbxctrls/SvxColorValueSet.cxx @@ -135,7 +135,7 @@ Size SvxColorValueSet::layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntry const Size aItemSize(getEntryEdgeLength(), getEntryEdgeLength()); const WinBits aWinBits(GetStyle() & ~WB_VSCROLL); - // get size whith all fields disabled + // get size with all fields disabled const WinBits aWinBitsNoScrollNoFields(GetStyle() & ~(WB_VSCROLL|WB_NAMEFIELD|WB_NONEFIELD)); SetStyle(aWinBitsNoScrollNoFields); const Size aSizeNoScrollNoFields(CalcWindowSizePixel(aItemSize, getColumnCount())); diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index 3e4dd0e9a444..9f51875daee5 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -389,7 +389,7 @@ bool SvXMLEmbeddedObjectHelper::ImplReadObject( if( xDocStor != xCntnrStor || pTemp || bDuplicate ) { - // TODO/LATER: make this alltogether a method in the EmbeddedObjectContainer + // TODO/LATER: make this altogether a method in the EmbeddedObjectContainer // create a unique name for the duplicate object if( bDuplicate ) diff --git a/sw/inc/IInterface.hxx b/sw/inc/IInterface.hxx index fd7f9dd7d16c..5d724dd786cb 100644 --- a/sw/inc/IInterface.hxx +++ b/sw/inc/IInterface.hxx @@ -28,7 +28,7 @@ { public: - /** Aquire a reference to an instance. A caller shall release + /** Acquire a reference to an instance. A caller shall release the instance by calling 'release' when it is no longer needed. 'acquire' and 'release' calls need to be balanced. @@ -38,7 +38,7 @@ virtual sal_Int32 acquire() = 0; /** Releases a reference to an instance. A caller has to call - 'release' when a before aquired reference to an instance + 'release' when a before acquired reference to an instance is no longer needed. 'acquire' and 'release' calls need to be balanced. diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx index 8b814d5553d9..4ac7e3157a0f 100644 --- a/sw/inc/SwNumberTree.hxx +++ b/sw/inc/SwNumberTree.hxx @@ -451,7 +451,7 @@ protected: /** Invalidates a child. - Calls SetLastValid for the preceeding sibling of the child and + Calls SetLastValid for the preceding sibling of the child and notifies all invalid children. @param pChild the child to invalidate @@ -485,7 +485,7 @@ protected: @param aItLastValid iterator pointing to the new last valid child @param bValidating - true always set the last valid node to aItLastValid - - false only set if aItLastValid is preceeding + - false only set if aItLastValid is preceding the current last valid node */ void SetLastValid(tSwNumberTreeChildren::const_iterator aItLastValid, diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index cafb7511f0b1..20a04ef07658 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -111,7 +111,7 @@ class SwAccessibleMap : public ::accessibility::IAccessibleViewForwarder, //mpSelectedFrmMap contains the old selected objects. SwAccessibleContextMap_Impl *mpSeletedFrmMap; - //IvalidateShapeInParaSelection() method is reponsible for the updating the selected states of the objects. + //IvalidateShapeInParaSelection() method is responsible for the updating the selected states of the objects. void InvalidateShapeInParaSelection(); void _InvalidateRelationSet( const SwFrm* pFrm, bool bFrom ); diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx index b12a0120f7a9..8c01106fd179 100644 --- a/sw/inc/pagepreviewlayout.hxx +++ b/sw/inc/pagepreviewlayout.hxx @@ -434,7 +434,7 @@ public: @param _orNewStartPos output parameter - new start position in document preview - @return boolean - indicating, that move was sucessful. + @return boolean - indicating, that move was successful. */ bool CalcStartValuesForSelectedPageMove( const sal_Int16 _nHoriMove, const sal_Int16 _nVertMove, diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index bc6fa41497c2..3ed00c6dbbd5 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -1721,7 +1721,7 @@ uno::Sequence<PropertyValue> SwAccessibleParagraph::getCharacterAttributes( for( i = 0; i < nLength; i++ ) pIndices[i] = i; sort( &pIndices[0], &pIndices[nLength], IndexCompare(pPairs) ); - // create sorted sequences accoring to index array + // create sorted sequences according to index array uno::Sequence<PropertyValue> aNewValues( nLength ); PropertyValue* pNewValues = aNewValues.getArray(); for( i = 0; i < nLength; i++ ) diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx index 28627bfb4f63..83773efc8589 100644 --- a/sw/source/core/doc/docnum.cxx +++ b/sw/source/core/doc/docnum.cxx @@ -473,8 +473,8 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, short nOffset ) // The following code corrects the range to handle sections (start/end nodes) // The range will be extended if the least node before the range is a start node // which ends inside the range => The complete section will be moved. - // The range will be shrinked if the last position is a start node. - // The range will be shrinked if the last node is an end node which starts before the range. + // The range will be shrunk if the last position is a start node. + // The range will be shrunk if the last node is an end node which starts before the range. aSttRg--; while( aSttRg.GetNode().IsStartNode() ) { diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 284942f66dbb..084f0cbcee62 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -1614,7 +1614,7 @@ static void lcl_ExtendLeftAndRight( SwRect& _rRect, // if ( pFly->IsBackgroundTransparent() ) // { // // Background <pFly> is transparent drawn. Thus normally, its region -// // have not to be substracted from given region. +// // have not to be subtracted from given region. // // But, if method is called for a fly frame and // // <pFly> is a direct lower of this fly frame and // // <pFly> inherites its transparent background brush from its parent, @@ -4652,20 +4652,20 @@ static void lcl_SubTopBottom( SwRect& _iorRect, ( !bCnt || _rAttrs.GetTopLine( _rFrm ) ) ) { - // substract distance between outer and inner line. + // subtract distance between outer and inner line. SwTwips nDist = ::lcl_MinHeightDist( _rBox.GetTop()->GetDistance() ); // OD 19.05.2003 #109667# - non-overlapping border rectangles: // adjust x-/y-position, if inner top line is a hair line (width = 1) bool bIsInnerTopLineHairline = false; if ( !_bPrtOutputDev ) { - // additionally substract width of top outer line + // additionally subtract width of top outer line // --> left/right inner/outer line doesn't overlap top outer line. nDist += ::lcl_AlignHeight( _rBox.GetTop()->GetOutWidth() ); } else { - // OD 29.04.2003 #107169# - additionally substract width of top inner line + // OD 29.04.2003 #107169# - additionally subtract width of top inner line // --> left/right inner/outer line doesn't overlap top inner line. nDist += ::lcl_AlignHeight( _rBox.GetTop()->GetInWidth() ); bIsInnerTopLineHairline = _rBox.GetTop()->GetInWidth() == 1; @@ -4702,20 +4702,20 @@ static void lcl_SubTopBottom( SwRect& _iorRect, ( !bCnt || _rAttrs.GetBottomLine( _rFrm ) ) ) { - // substract distance between outer and inner line. + // subtract distance between outer and inner line. SwTwips nDist = ::lcl_MinHeightDist( _rBox.GetBottom()->GetDistance() ); // OD 19.05.2003 #109667# - non-overlapping border rectangles: // adjust x-/y-position, if inner bottom line is a hair line (width = 1) bool bIsInnerBottomLineHairline = false; if ( !_bPrtOutputDev ) { - // additionally substract width of bottom outer line + // additionally subtract width of bottom outer line // --> left/right inner/outer line doesn't overlap bottom outer line. nDist += ::lcl_AlignHeight( _rBox.GetBottom()->GetOutWidth() ); } else { - // OD 29.04.2003 #107169# - additionally substract width of bottom inner line + // OD 29.04.2003 #107169# - additionally subtract width of bottom inner line // --> left/right inner/outer line doesn't overlap bottom inner line. nDist += ::lcl_AlignHeight( _rBox.GetBottom()->GetInWidth() ); bIsInnerBottomLineHairline = _rBox.GetBottom()->GetInWidth() == 1; diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index 383d77a75a20..70f8896bf3c0 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -2635,7 +2635,7 @@ void SwLayoutFrm::ChgLowersProp( const Size& rOldSize ) } else { - // variable size of body|section frame has shrinked. Thus, + // variable size of body|section frame has shrunk. Thus, // invalidate all lowers not matching the new body|section size // and the dedicated new last lower. if( bVert ) diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx index 1a65e031f4f9..459ba53d053c 100644 --- a/sw/source/core/text/guess.cxx +++ b/sw/source/core/text/guess.cxx @@ -371,7 +371,7 @@ bool SwTxtGuess::Guess( const SwTxtPortion& rPor, SwTxtFormatInfo &rInf, // if we are formatting multi portions we want to allow line breaks // at the border between single line and multi line portion - // we have to be carefull with footnote portions, they always come in + // we have to be careful with footnote portions, they always come in // with an index 0 if ( nBreakPos < rInf.GetLineStart() && rInf.IsFirstMulti() && ! rInf.IsFtnInside() ) diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx index d08e336bff78..98556aa2f1b4 100644 --- a/sw/source/core/text/txtdrop.cxx +++ b/sw/source/core/text/txtdrop.cxx @@ -728,7 +728,7 @@ void SwDropCapCache::CalcFontSize( SwDropPortion* pDrop, SwTxtFormatInfo &rInf ) bool bGrow = ( pDrop->GetLen() != 0 ); - // for growing controll + // for growing control long nMax = KSHRT_MAX; long nMin = 0; #if OSL_DEBUG_LEVEL > 1 diff --git a/sw/source/core/uibase/dbui/maildispatcher.cxx b/sw/source/core/uibase/dbui/maildispatcher.cxx index 2208f1a122be..a384fe855fa0 100644 --- a/sw/source/core/uibase/dbui/maildispatcher.cxx +++ b/sw/source/core/uibase/dbui/maildispatcher.cxx @@ -103,7 +103,7 @@ MailDispatcher::MailDispatcher(uno::Reference<mail::XSmtpService> mailserver) : throw uno::RuntimeException(); // wait until the mail dispatcher thread is really alive - // and has aquired a reference to this instance of the + // and has acquired a reference to this instance of the // class mail_dispatcher_active_.wait(); } @@ -225,7 +225,7 @@ void MailDispatcher::sendMailMessageNotifyListener(uno::Reference<mail::XMailMes void MailDispatcher::run() { - // aquire a self reference in order to avoid race + // acquire a self reference in order to avoid race // conditions. The last client of this class must // call shutdown before releasing his last reference // to this class in order to shutdown this thread diff --git a/sw/source/core/uibase/dbui/swdbtoolsclient.cxx b/sw/source/core/uibase/dbui/swdbtoolsclient.cxx index f1bde42dcd4e..2c1ce9a99551 100644 --- a/sw/source/core/uibase/dbui/swdbtoolsclient.cxx +++ b/sw/source/core/uibase/dbui/swdbtoolsclient.cxx @@ -157,7 +157,7 @@ void SwDbtoolsClient::getFactory() if (pDBTFactory) { m_xDataAccessFactory = pDBTFactory; - // by definition, the factory was aquired once + // by definition, the factory was acquired once m_xDataAccessFactory->release(); } } diff --git a/sw/source/core/uibase/docvw/PostItMgr.cxx b/sw/source/core/uibase/docvw/PostItMgr.cxx index 77358d500b5f..d51ebff2b082 100644 --- a/sw/source/core/uibase/docvw/PostItMgr.cxx +++ b/sw/source/core/uibase/docvw/PostItMgr.cxx @@ -148,7 +148,7 @@ SwPostItMgr::SwPostItMgr(SwView* pView) SW_MOD()->GetRedlineAuthor(); // collect all PostIts and redline comments that exist after loading the document - // don't check for existance for any of them, don't focus them + // don't check for existence for any of them, don't focus them AddPostIts(false,false); /* this code can be used once we want redline comments in the Sidebar AddRedlineComments(false,false); diff --git a/sw/source/core/uibase/sidebar/WrapPropertyPanel.hxx b/sw/source/core/uibase/sidebar/WrapPropertyPanel.hxx index e427947a6dd7..25b483bda3b5 100644 --- a/sw/source/core/uibase/sidebar/WrapPropertyPanel.hxx +++ b/sw/source/core/uibase/sidebar/WrapPropertyPanel.hxx @@ -68,7 +68,7 @@ namespace sw { namespace sidebar { //Image resource. ImageList aWrapIL; - //Controler Items================================== + //Controller Items================================== ::sfx2::sidebar::ControllerItem maSwNoWrapControl; ::sfx2::sidebar::ControllerItem maSwWrapLeftControl; ::sfx2::sidebar::ControllerItem maSwWrapRightControl; diff --git a/sw/source/core/uibase/uno/unodispatch.cxx b/sw/source/core/uibase/uno/unodispatch.cxx index d05572238cf7..36589b1124f8 100644 --- a/sw/source/core/uibase/uno/unodispatch.cxx +++ b/sw/source/core/uibase/uno/unodispatch.cxx @@ -49,7 +49,7 @@ SwXDispatchProviderInterceptor::SwXDispatchProviderInterceptor(SwView& rVw) : m_refCount++; m_xIntercepted->registerDispatchProviderInterceptor((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((lang::XEventListener*)this); diff --git a/sw/source/core/uibase/wrtsh/select.cxx b/sw/source/core/uibase/wrtsh/select.cxx index 9b13bab85f84..76a4c2eb8d66 100644 --- a/sw/source/core/uibase/wrtsh/select.cxx +++ b/sw/source/core/uibase/wrtsh/select.cxx @@ -51,7 +51,7 @@ static bool bStartDrag = false; void SwWrtShell::Invalidate() { - // to avoid making the slot volatile, invalidate it everytime if something could have been changed + // to avoid making the slot volatile, invalidate it every time if something could have been changed // this is still much cheaper than asking for the state every 200 ms (and avoid background processing) GetView().GetViewFrame()->GetBindings().Invalidate( FN_STAT_SELMODE ); SwWordCountWrapper *pWrdCnt = (SwWordCountWrapper*)GetView().GetViewFrame()->GetChildWindow(SwWordCountWrapper::GetChildWindowId()); diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 1b5dda1d89a7..a0a532c0b010 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -1853,7 +1853,7 @@ void HTMLEndPosLst::Insert( const SfxPoolItem& rItem, } // the hint starts before the next script change and ends behind - // it, so we can insert a hint upto the next script change and + // it, so we can insert a hint up to the next script change and // continue with the rest of the hint. if( bDependsOnAnyScript || nScript == aScriptLst[i] ) InsertNoScript( rItem, nPos, nChgPos, rFmtInfos, bParaAttrs ); diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx index 628c6e3aa681..be1ac1c01714 100644 --- a/sw/source/filter/html/htmlgrin.cxx +++ b/sw/source/filter/html/htmlgrin.cxx @@ -1292,7 +1292,7 @@ bool SwHTMLParser::HasCurrentParaBookmarks( bool bIgnoreStack ) const if( !bHasMarks ) { - // second step: when we didnt find a bookmark, check if there is one set already + // second step: when we didn't find a bookmark, check if there is one set already IDocumentMarkAccess* const pMarkAccess = pDoc->getIDocumentMarkAccess(); for(IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getAllMarksBegin(); ppMark != pMarkAccess->getAllMarksEnd(); diff --git a/sw/source/filter/inc/msfilter.hxx b/sw/source/filter/inc/msfilter.hxx index e6b105dfda21..babfc7eeba27 100644 --- a/sw/source/filter/inc/msfilter.hxx +++ b/sw/source/filter/inc/msfilter.hxx @@ -163,7 +163,7 @@ namespace sw alternative name for one of them.. And it needs to report to the importer if the style being mapped to - was already in existance, for the cut and paste/insert file mode we + was already in existence, for the cut and paste/insert file mode we should not modify the returned style if it is already in use as it is does not belong to us to change. @@ -223,7 +223,7 @@ namespace sw alternative name for one of them.. And it needs to report to the importer if the style being mapped to - was already in existance, for the cut and paste/insert file mode we + was already in existence, for the cut and paste/insert file mode we should not modify the returned style if it is already in use as it is does not belong to us to change. @@ -466,7 +466,7 @@ namespace sw RTF format, not necessary for a unicode aware format like WW8+ @return STL container of CharRuns which describe the shared - direction, script and optionally script of the contigious sequences + direction, script and optionally script of the contiguous sequences of characters @author diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index c6572c4a888d..36d4637f6fc8 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -206,7 +206,7 @@ void RtfAttributeOutput::RTLAndCJKState( bool bIsRTL, sal_uInt16 nScript ) SAL_INFO("sw.rtf", OSL_THIS_FUNC); /* You would have thought that - m_rExport.Strm() << (bIsRTL ? OOO_STRING_SVTOOLS_RTF_RTLCH : OOO_STRING_SVTOOLS_RTF_LTRCH); would be sufficent here , + m_rExport.Strm() << (bIsRTL ? OOO_STRING_SVTOOLS_RTF_RTLCH : OOO_STRING_SVTOOLS_RTF_LTRCH); would be sufficient here , but looks like word needs to see the other directional token to be satisified that all is kosher, otherwise it seems in ver 2003 to go and semi-randomlyly stick strike through about the place. Perhaps diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx index ceea59d6b7ef..37f50b4fe052 100644 --- a/sw/source/filter/ww8/writerwordglue.cxx +++ b/sw/source/filter/ww8/writerwordglue.cxx @@ -56,7 +56,7 @@ namespace myImplHelpers { /* The normal case for reexporting word docs is to have dynamic spacing, - as this is word's only setting, and the reason for the existance of the + as this is word's only setting, and the reason for the existence of the dynamic spacing features. If we have dynamic spacing active then we can add its spacing to the value height of the h/f and get the wanted total size for word. @@ -585,7 +585,7 @@ namespace sw if (bSplitOnCharSet) { - //Split unicode text into plausable 8bit ranges for export to + //Split unicode text into plausible 8bit ranges for export to //older non unicode aware format sal_Int32 nLen = rTxt.getLength(); sal_Int32 nPos = 0; diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index a2c5083d53a0..68129234e555 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -455,7 +455,7 @@ void SwWW8AttrIter::OutAttr( sal_Int32 nSwPos, bool bRuby ) } /* - For #i24291# we need to explictly remove any properties from the + For #i24291# we need to explicitly remove any properties from the aExportSet which a SwCharFmt would override, we can't rely on word doing this for us like writer does */ diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx index 4c96d5e069f7..f8bdeab9991e 100644 --- a/sw/source/filter/ww8/wrtww8gr.cxx +++ b/sw/source/filter/ww8/wrtww8gr.cxx @@ -104,7 +104,7 @@ bool WW8Export::TestOleNeedsGraphic(const SwAttrSet& rSet, switch (pItem->Which()) { /* - For an inline object these properties are irrelevent because they + For an inline object these properties are irrelevant because they will be the same as the defaults that msword applies in their absence, so if that is all that there is for these inline objects then if there turns out to be enough information in the object diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx index b56df4c10638..359b33e5dff0 100644 --- a/sw/source/filter/ww8/ww8graf2.cxx +++ b/sw/source/filter/ww8/ww8graf2.cxx @@ -519,7 +519,7 @@ SwFrmFmt* SwWW8ImplReader::ImportGraf(SdrTextObj* pTextObj, ##835## Disable use of main stream as fallback stream for inline direct blips as it is known that they are directly after the record - header, testing for existance in main stream may lead to an + header, testing for existence in main stream may lead to an incorrect fallback graphic being found if other escher graphics have been inserted in the document */ diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index a8c01e9efecb..829419bcfa61 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -1841,7 +1841,7 @@ void SwWW8ImplReader::ImportDop() // COMPATIBILITY FLAGS START - // #i78951# - remember the unknown compatability options + // #i78951# - remember the unknown compatibility options // so as to export them out rDoc.Setn32DummyCompatabilityOptions1( pWDop->GetCompatabilityOptions()); rDoc.Setn32DummyCompatabilityOptions2( pWDop->GetCompatabilityOptions2()); diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index e017515a259d..002c501133a7 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -1969,7 +1969,7 @@ WW8TabDesc::WW8TabDesc(SwWW8ImplReader* pIoClass, WW8_CP nStartCp) : ApoTestResults aApo = pIo->TestApo(pIo->nInTable + 1, false, pTabPos); /* - ##513##, #79474# If this is not sufficent, then we should look at + ##513##, #79474# If this is not sufficient, then we should look at sprmPD{y|x}aAbs as our indicator that the following set of rows is not part of this table, but instead is an absolutely positioned table outside of this one @@ -2212,7 +2212,7 @@ void WW8TabDesc::CalcDefaults() /* If the last cell was "false" then there is no valid cell following it, so the default mapping forward wont't work. So map it (and - contigious invalid cells backwards to the last valid cell instead. + contiguous invalid cells backwards to the last valid cell instead. */ if (i && pR->bExist[i-1] == false) { diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 45c877105e26..8554ff0d73ad 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -1140,7 +1140,7 @@ bookmarks were set with SET or ASK. (See SwWW8FltRefStack) The other piece of the puzzle is that refs that point to the "location" of the bookmark will in word actually point to the last location where the bookmark -was set with SET or ASK, not the actual bookmark. This is only noticable when +was set with SET or ASK, not the actual bookmark. This is only noticeable when a document sets the bookmark more than once. This is because word places the true bookmark at the location of the last set, but the refs will display the position of the first set before the ref. @@ -3168,7 +3168,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, OUString& rStr ) { case TOX_CONTENT: { - //If we would be created from outlines, either explictly or by default + //If we would be created from outlines, either explicitly or by default //then see if we need extra styles added to the outlines sal_uInt16 eEffectivelyFrom = eCreateFrom ? eCreateFrom : nsSwTOXElement::TOX_OUTLINELEVEL; if (eEffectivelyFrom & nsSwTOXElement::TOX_OUTLINELEVEL) diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 90dbe058d59d..8836d3026284 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -1748,7 +1748,7 @@ WW8SwFlyPara::WW8SwFlyPara( SwPaM& rPaM, /* #95905#, #83307# seems to have gone away now, so reenable parallel wrapping support for frames in headers/footers. I don't know if we truly - have an explictly specified behaviour for these circumstances. + have an explicitly specified behaviour for these circumstances. */ nHeight = rWW.nSp45; @@ -2425,12 +2425,12 @@ void SwWW8ImplReader::StopApo() stack of attributes normally only places them into the document when the current insertion point has passed them by. Otherwise the end point of the attribute gets pushed along with the insertion point. The - insertion point is moved and the properties commited during + insertion point is moved and the properties committed during MoveOutsideFly. We also may want to remove the final paragraph in the frame, but we need to wait until the properties for that frame text - have been commited otherwise they will be lost. So we first get a + have been committed otherwise they will be lost. So we first get a handle to the last the filter inserted. After the attributes are - commited, if that paragraph exists we join it with the para after it + committed, if that paragraph exists we join it with the para after it that comes with the frame by default so that as normal we don't end up with one more paragraph than we wanted. */ @@ -2765,7 +2765,7 @@ void SwWW8ImplReader::Read_BoldUsw( sal_uInt16 nId, const sal_uInt8* pData, shor nI = nContigiousWestern; // The out of sequence western id else { - // The contigious western ids + // The contiguous western ids if (eVersion <= ww::eWW2) nI = static_cast< sal_uInt8 >(nId - 60); else if (eVersion < ww::eWW8) diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 488d94f09e83..cf42ae894e7c 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -4772,7 +4772,7 @@ void WW8PLCFMan::AdvSprm(short nIdx, bool bStart) settings its end to the current start, then store the starting position of the current range to clipstart. The pPcd sprms will end as normal (albeit earlier than originally expected), - and the existance of a clipstart will force the pPcd iterater + and the existence of a clipstart will force the pPcd iterater to reread the current set of sprms instead of advancing to its next set. Then the clipstart will be set as the starting position which will force them to be applied directly after diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx index 57dcf19cf30d..587b8f9448d7 100644 --- a/sw/source/filter/ww8/ww8scan.hxx +++ b/sw/source/filter/ww8/ww8scan.hxx @@ -491,7 +491,7 @@ public: sal_uInt8* mpData; sal_uInt16 mnLen; - sal_uInt16 mnIStd; // only for Fkp.Papx (actualy Style-Nr) + sal_uInt16 mnIStd; // only for Fkp.Papx (actually Style-Nr) bool mbMustDelete; explicit Entry(WW8_FC nFC) : mnFC(nFC), mpData(0), mnLen(0), diff --git a/sw/source/filter/ww8/ww8struc.hxx b/sw/source/filter/ww8/ww8struc.hxx index fe2c5aabfd31..12c7236cd7cf 100644 --- a/sw/source/filter/ww8/ww8struc.hxx +++ b/sw/source/filter/ww8/ww8struc.hxx @@ -846,7 +846,7 @@ struct WW8_PCD // properties of the piece. }; -// AnnoTation Refernce Descriptor (ATRD) +// AnnoTation References Descriptor (ATRD) struct WW8_ATRD // fuer die 8-Version { SVBT16 xstUsrInitl[ 10 ]; // pascal-style String holding initials diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index c4f1ab878a17..3af249ca9c59 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -1311,7 +1311,7 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC // SO8. Unfortunately, only part of it and by using the same compatibility option // like in SO8. Therefore documents generated with SO7pp4, containing // numbered paragraphs with first line indent differ between SO7pp4 and - // SO8. In order to fix this for SO8pp1, I introduce a new compatiblity + // SO8. In order to fix this for SO8pp1, I introduce a new compatibility // flag 'bIgnoreFirstLineIndentInNumbering'. This flag has to be set for all // documents < SO8, but not for SO8. So if the property is not present, the // flag will be set to 'true'. SO8 documents surely have the diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 6f2feb5eae65..d129574b808e 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2491,7 +2491,7 @@ void SwXMLTableContext::_MakeTable( SwTableBox *pBox ) sal_Int32 nExtraRel = nRelWidth - (nRelCols * nMinRelColWidth); // The absolute space that may be distributed in addition to - // minumum widthed columns. + // minimum widthed columns. sal_Int32 nMinAbs = nRelCols * MINLAY; sal_Int32 nExtraAbs = nAbsForRelWidth > nMinAbs ? nAbsForRelWidth - nMinAbs : (sal_Int32)0L; diff --git a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs index e17cf205b407..c8d751c67a7b 100644 --- a/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs +++ b/swext/mediawiki/src/registry/schema/org/openoffice/Office/Custom/WikiExtension.xcs @@ -147,13 +147,13 @@ <info><desc>The text asking whether a new wiki page should be created.</desc></info> </prop> <prop oor:name="Dlg_SendToMediaWiki_Label1" oor:type="xs:string" oor:localized="true"> - <info><desc>The label reffering to the MediaWiki server selection.</desc></info> + <info><desc>The label referring to the MediaWiki server selection.</desc></info> </prop> <prop oor:name="Dlg_SendToMediaWiki_Label2" oor:type="xs:string" oor:localized="true"> - <info><desc>The label reffering to the input of wiki article title.</desc></info> + <info><desc>The label referring to the input of wiki article title.</desc></info> </prop> <prop oor:name="Dlg_SendToMediaWiki_Label3" oor:type="xs:string" oor:localized="true"> - <info><desc>The label reffering to the comments input.</desc></info> + <info><desc>The label referring to the comments input.</desc></info> </prop> <prop oor:name="Dlg_SendToMediaWiki_MinorCheck" oor:type="xs:string" oor:localized="true"> <info><desc>Text for checkbox specifying whether it is a minor input.</desc></info> diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 6afa075485ba..b7e48d50af36 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -1312,7 +1312,7 @@ void VCLXWindow::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds, bool bWithDe for( iter = rIds.begin(); iter != rIds.end(); ++iter) { if( *iter == BASEPROPERTY_FONTDESCRIPTOR ) { - // some properties are not included in the FontDescriptor, but everytime + // some properties are not included in the FontDescriptor, but every time // when we have a FontDescriptor we want to have these properties too. // => Easier to register the here, istead everywhere where I register the FontDescriptor... diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index b9ae11fc3ce2..7c01058b290a 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -490,7 +490,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception) OSL_ENSURE( xDialogDevice.is(), "UnoDialogControl::windowResized: no peer, but a windowResized event?" ); // #i87592 In design mode the drawing layer works with sizes with decoration. - // Therefore we have to substract them before writing back to the properties (model). + // Therefore we have to subtract them before writing back to the properties (model). if ( xDialogDevice.is() && mbDesignMode ) { DeviceInfo aDeviceInfo( xDialogDevice->getInfo() ); diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index cce2b3be406f..cb8b7a5df7b9 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -644,7 +644,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent VCLXWindow* pPeer = pVclPeer ? pVclPeer->GetWindowPeer() : NULL; VclListenerLock aNoVclEventMultiplexing( pPeer ); - // setting peer properties may result in an attemp to acquire the solar mutex, 'cause the peers + // setting peer properties may result in an attempt to acquire the solar mutex, 'cause the peers // usually don't have an own mutex but use the SolarMutex instead. // To prevent deadlocks resulting from this, we do this without our own mutex locked std::vector< PropertyValue >::iterator aEnd = aPeerPropertiesToSet.end(); @@ -1279,7 +1279,7 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer // this is necessary as our peer may lock the SolarMutex (actually, all currently known peers do), so calling // into the peer with our own mutex locked may cause deadlocks // (We _really_ need peers which do not use the SolarMutex. It's really pissing me off that from time to - // time deadlocks pop up because the low-level components like our peers use a mutex which ususally + // time deadlocks pop up because the low-level components like our peers use a mutex which usually // is locked at the top of the stack (it protects the global message looping). This is always dangerous, and // can not always be solved by tampering with other mutexes. // Unfortunately, the VCL used in the peers is not threadsafe, and by definition needs a locked SolarMutex.) diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 26ad1150424b..3b2c0363da46 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -389,7 +389,7 @@ void UnoControlModel::ImplRegisterProperty( sal_uInt16 nPropId ) if ( nPropId == BASEPROPERTY_FONTDESCRIPTOR ) { - // some properties are not included in the FontDescriptor, but everytime + // some properties are not included in the FontDescriptor, but every time // when we have a FontDescriptor we want to have these properties too. // => Easier to register the here, istead everywhere where I register the FontDescriptor... diff --git a/toolkit/test/accessibility/AccTreeNode.java b/toolkit/test/accessibility/AccTreeNode.java index a1ed20702953..50fc1b55cf2d 100644 --- a/toolkit/test/accessibility/AccTreeNode.java +++ b/toolkit/test/accessibility/AccTreeNode.java @@ -343,7 +343,7 @@ class AccTreeNode /** Update the specified handlers. @return - The returned array containes the indices of the updated children + The returned array contains the indices of the updated children and can be used to create a TreeModelEvent. */ public java.util.List<Integer> updateChildren (java.lang.Class class1) diff --git a/toolkit/test/accessibility/EventQueue.java b/toolkit/test/accessibility/EventQueue.java index 5366001f3b39..c9ab467026ca 100644 --- a/toolkit/test/accessibility/EventQueue.java +++ b/toolkit/test/accessibility/EventQueue.java @@ -22,7 +22,7 @@ import java.util.LinkedList; applications in a thread separate from the AWB main thread. The queue of event objects, LinkedList<Runnable> The queue object will - also serve as lock for the consumer/producer type syncronization. + also serve as lock for the consumer/producer type synchronization. */ class EventQueue implements Runnable diff --git a/toolkit/test/accessibility/QueuedTopWindowListener.java b/toolkit/test/accessibility/QueuedTopWindowListener.java index 4a8a5ae3309b..921fef1a37fd 100644 --- a/toolkit/test/accessibility/QueuedTopWindowListener.java +++ b/toolkit/test/accessibility/QueuedTopWindowListener.java @@ -71,7 +71,7 @@ class QueuedTopWindowListener public void windowActivated (final com.sun.star.lang.EventObject aEvent) throws RuntimeException { - System.out.println ("QueuedTopWindowListener: Top window actived: " + aEvent); + System.out.println ("QueuedTopWindowListener: Top window activated: " + aEvent); } public void windowDeactivated (final com.sun.star.lang.EventObject aEvent) diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx index 4bff3622518d..7ef7df199f4f 100644 --- a/tools/source/generic/poly2.cxx +++ b/tools/source/generic/poly2.cxx @@ -342,7 +342,7 @@ void PolyPolygon::ImplDoOperation( const PolyPolygon& rPolyPoly, PolyPolygon& rR case POLY_CLIP_DIFF: { - // substract B from A (DIFF) + // subtract B from A (DIFF) aMergePolyPolygonA = basegfx::tools::solvePolygonOperationDiff(aMergePolyPolygonA, aMergePolyPolygonB); break; } diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index bf9c3d86d6ac..55610d82d7c6 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -243,7 +243,7 @@ InternalResMgr* ResMgrContainer::getResMgr( const OUString& rPrefix, it = m_aResFiles.find( aSearch ); if( it != m_aResFiles.end() ) { - // ensure InternalResMgr existance + // ensure InternalResMgr existence if( ! it->second.pResMgr ) { InternalResMgr* pImp = @@ -269,7 +269,7 @@ InternalResMgr* ResMgrContainer::getResMgr( const OUString& rPrefix, { if( it->first.matchIgnoreAsciiCase( rPrefix ) ) { - // ensure InternalResMgr existance + // ensure InternalResMgr existence if( ! it->second.pResMgr ) { InternalResMgr* pImp = diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 87b9f5ac722c..e9d311182560 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -2319,7 +2319,7 @@ shell::commit( const shell::ContentMap::iterator& it, } else { - // extremly ugly, but otherwise default construction + // extremely ugly, but otherwise default construction // of aDirItem and aFileStatus2 // before the preciding if isVolume = osl::FileStatus::Volume == aFileStatus.getFileType(); diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx index 2a49e3d5b181..3b83f6d692e6 100644 --- a/ucb/source/ucp/ftp/ftpurl.hxx +++ b/ucb/source/ucp/ftp/ftpurl.hxx @@ -121,7 +121,7 @@ namespace ftp { throw(curl_exception); // returns a pointer to an open tempfile, - // seeked to the beginning of. + // sought to the beginning of. oslFileHandle open() throw(curl_exception); FTPDirentry direntry() const diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 294c1d87293a..62e44d33fcf9 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -132,7 +132,7 @@ void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ ) throw( uno::RuntimeException, std::exception ) { //TODO - //stick a map from each CommandId to a new GCancellable and propogate + //stick a map from each CommandId to a new GCancellable and propagate //it throughout the g_file_* calls } diff --git a/udkapi/com/sun/star/lang/XUnoTunnel.idl b/udkapi/com/sun/star/lang/XUnoTunnel.idl index edd3698ca31c..0b96ccc18fe2 100644 --- a/udkapi/com/sun/star/lang/XUnoTunnel.idl +++ b/udkapi/com/sun/star/lang/XUnoTunnel.idl @@ -31,7 +31,7 @@ module com { module sun { module star { module lang { something else, which is not specified by UNO-IDL. @attention - Restrictive useage. Use only, if there is no better possibility left. + Restrictive usage. Use only, if there is no better possibility left. It is definitely a hack. <p> diff --git a/udkapi/com/sun/star/registry/DefaultRegistry.idl b/udkapi/com/sun/star/registry/DefaultRegistry.idl index a87e9e6a3ba2..2e4bbad1d3ee 100644 --- a/udkapi/com/sun/star/registry/DefaultRegistry.idl +++ b/udkapi/com/sun/star/registry/DefaultRegistry.idl @@ -60,7 +60,7 @@ <dl> <dt> <b>openKey</b> </dt> - <dd> returns a virtual key which is specified in the local or the sytem + <dd> returns a virtual key which is specified in the local or the system registry. </dd> <dt> <b>deleteKey</b> diff --git a/udkapi/com/sun/star/script/Converter.idl b/udkapi/com/sun/star/script/Converter.idl index e90b3f4f8be6..6b46d6f8346d 100644 --- a/udkapi/com/sun/star/script/Converter.idl +++ b/udkapi/com/sun/star/script/Converter.idl @@ -65,7 +65,7 @@ <li>10: only converts if it is the same enumeration type.</li> <li>11: only converts if the string contains the name of an enumeration type value. Normally you need core reflection information of the enum type.</li> - <li>12: only converts if the value of the string is "1", "true" or "0", "false". The comparision + <li>12: only converts if the value of the string is "1", "true" or "0", "false". The comparison is case insensitive.</li> <li>13: only converts if the length of the string is 1 or 0.</li> <li>14: only converts if the types are equal or the source type is derived from the destination diff --git a/udkapi/com/sun/star/script/XLibraryAccess.idl b/udkapi/com/sun/star/script/XLibraryAccess.idl index effbb32a2318..0fde430840df 100644 --- a/udkapi/com/sun/star/script/XLibraryAccess.idl +++ b/udkapi/com/sun/star/script/XLibraryAccess.idl @@ -38,7 +38,7 @@ published interface XLibraryAccess: com::sun::star::uno::XInterface otherwise it returns `FALSE`. @param aFunctionName - the fully qualified name of a funtion. + the fully qualified name of a function. (e.g., "UtilLibrary.ModuleDate.FunctionCurrentDate") */ boolean isFunction( [in] string aFunctionName ); diff --git a/udkapi/com/sun/star/uri/UriReferenceFactory.idl b/udkapi/com/sun/star/uri/UriReferenceFactory.idl index 514091dc2ab4..d6b39842b5bf 100644 --- a/udkapi/com/sun/star/uri/UriReferenceFactory.idl +++ b/udkapi/com/sun/star/uri/UriReferenceFactory.idl @@ -40,7 +40,7 @@ published interface XUriReferenceFactory; com::sun::star::uri::XUriReference.</p> <p>Locating a scheme-specific parser works as follows: A scheme consists of - Latin captial letters + Latin capital letters “<code>A</code>”–“<code>Z</code>”, Latin small letters “<code>a</code>”–“<code>z</code>”, digits “<code>0</code>”–“<code>9</code>”, diff --git a/udkapi/com/sun/star/uri/XUriReferenceFactory.idl b/udkapi/com/sun/star/uri/XUriReferenceFactory.idl index 145ee66c159c..133f1f3cf23d 100644 --- a/udkapi/com/sun/star/uri/XUriReferenceFactory.idl +++ b/udkapi/com/sun/star/uri/XUriReferenceFactory.idl @@ -91,7 +91,7 @@ published interface XUriReferenceFactory: com::sun::star::uno::XInterface { [in] RelativeUriExcessParentSegments excessParentSegments); /** - changes an absolute URI refrence to relative form. + changes an absolute URI reference to relative form. @param baseUriReference the base URI reference. diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index 292b80f8a853..75f5a2d26c9d 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -295,7 +295,7 @@ bool SAL_CALL GlobalEventConfig_Impl::hasByName( const OUString& aName ) throw ( Type SAL_CALL GlobalEventConfig_Impl::getElementType( ) throw (RuntimeException) { - //DF definitly not sure about this?? + //DF definitely not sure about this?? return ::getCppuType((const Sequence<beans::PropertyValue>*)0); } diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index d84a6c5ee761..022a2cec9fed 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -978,7 +978,7 @@ bool SvtLinguConfig::GetDictionaryEntry( DBG_ASSERT( !aFormatName.isEmpty(), "Dictionary format name not set" ); DBG_ASSERT( aLocaleNames.getLength(), "No locales set for the dictionary" ); - // if sucessful continue + // if successful continue if (bSuccess) { // get file URL's for the locations diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx index c6171d731d51..4e98e5abf807 100644 --- a/unoxml/source/dom/element.cxx +++ b/unoxml/source/dom/element.cxx @@ -213,7 +213,7 @@ namespace DOM /* this is not relly allowed by the DOM spec, but this implementation has evidently supported it (by special case handling, so the attribute does not actually become a child) - so allow it for backward compatiblity */ + so allow it for backward compatibility */ return true; default: return false; diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx index 6df9bb934f4a..1fae82634eca 100644 --- a/uui/source/fltdlg.cxx +++ b/uui/source/fltdlg.cxx @@ -118,7 +118,7 @@ void FilterDialog::ChangeFilters( const FilterNameList* pFilterNames ) @param "pSelectedItem", returns result of selection as pointer into set list of filter names (valid for function return sal_True only!) @return true => pSelectedItem parameter points into name list and represent use decision - false => use has cancelled dialog (pSelectedItem isnt valid then!) + false => use has cancelled dialog (pSelectedItem isn't valid then!) @onerror We return false ... but don't change pSelectedItem! @threadsafe no diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx index 145fe1b8e281..4b82ca30cd9a 100644 --- a/vcl/generic/fontmanager/parseAFM.cxx +++ b/vcl/generic/fontmanager/parseAFM.cxx @@ -45,7 +45,7 @@ /* parseAFM.c * - * This file is used in conjuction with the parseAFM.h header file. + * This file is used in conjunction with the parseAFM.h header file. * This file contains several procedures that are used to parse AFM * files. It is intended to work with an application program that needs * font metric information. The program can be used as is by making a diff --git a/vcl/generic/fontmanager/parseAFM.hxx b/vcl/generic/fontmanager/parseAFM.hxx index f77f84a6ea4e..2d25a2731cda 100644 --- a/vcl/generic/fontmanager/parseAFM.hxx +++ b/vcl/generic/fontmanager/parseAFM.hxx @@ -37,7 +37,7 @@ /* ParseAFM.h * - * This header file is used in conjuction with the parseAFM.c file. + * This header file is used in conjunction with the parseAFM.c file. * Together these files provide the functionality to parse Adobe Font * Metrics files and store the information in predefined data structures. * It is intended to work with an application program that needs font metric @@ -300,7 +300,7 @@ typedef struct * * "fp" should be a valid file pointer to an AFM file. * - * "fi" is a pointer to a pointer to a FontInfo record sturcture + * "fi" is a pointer to a pointer to a FontInfo record structure * (defined above). Storage for the FontInfo structure will be * allocated in parseFile and the structure will be filled in * with the requested data from the AFM File. diff --git a/vcl/inc/generic/printerjob.hxx b/vcl/inc/generic/printerjob.hxx index 3466025318b1..218a4b551f07 100644 --- a/vcl/inc/generic/printerjob.hxx +++ b/vcl/inc/generic/printerjob.hxx @@ -103,7 +103,7 @@ public: * to named file. * nMode: only meaningful when saving to file: if nonzero, try * to impose the mode on the resulting file's inode; for nonexistant - * files use open, for existant files try a chmod + * files use open, for existent files try a chmod * rJobName: text to appear in the %%Title comment * rAppName: text to appear in the %%Creator comment * rSetupData: JobData that apply to this job diff --git a/vcl/inc/unx/XIM.h b/vcl/inc/unx/XIM.h index 8826148ee5bb..0a330003eed9 100644 --- a/vcl/inc/unx/XIM.h +++ b/vcl/inc/unx/XIM.h @@ -39,7 +39,7 @@ typedef struct _XIMAnnotation { } XIMAnnotation; /* - XIMUText: XIMText extention for UTF16 + XIMUText: XIMText extension for UTF16 */ typedef struct _XIMUnicodeText { unsigned short length; diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index 67aacce3e8ec..a03e1110dd0f 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -84,7 +84,7 @@ static const sal_Char* pDbgHelpText[] = "exception handler is called.\n", "\n", "Dialog\n", -"FixedTexts, CheckBoxes, TriStateBoxes and RadioButtons are equiped with " +"FixedTexts, CheckBoxes, TriStateBoxes and RadioButtons are equipped with " "a different background color to determine the size of the controls. This " "test also shows whether controls overlap, whether the tab order is correct " "and whether the mnemonic characters are correctly assigned. With dialogs " @@ -106,7 +106,7 @@ static const sal_Char* pDbgHelpText[] = "You can indicate where the data will be output:\n", "\n", "None\n", -"Output is surpressed.\n", +"Output is suppressed.\n", "\n", "File\n", "Outputi n debug file. Filename can be entered in the Editfield.\n", diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index cbde0d4bf038..a0447312a778 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -29,7 +29,7 @@ #include <salmenu.hxx> // this file contains the virtual destructors of the sal interface -// compilers ususally put their vtables where the destructor is +// compilers usually put their vtables where the destructor is SalFrame::~SalFrame() { diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 4638bd04a24e..6cf70e091c41 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -352,7 +352,7 @@ void Button::ImplDrawAlignedImage( OutputDevice* pDev, Point& rPos, aMax.Width() = aTSSize.Width() > aImageSize.Width() ? aTSSize.Width() : aImageSize.Width(); aMax.Height() = aTSSize.Height() > aImageSize.Height() ? aTSSize.Height() : aImageSize.Height(); - // Now calculate the output area for the image and the text acording to the image align flags + // Now calculate the output area for the image and the text according to the image align flags if ( ( eImageAlign == IMAGEALIGN_LEFT ) || ( eImageAlign == IMAGEALIGN_RIGHT ) ) diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 438876e0adfd..8f07bb3355ec 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -1000,7 +1000,7 @@ static void GetNames(TrueTypeFont *t) /* #i60349# sanity check psname * psname parctically has to be 7bit ascii and should not contains spaces - * there is a class of broken fonts which do not fullfill that at all, so let's try + * there is a class of broken fonts which do not fulfill that at all, so let's try * if the family name is 7bit ascii and take it instead if so */ /* check psname */ diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 8a5cd0970c85..da9d07f66295 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -975,7 +975,7 @@ BitmapEx BitmapEx::getTransformed( // aOutlineRange aTransform = rTransformation * aTransform; - // substract top-left of absolute VisibleRange + // subtract top-left of absolute VisibleRange aTransform.translate( -aVisibleRange.getMinX(), -aVisibleRange.getMinY()); diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index e2d522653711..5f825e04f6fc 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -4099,7 +4099,7 @@ bool PDFWriterImpl::emitFonts() if( ((++ni) & 7) == 0 ) aFontDict.append( '\n' ); } - // emit builtin font for widget apperances / variable text + // emit builtin font for widget appearances / variable text for( std::map< sal_Int32, sal_Int32 >::iterator it = m_aBuiltinFontToObjectMap.begin(); it != m_aBuiltinFontToObjectMap.end(); ++it ) { @@ -6241,7 +6241,7 @@ sal_Int32 PDFWriterImpl::emitNamedDestinations() aLine.append( '/' ); appendDestinationName( aName, aLine ); // this conversion must be done when forming the link to target ( see in emitCatalog ) aLine.append( '[' ); // the '[' can be emitted immediately, because the appendDestinationName function - //maps the preceeding character properly + //maps the preceding character properly aLine.append( rDestPage.m_nPageObject ); aLine.append( " 0 R" ); diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 7f1b3583c85f..26189b83651c 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -971,7 +971,7 @@ i12626 sal_Int32 updateOutlineItemCount( std::vector< sal_Int32 >& rCounts, sal_Int32 nItemLevel, sal_Int32 nCurrentItemId ); - // default appearences for widgets + // default appearances for widgets sal_Int32 findRadioGroupWidget( const PDFWriter::RadioButtonWidget& rRadio ); Font replaceFont( const Font& rControlFont, const Font& rAppSetFont ); sal_Int32 getBestBuiltinFont( const Font& rFont ); diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 30b4b6cc4067..502e120386b2 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1507,7 +1507,7 @@ bool PDFWriterImpl::computeUDictionaryValue( EncHashTransporter* i_pTransporter, else { //or 3.5, for 128 bit security - //step6, initilize the last 16 bytes of the encrypted user password to 0 + //step6, initialize the last 16 bytes of the encrypted user password to 0 for(sal_uInt32 i = MD5_DIGEST_SIZE; i < sal_uInt32(io_rProperties.UValue.size()); i++) io_rProperties.UValue[i] = 0; //step 2 diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 1132d87ac8a1..dcbe378961e3 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -900,7 +900,7 @@ SalPrinterQueueInfo* Printer::ImplGetQueueInfo( const OUString& rPrinterName, ImplPrnQueueList* pPrnList = pSVData->maGDIData.mpPrinterQueueList; if ( pPrnList && pPrnList->m_aQueueInfos.size() ) { - // first search for the printer name driectly + // first search for the printer name directly ImplPrnQueueData* pInfo = pPrnList->Get( rPrinterName ); if( pInfo ) return pInfo->mpSalQueueInfo; diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index a6cfb65ec782..9adf158a138e 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -119,7 +119,7 @@ namespace OSL_ASSERT(aStart.X() == aEnd.X()); // Sort y-coordinates to simplify the algorithm and store the - // direction seperately. The direction is calculated as it is + // direction separately. The direction is calculated as it is // in other places (but seems to be the wrong way.) const long nTop (::std::min(aStart.Y(), aEnd.Y())); const long nBottom (::std::max(aStart.Y(), aEnd.Y())); @@ -207,7 +207,7 @@ namespace pRegionBand->InsertLine( aPoly.GetPoint(nPoint-1), aPoly.GetPoint(nPoint), nLineID++ ); } - // close polygon with line from first point to last point, if neccesary + // close polygon with line from first point to last point, if necessary const Point rLastPoint = aPoly.GetPoint(nSize-1); const Point rFirstPoint = aPoly.GetPoint(0); @@ -696,7 +696,7 @@ bool Region::Exclude( const Rectangle& rRect ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error; cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::Exclude error: Cannot exclude from null region (!)"); return true; @@ -778,7 +778,7 @@ bool Region::XOr( const Rectangle& rRect ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error; cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::XOr error: Cannot XOr with null region (!)"); return true; @@ -1079,7 +1079,7 @@ bool Region::Exclude( const Region& rRegion ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error; cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::Exclude error: Cannot exclude from null region (!)"); return true; @@ -1151,7 +1151,7 @@ bool Region::XOr( const Region& rRegion ) if ( rRegion.IsNull() ) { - // error; cannnot exclude null region from local since this is not representable + // error; cannot exclude null region from local since this is not representable // in the data OSL_ENSURE(false, "Region::XOr error: Cannot XOr with null region (!)"); return true; @@ -1166,7 +1166,7 @@ bool Region::XOr( const Region& rRegion ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error: cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::XOr error: Cannot XOr with null region (!)"); return false; @@ -1373,7 +1373,7 @@ bool Region::IsInside( const Point& rPoint ) const // return mpImplRegion->getRegionPolyPoly()->IsInside( rPoint ); //} - // ensure RegionBand existance + // ensure RegionBand existence const RegionBand* pRegionBand = GetAsRegionBand(); if(pRegionBand) @@ -1685,7 +1685,7 @@ void Region::GetRegionRectangles(RectangleVector& rTarget) const // clear returnvalues rTarget.clear(); - // ensure RegionBand existance + // ensure RegionBand existence const RegionBand* pRegionBand = GetAsRegionBand(); if(pRegionBand) diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index c1817c7c585d..53435779d9e5 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -1317,7 +1317,7 @@ int GraphiteLayout::GetNextGlyphs( int length, sal_GlyphId * glyph_out, void GraphiteLayout::MoveGlyph( int nGlyphIndex, long nNewPos ) { - // TODO it might be better to actualy implement simplify properly, but this + // TODO it might be better to actually implement simplify properly, but this // needs to be done carefully so the glyph/char maps are maintained // If a glyph has been dropped then it wasn't returned by GetNextGlyphs, so // the index here may be wrong diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index ddecbe05121e..9ed5681a4b70 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -3297,7 +3297,7 @@ Window* MenuBar::ImplCreate( Window* pParent, Window* pWindow, MenuBar* pMenu ) long nHeight = pMenu->ImplCalcSize( pWindow ).Height(); // depending on the native implementation or the displayable flag - // the menubar windows is supressed (ie, height=0) + // the menubar windows is suppressed (ie, height=0) if( !((MenuBar*) pMenu)->IsDisplayable() || ( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) ) nHeight = 0; @@ -5955,7 +5955,7 @@ void MenuBarWindow::ImplLayoutChanged() long nHeight = pMenu->ImplCalcSize( this ).Height(); // depending on the native implementation or the displayable flag - // the menubar windows is supressed (ie, height=0) + // the menubar windows is suppressed (ie, height=0) if( !((MenuBar*) pMenu)->IsDisplayable() || ( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) ) nHeight = 0; diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index bd35b80a388e..5560cddca5f9 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1470,7 +1470,7 @@ static bool ImplHandleWheelEvent( Window* pWindow, const SalWheelMouseEvent& rEv static void ImplHandlePaint( Window* pWindow, const Rectangle& rBoundRect, bool bImmediateUpdate ) { - // give up background save when sytem paints arrive + // give up background save when system paints arrive Window* pSaveBackWin = pWindow->ImplGetWindowImpl()->mpFrameData->mpFirstBackWin; while ( pSaveBackWin ) { diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx index 787bb3c7162c..4d67081bd683 100644 --- a/vcl/unx/generic/app/wmadaptor.cxx +++ b/vcl/unx/generic/app/wmadaptor.cxx @@ -1385,7 +1385,7 @@ void WMAdaptor::setFrameTypeAndDecoration( X11SalFrame* pFrame, WMWindowType eTy // set transientFor hint /* #91030# dtwm will not map a dialogue if the transient - * window is iconified. This is deemed undesireable because + * window is iconified. This is deemed undesirable because * message boxes do not get mapped, so use the root as transient * instead. */ diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx index c949e50123b5..a476957b45ef 100644 --- a/vcl/unx/generic/dtrans/X11_selection.cxx +++ b/vcl/unx/generic/dtrans/X11_selection.cxx @@ -984,7 +984,7 @@ bool SelectionManager::getPasteData( Atom selection, Atom type, Sequence< sal_In } #if OSL_DEBUG_LEVEL > 1 else - fprintf( stderr, "conversion unsuccessfull\n" ); + fprintf( stderr, "conversion unsuccessful\n" ); #endif return bSuccess; } diff --git a/vcl/unx/generic/window/FWS.hxx b/vcl/unx/generic/window/FWS.hxx index 25acd432faf6..93c863f74cef 100644 --- a/vcl/unx/generic/window/FWS.hxx +++ b/vcl/unx/generic/window/FWS.hxx @@ -33,7 +33,7 @@ extern "C" { Bool WMSupportsFWS (Display *display, int screen); -/* Send a client message to the FWS_COMM_WINDOW indicating the existance +/* Send a client message to the FWS_COMM_WINDOW indicating the existence * of a new FWS client window. Be careful to avoid BadWindow errors on * the XSendEvent in case the FWS_COMM_WINDOW root window property had * old/obsolete junk in it. diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx index 093fdef66ad8..a74de46bc0d0 100644 --- a/vcl/unx/gtk/a11y/atkwindow.cxx +++ b/vcl/unx/gtk/a11y/atkwindow.cxx @@ -191,7 +191,7 @@ ooo_window_wrapper_real_initialize(AtkObject *obj, gpointer data) Reference< XAccessible > xAccessible( pWindow->GetAccessible(true) ); /* We need the wrapper object for the top-level XAccessible to be - * in the wrapper registry when atk traverses the hierachy up on + * in the wrapper registry when atk traverses the hierarchy up on * focus events */ if( WINDOW_BORDERWINDOW == pWindow->GetType() ) diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx index a688c354670f..f3ef8d533c0e 100644 --- a/vcl/unx/gtk/a11y/atkwrapper.cxx +++ b/vcl/unx/gtk/a11y/atkwrapper.cxx @@ -814,9 +814,9 @@ atk_object_wrapper_new( const ::com::sun::star::uno::Reference< ::com::sun::star else { /* gail_focus_tracker remembers the focused object at the first - * parent in the hierachy that is a Gtk+ widget, but at the time the + * parent in the hierarchy that is a Gtk+ widget, but at the time the * event gets processed (at idle), it may be too late to create the - * hierachy, so doing it now .. + * hierarchy, so doing it now .. */ uno::Reference< accessibility::XAccessible > xParent( xContext->getAccessibleParent() ); diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index a2b332620088..b1e7e238fcb6 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -472,7 +472,7 @@ void GtkData::deInitNWF( void ) { // free up global widgets // gtk_widget_destroy will in turn destroy the child hierarchy - // so only destroy disjunct hierachies + // so only destroy disjunct hierarchies if( gWidgetData[i].gCacheWindow ) gtk_widget_destroy( gWidgetData[i].gCacheWindow ); if( gWidgetData[i].gMenuWidget ) diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index e748bdcfabb7..a8207be07815 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -4187,7 +4187,7 @@ bool GtkSalFrame::IMHandler::handleKeyEvent( GdkEventKey* pEvent ) /* FIXME: * #122282# still more hacking: some IMEs never start a preedit but simply commit * in this case we cannot commit a single character. Workaround: do not do the -* single key hack for enter or space if the unicode commited does not match +* single key hack for enter or space if the unicode committed does not match */ static bool checkSingleKeyCommitHack( guint keyval, sal_Unicode cCode ) diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx index 6f51fad7035c..4034d6174b35 100644 --- a/vcl/unx/kde/salnativewidgets-kde.cxx +++ b/vcl/unx/kde/salnativewidgets-kde.cxx @@ -844,7 +844,7 @@ QPushButton *WidgetPainter::pushButton( const Rectangle& rControlRegion, // Workaround for broken styles which do not add // QStyle::PM_ButtonDefaultIndicator to the size of the default button // (for example Keramik) - // FIXME Fix Keramik style to be consistant with Qt built-in styles. Aargh! + // FIXME Fix Keramik style to be consistent with Qt built-in styles. Aargh! if ( bDefault ) { QSize qContentsSize( 50, 50 ); diff --git a/vcl/win/source/app/saltimer.cxx b/vcl/win/source/app/saltimer.cxx index c0aba2842dee..287ec9addcfc 100644 --- a/vcl/win/source/app/saltimer.cxx +++ b/vcl/win/source/app/saltimer.cxx @@ -104,7 +104,7 @@ void CALLBACK SalTimerProc( HWND, UINT, UINT_PTR nId, DWORD ) bool bRecursive = pSalData->mbInTimerProc && (nId != SALTIMERPROC_RECURSIVE); if ( pSVData->mpSalTimer && ! bRecursive ) { - // Try to aquire the mutex. If we don't get the mutex then we + // Try to acquire the mutex. If we don't get the mutex then we // try this a short time later again. if ( ImplSalYieldMutexTryToAcquire() ) { diff --git a/winaccessibility/source/UAccCOM/EnumVariant.cxx b/winaccessibility/source/UAccCOM/EnumVariant.cxx index f9d35e5cced2..b188906118bc 100644 --- a/winaccessibility/source/UAccCOM/EnumVariant.cxx +++ b/winaccessibility/source/UAccCOM/EnumVariant.cxx @@ -184,7 +184,7 @@ long CEnumVariant::GetCountOfElements() } /** - * Set memeber m_pXAccessibleSelection to NULL and m_lCurrent to m_lLBound. + * Set member m_pXAccessibleSelection to NULL and m_lCurrent to m_lLBound. * @param. * @return Result */ diff --git a/winaccessibility/source/service/AccObjectManagerAgent.cxx b/winaccessibility/source/service/AccObjectManagerAgent.cxx index d4f4dab66e55..7606f39b8cc9 100644 --- a/winaccessibility/source/service/AccObjectManagerAgent.cxx +++ b/winaccessibility/source/service/AccObjectManagerAgent.cxx @@ -234,7 +234,7 @@ void AccObjectManagerAgent::UpdateState( com::sun::star::accessibility::XAccess } /** - * Interface of notify MSAA event when some UNO event occured. + * Interface of notify MSAA event when some UNO event occurred. * @param pXAcc Uno XAccessible interface of control. * @param pEvent UNO event ID. * @return If the method is correctly processed. diff --git a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java index 31779a4fb2cc..635bab594104 100644 --- a/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java +++ b/wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java @@ -1189,7 +1189,7 @@ abstract public class ReportBuilderLayouter implements IReportBuilderLayouter XShape aShape = UnoRuntime.queryInterface(XShape.class, aClone); // normally 'createClone' will create a real clone of the component, - // but there seems some problems, we have to controll. + // but there seems some problems, we have to control. copyProperties(aComponent, aClone); // aShape.setPosition(aComponent.getPosition()); diff --git a/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/wizards/com/sun/star/wizards/ui/DocumentPreview.java index e58c6ceb2152..553dde50cc15 100644 --- a/wizards/com/sun/star/wizards/ui/DocumentPreview.java +++ b/wizards/com/sun/star/wizards/ui/DocumentPreview.java @@ -119,7 +119,7 @@ public class DocumentPreview /********************************************************************* create a new frame with a new container window inside, - which isnt part of the global frame tree. + which isn't part of the global frame tree. Attention: a) This frame wont be destroyed by the office. It must be closed by you! diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.java b/wizards/com/sun/star/wizards/ui/event/DataAware.java index 0dc9b192d2cc..32d8ded9236e 100644 --- a/wizards/com/sun/star/wizards/ui/event/DataAware.java +++ b/wizards/com/sun/star/wizards/ui/event/DataAware.java @@ -236,7 +236,7 @@ public abstract class DataAware { * checks if this Value object can handle * the given object type as a target. * @param type the type of a target to check - * @return true if the given class is acceptible for + * @return true if the given class is acceptable for * the Value object. False if not. */ public boolean isAssignable(Class<?> type); diff --git a/wizards/source/formwizard/tools.xba b/wizards/source/formwizard/tools.xba index 50e9c27c14bb..3bf6322e33a2 100644 --- a/wizards/source/formwizard/tools.xba +++ b/wizards/source/formwizard/tools.xba @@ -225,7 +225,7 @@ Function SetNumerics(ByVal oLocObject as Object, iLocFieldType as Integer) as Ob ' Todo Why does this not work?: oLocObject.DefaultDate = CurDefaultValue ElseIf CurControlType = cTimeBox Then ' com.sun.star.sdbc.DataType.DATE, com.sun.star.sdbc.DataType.TIME oLocObject.DefaultTime = CurDefaultValue -' Todo: Property TimeFormat? frome where? +' Todo: Property TimeFormat? from where? ElseIf CurControlType = cCheckBox Then ' Todo Why does this not work?: oLocObject.DefautState = CurDefaultValue End If diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index 3c4c08a5cf86..75bacb85f3c4 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -85,7 +85,7 @@ public: /** Pointer to reference - @attention The ownership of a reference is transfered when + @attention The ownership of a reference is transferred when the reference is passed. */ typedef boost::shared_ptr< Reference<T> > Pointer_t; diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java index 52c40c661436..3ed3aa2de872 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java @@ -90,7 +90,7 @@ public final class DocumentSerializerImpl /** * Method to convert a <code>Document</code> with an xsl stylesheet. * It creates a <code>Document</code> object, which is then transformed - * with the Xslt processer. A <code>ConvertData </code> object is + * with the Xslt processor. A <code>ConvertData </code> object is * constructed and returned. * * @return cd A <code>ConvertData</code> object. diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ColourConverter.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ColourConverter.java index ea3e78147bb5..60b2590de3f5 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ColourConverter.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ColourConverter.java @@ -252,7 +252,7 @@ public class ColourConverter { int blue = colour.getBlue(); // We need to convert the pale colors to their base color rather than - // white so we modify the rgb values if the colour is sufficently + // white so we modify the rgb values if the colour is sufficiently // white if(red>0xC0 && green>0xC0 && blue>0xC0) { @@ -302,7 +302,7 @@ public class ColourConverter { * is closest to White. * * Shades of grey will be converted to either Silver or White, where - * Grey may be a more appropraite colour. This is handled specially + * Grey may be a more appropriate colour. This is handled specially * only for Silver and White matches. */ switch (matchedRGB) { diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx index 4f307b0cc958..c6b63e57ede2 100644 --- a/xmloff/source/chart/PropertyMap.hxx +++ b/xmloff/source/chart/PropertyMap.hxx @@ -237,7 +237,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] = MAP_SPECIAL( "TextRotation", STYLE, XML_ROTATION_ANGLE, XML_TYPE_NUMBER, XML_SCH_CONTEXT_SPECIAL_TEXT_ROTATION ), // convert 1/100th degrees to degrees MAP_ENTRY( "StackedText", STYLE, XML_DIRECTION, XML_SCH_TYPE_TEXT_ORIENTATION ), - // for compatability to pre 6.0beta documents + // for compatibility to pre 6.0beta documents // MAP_SPECIAL( "SymbolBitmapURL", CHART, XML_SYMBOL_IMAGE_NAME, XML_TYPE_STRING, XML_SCH_CONTEXT_SPECIAL_SYMBOL_IMAGE_NAME ), MAP_ENTRY( "ChartUserDefinedAttributes", TEXT, XML_XMLNS, XML_TYPE_ATTRIBUTE_CONTAINER | MID_FLAG_SPECIAL_ITEM ), diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 4d800233fc61..4eacdcf585ea 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -786,7 +786,7 @@ bool SdXMLExport::ImpPrepAutoLayoutInfo(const Reference<XDrawPage>& xPage, OUStr } } - // create entry and look for existance + // create entry and look for existence ImpXMLAutoLayoutInfo* pNew = new ImpXMLAutoLayoutInfo(nType, pInfo); bool bDidExist(false); diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 5dfd390c2b8d..8f4f34c15088 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -1841,7 +1841,7 @@ namespace xmloff } void OColumnWrapperImport::StartElement(const Reference< XAttributeList >& _rxAttrList) { - OSL_ENSURE(!m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: aready have the cloned list!"); + OSL_ENSURE(!m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: already have the cloned list!"); // clone the attributes Reference< XCloneable > xCloneList(_rxAttrList, UNO_QUERY); diff --git a/xmloff/source/forms/eventimport.hxx b/xmloff/source/forms/eventimport.hxx index 7f3362b1e435..95323718b04b 100644 --- a/xmloff/source/forms/eventimport.hxx +++ b/xmloff/source/forms/eventimport.hxx @@ -57,7 +57,7 @@ namespace xmloff OPropertySetCompare> MapPropertySet2ScriptSequence; // usually an event attacher manager will need to collect all script events registered, 'cause - // the _real_ XEventAttacherManager handles it's events by index, but out indicies are not fixed + // the _real_ XEventAttacherManager handles it's events by index, but out indices are not fixed // until _all_ controls have been inserted. MapPropertySet2ScriptSequence m_aEvents; diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx index f6851a24e9f3..419e458f1cfe 100644 --- a/xmloff/source/forms/layerexport.hxx +++ b/xmloff/source/forms/layerexport.hxx @@ -100,7 +100,7 @@ namespace xmloff MapPropertySet2Map m_aReferringControls; // for a given page (iter->first), and a given control (iter->second->first), this is the comma-separated - // lists of ids of the controls refering to the control given. + // lists of ids of the controls referring to the control given. MapPropertySet2Map::iterator m_aCurrentPageIds; diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx index e8c628198569..8f016d231f6f 100644 --- a/xmloff/source/forms/propertyexport.cxx +++ b/xmloff/source/forms/propertyexport.cxx @@ -272,7 +272,7 @@ namespace xmloff const OUString& _rPropertyName, const sal_Int8 _nBooleanAttributeFlags) { DBG_CHECK_PROPERTY_NO_TYPE( _rPropertyName ); - // no check of the property value type: this method is allowed to be called with any interger properties + // no check of the property value type: this method is allowed to be called with any integer properties // (e.g. sal_Int32, sal_uInt16 etc) bool bDefault = (BOOLATTR_DEFAULT_TRUE == (BOOLATTR_DEFAULT_MASK & _nBooleanAttributeFlags)); diff --git a/xmloff/source/forms/propertyexport.hxx b/xmloff/source/forms/propertyexport.hxx index 33b12c7f2574..42dcca99ad7a 100644 --- a/xmloff/source/forms/propertyexport.hxx +++ b/xmloff/source/forms/propertyexport.hxx @@ -41,7 +41,7 @@ namespace xmloff #define BOOLATTR_DEFAULT_MASK 0x03 #define BOOLATTR_INVERSE_SEMANTICS 0x04 - // if sal_True, indicates that the semantic of the property refered by <arg>_pPropertyName</arg> + // if sal_True, indicates that the semantic of the property referred by <arg>_pPropertyName</arg> // is inverse to the semantic of the XML attribute.<br/> // I.e. if the property value is <TRUE/>, <FALSE/> has to be written and vice versa. // <p>Be careful with <arg>_bDefault</arg> and <arg>_bInverseSemantics</arg>: if <arg>_bInverseSemantics</arg> @@ -285,10 +285,10 @@ namespace xmloff this to be chosen by the caller</p> <p>If you use the quote character, no check (except assertions) is made if one of the list items - containes the quote character</p> + contains the quote character</p> <p>If you don't use the quote character, no check (except assertions) is made if one of the list items - containes the separator character (which would be deadly when reimporting the string)</p> + contains the separator character (which would be deadly when reimporting the string)</p> @param _nNamespaceKey the key of the namespace to use for the attribute name. Is used with the namespace map diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 8f2554bbff85..8000957a4247 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -213,7 +213,7 @@ void FilterPropertiesInfo_Impl::AddProperty( aPropInfos.push_back(FilterPropertyInfo_Impl(rApiName, nIndex)); nCount++; - OSL_ENSURE( !pApiNames, "perfomance warning: API names already retrieved" ); + OSL_ENSURE( !pApiNames, "performance warning: API names already retrieved" ); if( pApiNames ) { delete pApiNames; diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx index bec0c1be832e..88a5e488310c 100644 --- a/xmloff/source/text/XMLSectionImportContext.cxx +++ b/xmloff/source/text/XMLSectionImportContext.cxx @@ -174,7 +174,7 @@ void XMLSectionImportContext::StartElement( xPropSet->setPropertyValue( sIsVisible, aAny ); // #97450# hidden sections must be hidden on reload - // For backwards compatibilty, set flag only if it is + // For backwards compatibility, set flag only if it is // present if( bIsCurrentlyVisibleOK ) { diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx index 6a40ae7be07c..7b4ab86042fc 100644 --- a/xmloff/source/text/XMLSectionImportContext.hxx +++ b/xmloff/source/text/XMLSectionImportContext.hxx @@ -39,7 +39,7 @@ namespace com { namespace sun { namespace star { */ class XMLSectionImportContext : public SvXMLImportContext { - /// start position; ranges aquired via getStart(),getEnd() don't move + /// start position; ranges acquired via getStart(),getEnd() don't move ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange> xStartRange; diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 1c8e0146bb4e..3e8a8e718d5a 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -1354,7 +1354,7 @@ SvXMLImportContext* XMLDatabaseFieldImportContext::CreateChildContext( } } - // we call ProcessAttribute in order to set bValid appropriatly + // we call ProcessAttribute in order to set bValid appropriately ProcessAttribute( XML_TOKEN_INVALID, OUString() ); } diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 19c4fa826c0f..5b7f503970d4 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3465,7 +3465,7 @@ void XMLTextParagraphExport::exportText( const OUString& rText, } // If there are spaces left that have not been exported and the - // current chracter is not a space , the pending spaces have to be + // current character is not a space , the pending spaces have to be // exported now. if( nSpaceChars > 0 && !bCurrCharIsSpace ) { diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx index 6d14b30fb3e4..6efd82b4b8e7 100644 --- a/xmloff/source/transform/TransformerBase.hxx +++ b/xmloff/source/transform/TransformerBase.hxx @@ -78,7 +78,7 @@ protected: // this method may return an empty reference when the transformer service // was created outside the xmloff environment. - // It is strictly forbiden to use this as a write access to the model! + // It is strictly forbidden to use this as a write access to the model! const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& getModel() const { return mxModel; } public: |