summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/aqua/source/gdi/atsfonts.cxx2
-rw-r--r--vcl/aqua/source/gdi/salprn.cxx2
-rw-r--r--vcl/aqua/source/window/salframeview.mm2
-rw-r--r--vcl/inc/aqua/saldata.hxx2
-rw-r--r--vcl/inc/aqua/salgdi.h2
-rw-r--r--vcl/inc/aqua/salmathutils.hxx4
-rw-r--r--vcl/inc/graphite_cache.hxx2
-rw-r--r--vcl/inc/jobset.h2
-rw-r--r--vcl/inc/os2/salgdi.h4
-rw-r--r--vcl/inc/printerjob.hxx2
-rw-r--r--vcl/inc/salgdi.hxx2
-rw-r--r--vcl/inc/salwtype.hxx4
-rw-r--r--vcl/inc/unx/XIM.h2
-rw-r--r--vcl/inc/unx/wmadaptor.hxx2
-rw-r--r--vcl/inc/vcl/lazydelete.hxx6
-rw-r--r--vcl/inc/vcl/pdfwriter.hxx10
-rw-r--r--vcl/inc/vcl/ppdparser.hxx2
-rw-r--r--vcl/inc/vcl/print.hxx4
-rw-r--r--vcl/inc/vcl/printerinfomanager.hxx2
-rw-r--r--vcl/inc/vcl/salnativewidgets.hxx2
-rw-r--r--vcl/inc/vcl/strhelper.hxx2
-rw-r--r--vcl/inc/vcl/window.hxx2
-rw-r--r--vcl/inc/win/salgdi.h4
-rw-r--r--vcl/os2/source/app/salinst.cxx2
-rw-r--r--vcl/os2/source/app/saltimer.cxx2
-rw-r--r--vcl/os2/source/gdi/salgdi2.cxx2
-rw-r--r--vcl/qa/complex/memCheck/CheckMemoryUsage.java2
-rw-r--r--vcl/source/app/dbggui.cxx30
-rw-r--r--vcl/source/app/salvtables.cxx2
-rw-r--r--vcl/source/app/svapp.cxx2
-rw-r--r--vcl/source/app/svdata.cxx2
-rw-r--r--vcl/source/app/svmain.cxx2
-rw-r--r--vcl/source/control/button.cxx2
-rw-r--r--vcl/source/control/ilstbox.cxx6
-rw-r--r--vcl/source/fontsubset/sft.cxx2
-rw-r--r--vcl/source/gdi/bitmapex.cxx2
-rw-r--r--vcl/source/gdi/cvtsvm.cxx4
-rw-r--r--vcl/source/gdi/gdimtf.cxx2
-rw-r--r--vcl/source/gdi/outdev4.cxx6
-rw-r--r--vcl/source/gdi/outdev6.cxx4
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx6
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx10
-rw-r--r--vcl/source/gdi/pngread.cxx2
-rw-r--r--vcl/source/gdi/print.cxx4
-rw-r--r--vcl/source/gdi/print2.cxx8
-rw-r--r--vcl/source/gdi/print3.cxx2
-rw-r--r--vcl/source/gdi/regband.cxx6
-rw-r--r--vcl/source/gdi/region.cxx26
-rwxr-xr-xvcl/source/gdi/regionband.cxx12
-rw-r--r--vcl/source/gdi/textlayout.cxx2
-rw-r--r--vcl/source/glyphs/gcach_layout.cxx2
-rw-r--r--vcl/source/glyphs/glyphcache.cxx2
-rw-r--r--vcl/source/glyphs/graphite_layout.cxx8
-rw-r--r--vcl/source/window/menu.cxx4
-rw-r--r--vcl/source/window/printdlg.cxx2
-rw-r--r--vcl/source/window/split.cxx6
-rw-r--r--vcl/source/window/tabdlg.cxx2
-rw-r--r--vcl/source/window/window.cxx8
-rw-r--r--vcl/source/window/winproc.cxx4
-rw-r--r--vcl/test/dndtest.cxx2
-rw-r--r--vcl/unx/generic/app/i18n_ic.cxx2
-rw-r--r--vcl/unx/generic/app/saldata.cxx2
-rw-r--r--vcl/unx/generic/app/saldisp.cxx6
-rw-r--r--vcl/unx/generic/app/wmadaptor.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx4
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx2
-rw-r--r--vcl/unx/generic/fontmanager/parseAFM.cxx2
-rw-r--r--vcl/unx/generic/fontmanager/parseAFM.hxx4
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx2
-rw-r--r--vcl/unx/generic/window/FWS.cxx2
-rw-r--r--vcl/unx/generic/window/FWS.hxx2
-rw-r--r--vcl/unx/generic/window/salframe.cxx4
-rw-r--r--vcl/unx/gtk/a11y/atkwindow.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkwrapper.cxx4
-rw-r--r--vcl/unx/gtk/app/gtkdata.cxx2
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx2
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx2
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx2
-rw-r--r--vcl/win/source/app/salinst.cxx2
-rw-r--r--vcl/win/source/app/saltimer.cxx2
-rw-r--r--vcl/win/source/gdi/salgdi.cxx10
-rw-r--r--vcl/win/source/gdi/salgdi2.cxx4
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx6
-rw-r--r--vcl/win/source/window/salframe.cxx10
85 files changed, 172 insertions, 172 deletions
diff --git a/vcl/aqua/source/gdi/atsfonts.cxx b/vcl/aqua/source/gdi/atsfonts.cxx
index ce8d993afbd4..7c6960feda84 100644
--- a/vcl/aqua/source/gdi/atsfonts.cxx
+++ b/vcl/aqua/source/gdi/atsfonts.cxx
@@ -393,7 +393,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF
continue;
// heuristic to find the most common font name
- // prefering default language names or even better the names matching to the UI language
+ // preferring default language names or even better the names matching to the UI language
int nNameValue = (eFontNameLanguage==eUILangCode) ? 0 : ((eFontNameLanguage==0) ? -10 : -20);
rtl_TextEncoding eEncoding = RTL_TEXTENCODING_UNICODE;
const int nPlatformEncoding = ((int)eFontNamePlatform << 8) + (int)eFontNameScript;
diff --git a/vcl/aqua/source/gdi/salprn.cxx b/vcl/aqua/source/gdi/salprn.cxx
index 6bb3a057f59a..ae5edf5d7cc5 100644
--- a/vcl/aqua/source/gdi/salprn.cxx
+++ b/vcl/aqua/source/gdi/salprn.cxx
@@ -312,7 +312,7 @@ static bool getUseNativeDialog()
{
// get service provider
uno::Reference< XMultiServiceFactory > xSMgr( unohelper::GetMultiServiceFactory() );
- // create configuration hierachical access name
+ // create configuration hierarchical access name
if( xSMgr.is() )
{
try
diff --git a/vcl/aqua/source/window/salframeview.mm b/vcl/aqua/source/window/salframeview.mm
index e21727ae3af3..18438632c979 100644
--- a/vcl/aqua/source/window/salframeview.mm
+++ b/vcl/aqua/source/window/salframeview.mm
@@ -489,7 +489,7 @@ static AquaSalFrame* getMouseContainerFrame()
}
// helper class similar to a vos::OGuard for the SalYieldMutex
-// the difference is that it only does tryToAcquire instead of aquire
+// the difference is that it only does tryToAcquire instead of acquire
// so dreaded deadlocks like #i93512# are prevented
class TryGuard
{
diff --git a/vcl/inc/aqua/saldata.hxx b/vcl/inc/aqua/saldata.hxx
index 35f3c1a17408..5c7e0e27be89 100644
--- a/vcl/inc/aqua/saldata.hxx
+++ b/vcl/inc/aqua/saldata.hxx
@@ -84,7 +84,7 @@ struct SalData
SALTIMERPROC mpTimerProc; // timer callback proc
AquaSalInstance *mpFirstInstance; // pointer of first instance
std::list<AquaSalFrame*> maFrames; // list of all frames
- std::hash_set<const AquaSalFrame*,FrameHash> maFrameCheck; // for fast check of frame existance
+ std::hash_set<const AquaSalFrame*,FrameHash> maFrameCheck; // for fast check of frame existence
std::list<AquaSalFrame*> maPresentationFrames; // list of frames in presentation mode
SalObject *mpFirstObject; // pointer of first object window
SalVirtualDevice *mpFirstVD; // first VirDev
diff --git a/vcl/inc/aqua/salgdi.h b/vcl/inc/aqua/salgdi.h
index 47356b1e14b1..a0cc875f78e0 100644
--- a/vcl/inc/aqua/salgdi.h
+++ b/vcl/inc/aqua/salgdi.h
@@ -344,7 +344,7 @@ public:
virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName );
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
- // returns TRUE if creation of subset was successfull
+ // returns TRUE if creation of subset was successful
// parameters: rToFile: contains a osl file URL to write the subset to
// pFont: describes from which font to create a subset
// pGlyphIDs: the glyph ids to be extracted
diff --git a/vcl/inc/aqua/salmathutils.hxx b/vcl/inc/aqua/salmathutils.hxx
index 9ce0ff9ee197..b33fcabdd1bd 100644
--- a/vcl/inc/aqua/salmathutils.hxx
+++ b/vcl/inc/aqua/salmathutils.hxx
@@ -34,7 +34,7 @@ extern "C" {
//
// ------------------------------------------------------------------
-// LRectCoor is an abreviation for rectangular coordinates
+// LRectCoor is an abbreviation for rectangular coordinates
// represented as long integers
struct LRectCoor
@@ -50,7 +50,7 @@ struct LRectCoor
//
// ------------------------------------------------------------------
-// LRectCoorVec is an abreviation for vectors in rectangular
+// LRectCoorVec is an abbreviation for vectors in rectangular
// coordinates represented as long integers
typedef struct LRectCoor LRectCoor;
diff --git a/vcl/inc/graphite_cache.hxx b/vcl/inc/graphite_cache.hxx
index 0d297e9d6dea..6b05dec5fb68 100644
--- a/vcl/inc/graphite_cache.hxx
+++ b/vcl/inc/graphite_cache.hxx
@@ -183,7 +183,7 @@ public:
else
{
// the pointers aren't the same, but we might still have the same text in a segment
- // this is expecially needed when editing a large paragraph
+ // this is especially needed when editing a large paragraph
// each edit changes the pointers, but if we don't reuse any segments it gets very
// slow.
rtl::OUString * rope = new rtl::OUString(layoutArgs.mpStr + layoutArgs.mnMinCharPos,
diff --git a/vcl/inc/jobset.h b/vcl/inc/jobset.h
index b5f1a21a225c..fa0091026610 100644
--- a/vcl/inc/jobset.h
+++ b/vcl/inc/jobset.h
@@ -49,7 +49,7 @@
struct ImplJobSetup
{
sal_uInt16 mnRefCount; // RefCount (only independ data)
- sal_uInt16 mnSystem; // Sytem - JOBSETUP_SYSTEM_xxxx
+ sal_uInt16 mnSystem; // System - JOBSETUP_SYSTEM_xxxx
String maPrinterName; // Printer-Name
String maDriver; // Driver-Name
Orientation meOrientation; // Orientation
diff --git a/vcl/inc/os2/salgdi.h b/vcl/inc/os2/salgdi.h
index 873e99e26567..87065fec2194 100644
--- a/vcl/inc/os2/salgdi.h
+++ b/vcl/inc/os2/salgdi.h
@@ -230,7 +230,7 @@ protected:
virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency );
public:
- // public SalGraphics methods, the interface to teh independent vcl part
+ // public SalGraphics methods, the interface to the independent vcl part
// get device resolution
virtual void GetResolution( sal_Int32& rDPIX, sal_Int32& rDPIY );
@@ -276,7 +276,7 @@ public:
virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName );
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
- // returns TRUE if creation of subset was successfull
+ // returns TRUE if creation of subset was successful
// parameters: rToFile: contains a osl file URL to write the subset to
// pFont: describes from which font to create a subset
// pGlyphIDs: the glyph ids to be extracted
diff --git a/vcl/inc/printerjob.hxx b/vcl/inc/printerjob.hxx
index a33f047c6218..6b7214b0261f 100644
--- a/vcl/inc/printerjob.hxx
+++ b/vcl/inc/printerjob.hxx
@@ -111,7 +111,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/salgdi.hxx b/vcl/inc/salgdi.hxx
index 7b1ad166ca10..cd0c67091713 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -253,7 +253,7 @@ public:
virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName ) = 0;
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
- // returns sal_True if creation of subset was successfull
+ // returns sal_True if creation of subset was successful
// parameters: rToFile: contains a osl file URL to write the subset to
// pFont: describes from which font to create a subset
// pGlyphIDs: the glyph ids to be extracted
diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx
index e49680e6df5c..c76301ffea4b 100644
--- a/vcl/inc/salwtype.hxx
+++ b/vcl/inc/salwtype.hxx
@@ -233,7 +233,7 @@ struct SalInputContextChangeEvent
struct SalSurroundingTextRequestEvent
{
UniString maText; // Text
- sal_uLong mnStart; // The beggining index of selected range
+ sal_uLong mnStart; // The beginning index of selected range
sal_uLong mnEnd; // The end index of selected range
};
@@ -244,7 +244,7 @@ struct SalSurroundingTextRequestEvent
// SURROUNDINGTEXTSELECTIONCHANGE
struct SalSurroundingTextSelectionChangeEvent
{
- sal_uLong mnStart; // The beggining index of selected range
+ sal_uLong mnStart; // The beginning index of selected range
sal_uLong mnEnd; // The end index of selected range
};
diff --git a/vcl/inc/unx/XIM.h b/vcl/inc/unx/XIM.h
index 7ed327aa29c1..f67e62bc0761 100644
--- a/vcl/inc/unx/XIM.h
+++ b/vcl/inc/unx/XIM.h
@@ -48,7 +48,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/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx
index 17a3f1135b8d..bb3e6502efad 100644
--- a/vcl/inc/unx/wmadaptor.hxx
+++ b/vcl/inc/unx/wmadaptor.hxx
@@ -213,7 +213,7 @@ public:
{ return m_aWMWorkAreas[n]; }
/*
- * attemp to switch the desktop to a certain workarea
+ * attempt to switch the desktop to a certain workarea
* if bConsiderWM is true, then on some WMs the call will not result in any action
*/
void switchToWorkArea( int nWorkArea, bool bConsiderWM = true ) const;
diff --git a/vcl/inc/vcl/lazydelete.hxx b/vcl/inc/vcl/lazydelete.hxx
index 5f49c561e912..8e5177bc257b 100644
--- a/vcl/inc/vcl/lazydelete.hxx
+++ b/vcl/inc/vcl/lazydelete.hxx
@@ -123,7 +123,7 @@ namespace vcl
typedef std::hash_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 );
@@ -204,7 +204,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.
@@ -251,7 +251,7 @@ namespace vcl
T* get() { return m_pT; }
// set contents, returning old contents
- // ownership is transfered !
+ // ownership is transferred !
T* set( T* i_pNew ) { T* pOld = m_pT; m_pT = i_pNew; return pOld; }
};
diff --git a/vcl/inc/vcl/pdfwriter.hxx b/vcl/inc/vcl/pdfwriter.hxx
index 8c1c9bf4f3a1..dba726a93085 100644
--- a/vcl/inc/vcl/pdfwriter.hxx
+++ b/vcl/inc/vcl/pdfwriter.hxx
@@ -204,7 +204,7 @@ public:
// PDF/A does not allow transparency
Warning_Transparency_Omitted_PDFA,
- // transparent object occured but is only supported since
+ // transparent object occurred but is only supported since
// PDF 1.4
Warning_Transparency_Omitted_PDF13,
@@ -590,7 +590,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
@@ -687,9 +687,9 @@ The following structure describes the permissions used in PDF security
bool Emit();
/*
- * Get a list of errors that occured during processing
+ * Get a list of errors that occurred during processing
* this should enable the producer to give feedback about
- * any anomalies that might have occured
+ * any anomalies that might have occurred
*/
std::set< ErrorCode > GetErrors();
@@ -1129,7 +1129,7 @@ The following structure describes the permissions used in PDF security
</p>
<p>
- Note: there is always one structural element in existance without having
+ Note: there is always one structural element in existence without having
called <code>BeginStructureElement</code>; this is the root of the structure
tree (called StructTreeRoot). The StructTreeRoot has always the id 0.
</p>
diff --git a/vcl/inc/vcl/ppdparser.hxx b/vcl/inc/vcl/ppdparser.hxx
index 85219d1d48a7..15d1ecfe3907 100644
--- a/vcl/inc/vcl/ppdparser.hxx
+++ b/vcl/inc/vcl/ppdparser.hxx
@@ -301,7 +301,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/vcl/inc/vcl/print.hxx b/vcl/inc/vcl/print.hxx
index 138c95077bc1..fca7b27592af 100644
--- a/vcl/inc/vcl/print.hxx
+++ b/vcl/inc/vcl/print.hxx
@@ -202,7 +202,7 @@ public:
// read printer options from configuration, parameter decides whether the set for
// print "to printer" or "to file" should be read.
- // returns true if config was read, false if an error occured
+ // returns true if config was read, false if an error occurred
bool ReadFromConfig( bool bFile );
};
@@ -564,7 +564,7 @@ class VCL_DLLPUBLIC PrinterOptionsHelper
{}
/* process a new set of properties
- * merges changed properties and returns "true" if any occured
+ * merges changed properties and returns "true" if any occurred
* if the optional output set is not NULL then the names of the changed properties are returned
**/
bool processProperties( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& i_rNewProp,
diff --git a/vcl/inc/vcl/printerinfomanager.hxx b/vcl/inc/vcl/printerinfomanager.hxx
index be15e2066fcf..a5c423338ac7 100644
--- a/vcl/inc/vcl/printerinfomanager.hxx
+++ b/vcl/inc/vcl/printerinfomanager.hxx
@@ -88,7 +88,7 @@ public:
rtl::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/vcl/inc/vcl/salnativewidgets.hxx b/vcl/inc/vcl/salnativewidgets.hxx
index 3b1a534bf2e6..f35659f377c2 100644
--- a/vcl/inc/vcl/salnativewidgets.hxx
+++ b/vcl/inc/vcl/salnativewidgets.hxx
@@ -63,7 +63,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/vcl/inc/vcl/strhelper.hxx b/vcl/inc/vcl/strhelper.hxx
index bc3657b77715..7a85b967d802 100644
--- a/vcl/inc/vcl/strhelper.hxx
+++ b/vcl/inc/vcl/strhelper.hxx
@@ -44,7 +44,7 @@ int VCL_DLLPUBLIC GetCommandLineTokenCount( const ByteString& );
String VCL_DLLPUBLIC WhitespaceToSpace( const String&, sal_Bool bProtect = sal_True );
ByteString VCL_DLLPUBLIC WhitespaceToSpace( const ByteString&, sal_Bool bProtect = sal_True );
-// returns a string with multiple adjacent occurences of whitespace
+// returns a string with multiple adjacent occurrences of whitespace
// converted to a single space. if bProtect is sal_True (nonzero), then
// doublequote, singlequote and singleleftquote protect their respective
// contents
diff --git a/vcl/inc/vcl/window.hxx b/vcl/inc/vcl/window.hxx
index 31e2ea3bee0e..cb5a96d9c073 100644
--- a/vcl/inc/vcl/window.hxx
+++ b/vcl/inc/vcl/window.hxx
@@ -825,7 +825,7 @@ public:
Currently only mouse events get this special treatment.
- Use this sparingly, chances are if you want to use it you're wroking around
+ Use this sparingly, chances are if you want to use it you're working around
the real problem.
@param bCall
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 1fd90df78691..922d06a1746f 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -260,7 +260,7 @@ private:
bool tryDrawBitmapGdiPlus(const SalTwoRect& rTR, const SalBitmap& rSrcBitmap);
public:
- // public SalGraphics methods, the interface to teh independent vcl part
+ // public SalGraphics methods, the interface to the independent vcl part
// get device resolution
virtual void GetResolution( sal_Int32& rDPIX, sal_Int32& rDPIY );
@@ -306,7 +306,7 @@ public:
virtual bool AddTempDevFont( ImplDevFontList*, const String& rFileURL, const String& rFontName );
// CreateFontSubset: a method to get a subset of glyhps of a font
// inside a new valid font file
- // returns TRUE if creation of subset was successfull
+ // returns TRUE if creation of subset was successful
// parameters: rToFile: contains a osl file URL to write the subset to
// pFont: describes from which font to create a subset
// pGlyphIDs: the glyph ids to be extracted
diff --git a/vcl/os2/source/app/salinst.cxx b/vcl/os2/source/app/salinst.cxx
index b5c41de11e74..936b84b305b1 100644
--- a/vcl/os2/source/app/salinst.cxx
+++ b/vcl/os2/source/app/salinst.cxx
@@ -639,7 +639,7 @@ MRESULT EXPENTRY SalComWndProc( HWND hWnd, ULONG nMsg,
ImplSalYield( (bool)nMP1, (bool) nMP2);
return 0;
// If we get this message, because another GetMessage() call
- // has recieved this message, we must post this message to
+ // has received this message, we must post this message to
// us again, because in the other case we wait forever.
case SAL_MSG_RELEASEWAITYIELD:
{
diff --git a/vcl/os2/source/app/saltimer.cxx b/vcl/os2/source/app/saltimer.cxx
index f266a9476141..b074a098229c 100644
--- a/vcl/os2/source/app/saltimer.cxx
+++ b/vcl/os2/source/app/saltimer.cxx
@@ -109,7 +109,7 @@ void SalTimerProc( HWND, UINT, UINT nId, ULONG )
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/vcl/os2/source/gdi/salgdi2.cxx b/vcl/os2/source/gdi/salgdi2.cxx
index 1ff6af2b891a..320b23983860 100644
--- a/vcl/os2/source/gdi/salgdi2.cxx
+++ b/vcl/os2/source/gdi/salgdi2.cxx
@@ -617,7 +617,7 @@ SalBitmap* Os2SalGraphics::getBitmap( long nX, long nY, long nDX, long nDY )
HBITMAP hMemBmp = ImplCreateVirDevBitmap( hMemDC, hMemPS, nDX, nDY, 0 );
HBITMAP hMemOld = Ft2SetBitmap( hMemPS, hMemBmp );
- // creation successfull?
+ // creation successful?
if( hMemDC && hMemPS && hMemBmp )
{
POINTL thePoints[ 3 ];
diff --git a/vcl/qa/complex/memCheck/CheckMemoryUsage.java b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
index 62977e04b312..8b1cff59409f 100644
--- a/vcl/qa/complex/memCheck/CheckMemoryUsage.java
+++ b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
@@ -57,7 +57,7 @@ import static org.junit.Assert.*;
* command line tool 'pmap', available on Solaris or Linux. This test will not
* run on Windows.<br>Test procedure: every given document type is searched in
* the source directory
- * Needed paramters:
+ * Needed parameters:
* <ul>
* <li>"TestDocumentPath" - the path where test documents are located.</li>
* <li>"AllowMemoryIncrease" (optional) - the allowed memory increase measured in kByte per exported document. The default is 10 kByte.</li>
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index e8d914caf858..5d977ea0b74e 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -94,13 +94,13 @@ static const sal_Char* pDbgHelpText[] =
"\n",
"DBG_CHKTHIS( aName, fTest )\n",
"Can be used in methods of the class when constructors and the "
-"desctructor of the class are equiped with the corresponding macros. "
+"desctructor of the class are equipped with the corresponding macros. "
"The first parameter is the registered name, the second parameter is "
"the test function or 0.\n",
"\n",
"DBG_CHKOBJ( pObj, aName, fTest )\n",
"Can be used on instances of a class where the constructors and the "
-"destructor of the class are equiped with the corresponding macros. "
+"destructor of the class are equipped with the corresponding macros. "
"The first parameter is the registered name, the second parameter is "
"the test function or 0.\n",
"\n",
@@ -108,11 +108,11 @@ static const sal_Char* pDbgHelpText[] =
"\n",
"--- Options ---\n",
"This\n",
-"The This pointer is validated. This way all objects that are equiped "
+"The This pointer is validated. This way all objects that are equipped "
"with it can be tested to make sure one is working with existing objects. "
-"This way it's easier to find bugs in case of multiple inheritence, "
+"This way it's easier to find bugs in case of multiple inheritance, "
"alignment or compiler errors. Since almost all standard classes of SV "
-"(String, List, Pen, Brush, Polygon, ...) are equiped with DBG_CHKTHIS() "
+"(String, List, Pen, Brush, Polygon, ...) are equipped with DBG_CHKTHIS() "
"a lot of errors are found, although this test will impact performance "
"accordingly.\n",
"\n",
@@ -131,7 +131,7 @@ static const sal_Char* pDbgHelpText[] =
" account. Therefor each SV program leaves 2 strings and a bitmap behind.\n",
"\n",
"Trace\n",
-"Creation, destruction and usage of objects which are equiped with "
+"Creation, destruction and usage of objects which are equipped with "
"DBG_XTOR is logged.\n",
"\n",
"\n",
@@ -151,7 +151,7 @@ static const sal_Char* pDbgHelpText[] =
"Allocated memory is initialized with 0x77 and free or freed memory "
"is initialized with 0x33. This option has almost no impact on performance "
"and should thus always be enabled during development. This will also "
-"make crashes more often reproducable.\n",
+"make crashes more often reproducible.\n",
"\n",
"Overwrite\n",
"This test check whether writes occur before or after the blocks. Before "
@@ -195,14 +195,14 @@ static const sal_Char* pDbgHelpText[] =
"Memory tests are performed on the entire memory with every new/delet. "
"Warning: this option makes programs very slow and should only be enabled "
"to track memory overwrites. Otherwise it is sufficient to enable "
-"seperate options because (if no leak is present) every detectable "
+"separate options because (if no leak is present) every detectable "
"memory overwrite during run time should be found.\n",
"\n",
"Object Test\n",
"Memory test are performed on the entire memory with every object test. "
"Warning: this option makes programs very slow and should only be enabled "
"to track memory overwrite. Otherwise it is sufficient to enable "
-"seperate options because (if no leak is present) every detectable "
+"separate options because (if no leak is present) every detectable "
"memory overwrite during run time should be found.\n",
"\n",
"Windows 16-bit and debug tests\n",
@@ -232,7 +232,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 "
@@ -287,32 +287,32 @@ static const sal_Char* pDbgHelpText[] =
"\n",
"Include ObjectTest filters\n",
"Only classes which contain one of the indicated filters are evaluated with "
-"the object test. Filters are seperated by ';' and are case sensitive. "
+"the object test. Filters are separated by ';' and are case sensitive. "
"Wildcards are not supported. If no text is indicated the filters are not "
"active.\n",
"\n",
"Exclude ObjectTest filters\n",
"Only classes which do not contain one of the indicated filters are evaluated "
-"with the object test. Filters are seperated by ';' and are case sensitive. "
+"with the object test. Filters are separated by ';' and are case sensitive. "
"Wildcards are not supported. If no text is indicated the filters are not "
"active.\n",
"\n",
"Include filters\n",
"Only those texts which include the indicated filters are output. "
-"Filters are seperated by ';' and are case sensitive. "
+"Filters are separated by ';' and are case sensitive. "
"Wildcards are not supported. The filter is used for all output (except for "
"errors). If no text is indicated the filters are not active.\n",
"\n",
"Exclude filters\n",
"Only those texts which do not include the indicated filters are output. "
-"Filters are seperated by ';' and are case sensitive. "
+"Filters are separated by ';' and are case sensitive. "
"Wildcards are not supported. The filter is used for all output (except for "
"errors). If no text is indicated the filters are not active.\n",
"\n",
"Furthermore 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 6ea5efb76486..870415f93224 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -36,7 +36,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/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 978fec746664..a3f69b39c7e6 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1755,7 +1755,7 @@ UnoWrapperBase* Application::GetUnoWrapper( sal_Bool bCreateIfNotExist )
void Application::SetUnoWrapper( UnoWrapperBase* pWrapper )
{
ImplSVData* pSVData = ImplGetSVData();
- DBG_ASSERT( !pSVData->mpUnoWrapper, "SetUnoWrapper: Wrapper allready exists" );
+ DBG_ASSERT( !pSVData->mpUnoWrapper, "SetUnoWrapper: Wrapper already exists" );
pSVData->mpUnoWrapper = pWrapper;
}
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index 9d77057ac75d..139c5e689ded 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -213,7 +213,7 @@ Window* ImplGetDefaultWindow()
// First test if we already have a default window.
// Don't only place a single if..else inside solar mutex lockframe
- // because then we might have to wait for the solar mutex what is not neccessary
+ // because then we might have to wait for the solar mutex what is not necessary
// if we already have a default window.
if ( !pSVData->mpDefaultWin )
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index a606de4b6b79..e28de4f30389 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -632,7 +632,7 @@ void CreateMainLoopThread( oslWorkerFunction pWorker, void * pThreadData )
0, // stacksize 0 means default
_threadmain, // thread worker function
new WorkerThreadData( pWorker, pThreadData ), // arguments for worker function
- 0, // 0 means: create immediatly otherwise use CREATE_SUSPENDED
+ 0, // 0 means: create immediately otherwise use CREATE_SUSPENDED
&uThreadID ); // thread id to fill
#else
hThreadID = osl_createThread( MainWorkerFunction, new WorkerThreadData( pWorker, pThreadData ) );
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index f8dfb5c7bddd..01005004ccdd 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -514,7 +514,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/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 2d62ed10f23c..3ad040b303a0 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -230,8 +230,8 @@ sal_uInt16 ImplEntryList::InsertEntry( sal_uInt16 nPos, ImplEntryType* pNewEntry
}
catch (uno::RuntimeException& )
{
- // XXX this is arguable, if the exception occured because pNewEntry is
- // garbage you wouldn't insert it. If the exception occured because the
+ // XXX this is arguable, if the exception occurred because pNewEntry is
+ // garbage you wouldn't insert it. If the exception occurred because the
// Collator implementation is garbage then give the user a chance to see
// his stuff
Insert( pNewEntry, (sal_uLong)0 );
@@ -745,7 +745,7 @@ void ImplListBoxWindow::ImplCallSelect()
{
if ( !IsTravelSelect() && GetEntryList()->GetMaxMRUCount() )
{
- // Insert the selected entry as MRU, if not allready first MRU
+ // Insert the selected entry as MRU, if not already first MRU
sal_uInt16 nSelected = GetEntryList()->GetSelectEntryPos( 0 );
sal_uInt16 nMRUCount = GetEntryList()->GetMRUCount();
String aSelected = GetEntryList()->GetEntryText( nSelected );
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index cc695852bf24..5a4e65263b58 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -1179,7 +1179,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 bc7c95d07f77..27b22d56a5c3 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -994,7 +994,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/cvtsvm.cxx b/vcl/source/gdi/cvtsvm.cxx
index d78cfc77aa48..998ca97ca8dd 100644
--- a/vcl/source/gdi/cvtsvm.cxx
+++ b/vcl/source/gdi/cvtsvm.cxx
@@ -1376,7 +1376,7 @@ void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf )
}
}
- // cleanup push-pop stack if neccessary
+ // cleanup push-pop stack if necessary
for( void* pLineInfo = aLIStack.Pop(); pLineInfo; pLineInfo = aLIStack.Pop() )
delete (LineInfo*) pLineInfo;
@@ -1421,7 +1421,7 @@ void SVMConverter::ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile& rMtf )
rOStm.Seek( nActPos );
rOStm.SetNumberFormatInt( nOldFormat );
- // cleanup push-pop stack if neccessary
+ // cleanup push-pop stack if necessary
for( void* pCol = aLineColStack.Pop(); pCol; pCol = aLineColStack.Pop() )
delete (Color*) pCol;
}
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 68870d8486a4..a6dd49f366d2 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -3095,7 +3095,7 @@ sal_Bool GDIMetaFile::CreateThumbnail( sal_uInt32 nMaximumExtent,
const_cast<GDIMetaFile *>(this)->WindStart();
const_cast<GDIMetaFile *>(this)->Play( &aVDev, aBackPosPix, aDrawSize );
- // draw overlay if neccessary
+ // draw overlay if necessary
if ( pOverlay )
aVDev.DrawBitmapEx( aOverlayRect.TopLeft(), aOverlayRect.GetSize(), *pOverlay );
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx
index 373b367c4dcd..95e2600328be 100644
--- a/vcl/source/gdi/outdev4.cxx
+++ b/vcl/source/gdi/outdev4.cxx
@@ -754,7 +754,7 @@ void OutputDevice::DrawGradient( const Rectangle& rRect,
mbInitFillColor = sal_True;
- // calculate step count if neccessary
+ // calculate step count if necessary
if ( !aGradient.GetSteps() )
aGradient.SetSteps( GRADIENT_DEFAULT_STEPCOUNT );
@@ -919,7 +919,7 @@ void OutputDevice::DrawGradient( const PolyPolygon& rPolyPoly,
mbInitFillColor = sal_True;
- // calculate step count if neccessary
+ // calculate step count if necessary
if ( !aGradient.GetSteps() )
aGradient.SetSteps( GRADIENT_DEFAULT_STEPCOUNT );
@@ -1028,7 +1028,7 @@ void OutputDevice::AddGradientActions( const Rectangle& rRect, const Gradient& r
aRect.Right()++;
aRect.Bottom()++;
- // calculate step count if neccessary
+ // calculate step count if necessary
if ( !aGradient.GetSteps() )
aGradient.SetSteps( GRADIENT_DEFAULT_STEPCOUNT );
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index fa097c846a45..59070d06269b 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -241,7 +241,7 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
return;
}
- // short circut for drawing an invisible polygon
+ // short circuit for drawing an invisible polygon
if( !mbFillColor || (nTransparencePercent >= 100) )
{
// short circuit if the polygon border is invisible too
@@ -682,7 +682,7 @@ void OutputDevice::DrawTransparent( const GDIMetaFile& rMtf, const Point& rPos,
if(GetAntialiasing())
{
// #i102109#
- // For MetaFile replay (see task) it may now be neccessary to take
+ // For MetaFile replay (see task) it may now be necessary to take
// into account that the content is AntiAlialised and needs to be masked
// like that. Instead of masking, i will use a copy-modify-paste cycle
// here (as i already use in the VclPrimiziveRenderer with successs)
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index cbc088ee1b7f..dffa0cd8db81 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -4302,7 +4302,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 )
{
@@ -4731,7 +4731,7 @@ we check in the following sequence:
}
else
{
-// change the fragment to accomodate the bookmark (only if the file extension is PDF and
+// change the fragment to accommodate the bookmark (only if the file extension is PDF and
// the requested action is of the correct type)
if(m_aContext.DefaultLinkAction == PDFWriter::URIActionDestination &&
bTargetHasPDFExtension && aFragment.getLength() > 0 )
@@ -6157,7 +6157,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 889dc4aa5ef7..20a216cf987d 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -964,7 +964,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 3eb610866b5f..4359d4186bce 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -104,7 +104,7 @@ void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSiz
}
if( i_rContext.m_nMaxImageResolution > 50 )
{
- // do downsampling if neccessary
+ // do downsampling if necessary
const Size aDstSizeTwip( i_pDummyVDev->PixelToLogic( i_pDummyVDev->LogicToPixel( aSize ), MAP_TWIP ) );
const Size aBmpSize( aBitmapEx.GetSizePixel() );
const double fBmpPixelX = aBmpSize.Width();
@@ -168,7 +168,7 @@ void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSiz
if ( bUseJPGCompression )
{
sal_uInt32 nZippedFileSize; // sj: we will calculate the filesize of a zipped bitmap
- { // to determine if jpeg compression is usefull
+ { // to determine if jpeg compression is useful
SvMemoryStream aTemp;
aTemp.SetCompressMode( aTemp.GetCompressMode() | COMPRESSMODE_ZBITMAP );
aTemp.SetVersion( SOFFICE_FILEFORMAT_40 ); // sj: up from version 40 our bitmap stream operator
@@ -1176,7 +1176,7 @@ void PDFWriterImpl::checkAndEnableStreamEncryption( register sal_Int32 nObject )
// the i+2 to take into account the generation number, always zero
rtl_digest_MD5( &m_aContext.Encryption.EncryptionKey[0], i+2, nMD5Sum, sizeof(nMD5Sum) );
// initialize the RC4 with the key
- // key legth: see algoritm 3.1, step 4: (N+5) max 16
+ // key legth: see algorithm 3.1, step 4: (N+5) max 16
rtl_cipher_initARCFOUR( m_aCipher, rtl_Cipher_DirectionEncode, nMD5Sum, m_nRC4KeyLength, NULL, 0 );
}
}
@@ -1195,7 +1195,7 @@ void PDFWriterImpl::enableStringEncryption( register sal_Int32 nObject )
// the i+2 to take into account the generation number, always zero
rtl_digest_MD5( &m_aContext.Encryption.EncryptionKey[0], i+2, nMD5Sum, sizeof(nMD5Sum) );
// initialize the RC4 with the key
- // key legth: see algoritm 3.1, step 4: (N+5) max 16
+ // key legth: see algorithm 3.1, step 4: (N+5) max 16
rtl_cipher_initARCFOUR( m_aCipher, rtl_Cipher_DirectionEncode, nMD5Sum, m_nRC4KeyLength, NULL, 0 );
}
}
@@ -1520,7 +1520,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/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 97531772c80b..b35db105cfca 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -117,7 +117,7 @@ private:
sal_Int32 mnChunkLen; // Length of current PNG chunk
Size maOrigSize; // pixel size of the full image
Size maTargetSize; // pixel size of the result image
- Size maPhysSize; // prefered size in MAP_100TH_MM units
+ Size maPhysSize; // preferred size in MAP_100TH_MM units
sal_uInt32 mnBPP; // number of bytes per pixel
sal_uInt32 mnScansize; // max size of scanline
sal_uInt32 mnYpos; // latest y position in full image
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 76e1642f1bd6..2dbfb2a2cdf1 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -156,7 +156,7 @@ bool PrinterOptions::ReadFromConfig( bool i_bFile )
{
// get service provider
Reference< XMultiServiceFactory > xSMgr( comphelper::getProcessServiceFactory() );
- // create configuration hierachical access name
+ // create configuration hierarchical access name
if( xSMgr.is() )
{
try
@@ -568,7 +568,7 @@ SalPrinterQueueInfo* Printer::ImplGetQueueInfo( const XubString& 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/print2.cxx b/vcl/source/gdi/print2.cxx
index 5b3b04102577..b1f9831f3c6e 100644
--- a/vcl/source/gdi/print2.cxx
+++ b/vcl/source/gdi/print2.cxx
@@ -1380,7 +1380,7 @@ Bitmap OutputDevice::GetDownsampledBitmap( const Size& rDstSz,
const Rectangle aBmpRect( aPoint, aBmp.GetSizePixel() );
Rectangle aSrcRect( rSrcPt, rSrcSz );
- // do cropping if neccessary
+ // do cropping if necessary
if( aSrcRect.Intersection( aBmpRect ) != aBmpRect )
{
if( !aSrcRect.IsEmpty() )
@@ -1391,7 +1391,7 @@ Bitmap OutputDevice::GetDownsampledBitmap( const Size& rDstSz,
if( !aBmp.IsEmpty() )
{
- // do downsampling if neccessary
+ // do downsampling if necessary
Size aDstSizeTwip( PixelToLogic( LogicToPixel( rDstSz ), MAP_TWIP ) );
// #103209# Normalize size (mirroring has to happen outside of this method)
@@ -1449,7 +1449,7 @@ BitmapEx OutputDevice::GetDownsampledBitmapEx( const Size& rDstSz,
const Rectangle aBmpRect( aPoint, aBmpEx.GetSizePixel() );
Rectangle aSrcRect( rSrcPt, rSrcSz );
- // do cropping if neccessary
+ // do cropping if necessary
if( aSrcRect.Intersection( aBmpRect ) != aBmpRect )
{
if( !aSrcRect.IsEmpty() )
@@ -1460,7 +1460,7 @@ BitmapEx OutputDevice::GetDownsampledBitmapEx( const Size& rDstSz,
if( !aBmpEx.IsEmpty() )
{
- // do downsampling if neccessary
+ // do downsampling if necessary
Size aDstSizeTwip( PixelToLogic( LogicToPixel( rDstSz ), MAP_TWIP ) );
// #103209# Normalize size (mirroring has to happen outside of this method)
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index a1296b7ea065..578a372582ee 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1217,7 +1217,7 @@ void PrinterController::printFilteredPage( int i_nPage )
mpImplData->mpPrinter->SetPaperBin( mpImplData->mnFixedPaperBin );
}
- // if full paper is meant to be used, move the output to accomodate for pageoffset
+ // if full paper is meant to be used, move the output to accommodate for pageoffset
if( aPageSize.bFullPaper )
{
Point aPageOffset( mpImplData->mpPrinter->GetPageOffset() );
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index 2dec6ecac2be..d53fa74c9f7f 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -187,7 +187,7 @@ void ImplRegionBand::ProcessPoints()
ImplRegionBandPoint* pNextBandPoint = pRegionBandPoint->mpNextBandPoint->mpNextBandPoint;
- // remove allready processed points
+ // remove already processed points
delete pRegionBandPoint->mpNextBandPoint;
delete pRegionBandPoint;
@@ -222,7 +222,7 @@ bool ImplRegionBand::InsertPoint( long nX, long nLineId,
return true;
}
- // look if line allready touched the band
+ // look if line already touched the band
ImplRegionBandPoint* pRegionBandPoint = mpFirstBandPoint;
ImplRegionBandPoint* pLastTestedRegionBandPoint = NULL;
while( pRegionBandPoint )
@@ -932,7 +932,7 @@ bool ImplRegionBand::operator==( const ImplRegionBand& rRegionBand ) const
pSecondRectBandSep = pSecondRectBandSep->mpNextSep;
}
- // differnt number of separations?
+ // different number of separations?
if ( pOwnRectBandSep || pSecondRectBandSep )
return false;
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 05e191f9a3b5..0aacd96e273d 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -130,7 +130,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()));
@@ -218,7 +218,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);
@@ -586,7 +586,7 @@ bool Region::Union( const Rectangle& rRect )
const long nRight(std::max(rRect.Left(), rRect.Right()));
const long nBottom(std::max(rRect.Top(), rRect.Bottom()));
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
pNew->InsertBands(nTop, nBottom);
// process union
@@ -679,7 +679,7 @@ bool Region::Intersect( const Rectangle& rRect )
const long nRight(std::max(rRect.Left(), rRect.Right()));
const long nBottom(std::max(rRect.Top(), rRect.Bottom()));
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
pNew->InsertBands(nTop, nBottom);
// process intersect
@@ -712,7 +712,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;
@@ -760,7 +760,7 @@ bool Region::Exclude( const Rectangle& rRect )
const long nRight(std::max(rRect.Left(), rRect.Right()));
const long nBottom(std::max(rRect.Top(), rRect.Bottom()));
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
pNew->InsertBands(nTop, nBottom);
// process exclude
@@ -794,7 +794,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;
@@ -845,7 +845,7 @@ bool Region::XOr( const Rectangle& rRect )
const long nRight(std::max(rRect.Left(), rRect.Right()));
const long nBottom(std::max(rRect.Top(), rRect.Bottom()));
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
pNew->InsertBands(nTop, nBottom);
// process xor
@@ -1095,7 +1095,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;
@@ -1167,7 +1167,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;
@@ -1182,7 +1182,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;
@@ -1389,7 +1389,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)
@@ -1703,7 +1703,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/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx
index c0e31a6b587b..055fb340b75d 100755
--- a/vcl/source/gdi/regionband.cxx
+++ b/vcl/source/gdi/regionband.cxx
@@ -788,7 +788,7 @@ void RegionBand::InsertBands(long nTop, long nBottom)
break;
}
- // insert bands between two bands if neccessary
+ // insert bands between two bands if necessary
if ( pBand->mpNextBand )
{
if ( (pBand->mnYBottom + 1) < pBand->mpNextBand->mnYTop )
@@ -977,7 +977,7 @@ void RegionBand::Union(const RegionBand& rSource)
while ( pBand )
{
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
InsertBands(pBand->mnYTop, pBand->mnYBottom);
// process all elements of the list
@@ -1094,7 +1094,7 @@ void RegionBand::Intersect(const RegionBand& rSource)
while ( pBand )
{
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
InsertBands( pBand->mnYTop, pBand->mnYBottom );
// process all elements of the list
@@ -1127,7 +1127,7 @@ void RegionBand::Intersect(const RegionBand& rSource)
pBand = pBand->mpNextBand;
}
- // remove all untouched bands if bands allready left
+ // remove all untouched bands if bands already left
ImplRegionBand* pPrevBand = 0;
pBand = mpFirstBand;
@@ -1168,7 +1168,7 @@ bool RegionBand::Exclude(const RegionBand& rSource)
while ( pBand )
{
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
InsertBands( pBand->mnYTop, pBand->mnYBottom );
// process all elements of the list
@@ -1225,7 +1225,7 @@ void RegionBand::XOr(const RegionBand& rSource)
while ( pBand )
{
- // insert bands if the boundaries are not allready in the list
+ // insert bands if the boundaries are not already in the list
InsertBands( pBand->mnYTop, pBand->mnYBottom );
// process all elements of the list
diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx
index 70c56cff7e9e..f645dfb2139b 100644
--- a/vcl/source/gdi/textlayout.cxx
+++ b/vcl/source/gdi/textlayout.cxx
@@ -147,7 +147,7 @@ namespace vcl
// normally, controls simulate "zoom" by "zooming" the font. This is responsible for (part of) the discrepancies
// between text in Writer and text in controls in Writer, though both have the same font.
// So, if we have a zoom set at the control, then we do not scale the font, but instead modify the map mode
- // to accomodate for the zoom.
+ // to accommodate for the zoom.
aTargetMapMode.SetScaleX( m_aZoom ); // TODO: shouldn't this be "current_scale * zoom"?
aTargetMapMode.SetScaleY( m_aZoom );
diff --git a/vcl/source/glyphs/gcach_layout.cxx b/vcl/source/glyphs/gcach_layout.cxx
index 97b042054b63..73767e8e8402 100644
--- a/vcl/source/glyphs/gcach_layout.cxx
+++ b/vcl/source/glyphs/gcach_layout.cxx
@@ -550,7 +550,7 @@ bool IcuLayoutEngine::operator()( ServerFontLayout& rLayout, ImplLayoutArgs& rAr
else
{
// Hack, find next +ve width glyph and calculate current
- // glyph width by substracting the two posituons
+ // glyph width by subtracting the two positions
const IcuPosition* pNextPos = pPos+1;
for ( int j = i + 1; j <= nRawRunGlyphCount; ++j, ++pNextPos )
{
diff --git a/vcl/source/glyphs/glyphcache.cxx b/vcl/source/glyphs/glyphcache.cxx
index c22b7b458af9..aa8648d5bc56 100644
--- a/vcl/source/glyphs/glyphcache.cxx
+++ b/vcl/source/glyphs/glyphcache.cxx
@@ -410,7 +410,7 @@ ServerFont::ServerFont( const ImplFontSelectData& rFSD )
mbCollectedZW( false )
{
// TODO: move update of mpFontEntry into FontEntry class when
- // it becomes reponsible for the ServerFont instantiation
+ // it becomes responsible for the ServerFont instantiation
((ImplServerFontEntry*)rFSD.mpFontEntry)->SetServerFont( this );
if( rFSD.mnOrientation != 0 )
diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx
index 8231896bb837..7ecd164fcfd7 100644
--- a/vcl/source/glyphs/graphite_layout.cxx
+++ b/vcl/source/glyphs/graphite_layout.cxx
@@ -358,7 +358,7 @@ std::pair<float,float> GraphiteLayout::Glyphs::appendCluster(gr::Segment& rSeg,
rGlyph2Char[size()] = nFirstCharInCluster;
// can we break before this cluster?
- // Glyphs may have either a positive or negative breakWeight refering to
+ // Glyphs may have either a positive or negative breakWeight referring to
// the position after or before the glyph respectively
int nPrevBreakWeight = 0;
if (nFirstGlyphInCluster > 0)
@@ -700,7 +700,7 @@ gr::Segment * GraphiteLayout::CreateSegment(ImplLayoutArgs& rArgs)
gr::Segment * pSegment = NULL;
- // Set the SalLayouts values to be the inital ones.
+ // Set the SalLayouts values to be the initial ones.
SalLayout::AdjustLayout(rArgs);
// TODO check if this is needed
if (mnUnitsPerPixel > 1)
@@ -1279,7 +1279,7 @@ void GraphiteLayout::kashidaJustify(std::vector<int>& rDeltaWidths, sal_GlyphId
void GraphiteLayout::GetCaretPositions( int nArraySize, sal_Int32* pCaretXArray ) const
{
// For each character except the last discover the caret positions
- // immediatly before and after that character.
+ // immediately before and after that character.
// This is used for underlines in the GUI amongst other things.
// It may be used from MultiSalLayout, in which case it must take into account
// glyphs that have been moved.
@@ -1491,7 +1491,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 ca85c61bffa8..836bb09b0ff9 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -3401,7 +3401,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;
@@ -6023,7 +6023,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/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 50f1889c2a6d..b389ef31701f 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -92,7 +92,7 @@ bool PrintDialog::PrintPreviewWindow::useHCColorReplacement() const
{
// get service provider
Reference< XMultiServiceFactory > xSMgr( unohelper::GetMultiServiceFactory() );
- // create configuration hierachical access name
+ // create configuration hierarchical access name
if( xSMgr.is() )
{
try
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 529971b69b0c..3b8095b60993 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -400,10 +400,10 @@ void Splitter::ImplKbdTracking( KeyCode aKeyCode )
Point aNewPos;
Size aSize = mpRefWin->GetOutputSize();
Point aPos = GetPosPixel();
- // depending on the position calc allows continous moves or snaps to row/columns
- // continous mode is active when position is at the origin or end of the splitter
+ // depending on the position calc allows continuous moves or snaps to row/columns
+ // continuous mode is active when position is at the origin or end of the splitter
// otherwise snap mode is active
- // default here is snap, holding shift sets continous mode
+ // default here is snap, holding shift sets continuous mode
if( mbHorzSplit )
aNewPos = Point( ImplSplitterActive() ? aPos.X() : mnSplitPos, aKeyCode.IsShift() ? 0 : aSize.Height()/2);
else
diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx
index 73af0fa00c82..5dbc18e3b1da 100644
--- a/vcl/source/window/tabdlg.cxx
+++ b/vcl/source/window/tabdlg.cxx
@@ -244,7 +244,7 @@ TabDialog::~TabDialog()
void TabDialog::Resize()
{
-// !!! In the future the controls should be automaticly rearrange
+// !!! In the future the controls should be automatically rearrange
// !!! if the window is resized
// !!! if ( !IsRollUp() )
// !!! ImplPosControls();
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 108bf1333636..5cc3819bbe9d 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1659,7 +1659,7 @@ void Window::ImplCallInitShow()
// -----------------------------------------------------------------------
-void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatiblity ok
+void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
{
DBG_ASSERT( !pDel->mpWindow, "Window::ImplAddDel(): cannot add ImplDelData twice !" );
if( !pDel->mpWindow )
@@ -1672,7 +1672,7 @@ void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompat
// -----------------------------------------------------------------------
-void Window::ImplRemoveDel( ImplDelData* pDel ) // TODO: make "const" when incompatiblity ok
+void Window::ImplRemoveDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
{
pDel->mpWindow = NULL; // #112873# pDel is not associated with a Window anymore
if ( mpWindowImpl->mpFirstDel == pDel )
@@ -5120,7 +5120,7 @@ void Window::ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt )
}
}
- // #82968# notify event listeners for mouse and key events seperately and
+ // #82968# notify event listeners for mouse and key events separately and
// not in PreNotify ( as for focus listeners )
// this allows for procesing those events internally first and pass it to
// the toolkit later
@@ -7388,7 +7388,7 @@ void Window::SetPosSizePixel( long nX, long nY,
// Resize should be called directly. If we havn't
// set the correct size, we get a second resize from
- // the system with the correct size. This can be happend
+ // the system with the correct size. This can happen
// if the size is to small or to large.
ImplHandleResize( pWindow, nWidth, nHeight );
}
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 0209becd2710..4a941157e300 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -963,7 +963,7 @@ static long ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent,
// allow application key listeners to remove the key event
// but make sure we're not forwarding external KeyEvents, (ie where bForward is sal_False)
- // becasue those are coming back from the listener itself and MUST be processed
+ // because those are coming back from the listener itself and MUST be processed
KeyEvent aKeyEvent( (xub_Unicode)nCharCode, aKeyCode, nRepeat );
if( bForward )
{
@@ -1559,7 +1559,7 @@ static long 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/test/dndtest.cxx b/vcl/test/dndtest.cxx
index 1dad0ee95e0d..b7ac8b763b59 100644
--- a/vcl/test/dndtest.cxx
+++ b/vcl/test/dndtest.cxx
@@ -341,7 +341,7 @@ void SAL_CALL MyDragAndDropListener::dropActionChanged( const DropTargetDragEven
void SAL_CALL MyDragAndDropListener::dragDropEnd( const DragSourceDropEvent& dsde ) throw(RuntimeException)
{
- printf( "XDragSourceListener::dropDropEnd called ( Window: %p, %s ).\n", m_pWindow, dsde.DropSuccess ? "sucess" : "failed" );
+ printf( "XDragSourceListener::dropDropEnd called ( Window: %p, %s ).\n", m_pWindow, dsde.DropSuccess ? "success" : "failed" );
}
// -----------------------------------------------------------------------
diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx
index 06a75dc27319..e663180f61f0 100644
--- a/vcl/unx/generic/app/i18n_ic.cxx
+++ b/vcl/unx/generic/app/i18n_ic.cxx
@@ -562,7 +562,7 @@ SalI18N_InputContext::SupportInputMethodStyle( XIMStyles *pIMStyles )
if ( pIMStyles != NULL )
{
// check whether the XIM supports one of the desired styles
- // only a single preedit and a single status style must occure
+ // only a single preedit and a single status style must occur
// in a inpuut method style. Hideki said so, so i trust him
for ( int nStyle = 0; nStyle < pIMStyles->count_styles; nStyle++ )
{
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index 24780e0c043f..6e0315c90dcb 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -533,7 +533,7 @@ void SalXLib::XError( Display *pDisplay, XErrorEvent *pEvent )
static Bool bOnce = False;
if ( !bOnce )
{
- std::fprintf(stderr, "X-Error occured in a request for X_OpenFont\n");
+ std::fprintf(stderr, "X-Error occurred in a request for X_OpenFont\n");
EmitFontpathWarning();
bOnce = True ;
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index d94e4fda4d3a..1d44250b17b4 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -1408,8 +1408,8 @@ sal_uInt16 SalDisplay::GetKeyCode( KeySym keysym, char*pcPrintable ) const
break;
// - - - - - Sun X-Server Tastatur ??? - - - - - - - - - - - -
case XK_L1: // XK_F11:
- nKey = KEY_F11; // on a sun keyboard this actually is usally SunXK_Stop,
- // but VCL doesn't have a key defintion for that
+ nKey = KEY_F11; // on a sun keyboard this actually is usually SunXK_Stop,
+ // but VCL doesn't have a key definition for that
break;
case XK_L2: // XK_F12:
if ( GetServerVendor() == vendor_sun )
@@ -1714,7 +1714,7 @@ KeySym SalDisplay::GetKeySym( XKeyEvent *pEvent,
case XLookupBoth:
case XLookupChars:
- /* nothing to, char allready in pPrintable */
+ /* nothing to, char already in pPrintable */
break;
}
}
diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx
index ac12545291b0..ffa244ae14e3 100644
--- a/vcl/unx/generic/app/wmadaptor.cxx
+++ b/vcl/unx/generic/app/wmadaptor.cxx
@@ -1493,7 +1493,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 430a6eb14937..4e6346f0bf9d 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -1024,7 +1024,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;
}
@@ -3830,7 +3830,7 @@ void SelectionManager::shutdown() throw()
osl_terminateThread( m_aThread );
/*
* Allow thread to finish before app exits to avoid pulling the carpet
- * out from under it if pasting is occuring during shutdown
+ * out from under it if pasting is occurring during shutdown
*
* a) allow it to have the Mutex and
* b) reschedule to allow it to complete callbacks to any
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index 5076d18075fc..6ecfbad8b0dc 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -67,7 +67,7 @@ namespace x11 {
virtual void fireContentsChanged() = 0;
virtual com::sun::star::uno::Reference< XInterface > getReference() = 0;
// returns a reference that will keep the SelectionAdaptor alive until the
- // refernce is released
+ // reference is released
};
class DropTarget :
diff --git a/vcl/unx/generic/fontmanager/parseAFM.cxx b/vcl/unx/generic/fontmanager/parseAFM.cxx
index e1a33b4d1b5d..d1c59ce1f597 100644
--- a/vcl/unx/generic/fontmanager/parseAFM.cxx
+++ b/vcl/unx/generic/fontmanager/parseAFM.cxx
@@ -47,7 +47,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/unx/generic/fontmanager/parseAFM.hxx b/vcl/unx/generic/fontmanager/parseAFM.hxx
index cfebde696c14..2ab1c6451339 100644
--- a/vcl/unx/generic/fontmanager/parseAFM.hxx
+++ b/vcl/unx/generic/fontmanager/parseAFM.hxx
@@ -36,7 +36,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
@@ -316,7 +316,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/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 462dbca48b5f..9db26c99eb31 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -330,7 +330,7 @@ void PPDDecompressStream::Open( const rtl::OUString& i_rFile )
}
else
{
- // compression successfull, can get rid of file stream
+ // compression successful, can get rid of file stream
delete mpFileStream, mpFileStream = NULL;
mpMemStream->Seek( 0 );
}
diff --git a/vcl/unx/generic/window/FWS.cxx b/vcl/unx/generic/window/FWS.cxx
index 82f7a0c1d58b..7497e8300b60 100644
--- a/vcl/unx/generic/window/FWS.cxx
+++ b/vcl/unx/generic/window/FWS.cxx
@@ -186,7 +186,7 @@ WMSupportsFWS (Display *display, int screen)
*
* newHandler() -
*
- * Handle X errors (temporarily) to record the occurance of BadWindow
+ * Handle X errors (temporarily) to record the occurrence of BadWindow
* errors without crashing. Used to detect the FWS_COMM_WINDOW root window
* property containing an old or obsolete window id.
*
diff --git a/vcl/unx/generic/window/FWS.hxx b/vcl/unx/generic/window/FWS.hxx
index c6936215e747..946b41189fd7 100644
--- a/vcl/unx/generic/window/FWS.hxx
+++ b/vcl/unx/generic/window/FWS.hxx
@@ -37,7 +37,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/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 7cc5eeedf855..8d9d4a2668a2 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -3519,7 +3519,7 @@ long X11SalFrame::HandleKeyEvent( XKeyEvent *pEvent )
{
if ( ! CallCallback(SALEVENT_KEYINPUT, &aKeyEvt) )
{
- // independent layer doesnt want to handle key-event, so check
+ // independent layer doesn't want to handle key-event, so check
// whether the keycode may have an alternate meaning
KeyAlternate aAlternate = GetAlternateKeyCode( nKeyCode );
if ( aAlternate.nKeyCode != 0 )
@@ -3958,7 +3958,7 @@ long X11SalFrame::HandleReparentEvent( XReparentEvent *pEvent )
// limit width and height if we are too large: #47757
- // olwm and fvwm need this, it doesnt harm the rest
+ // olwm and fvwm need this, it doesn't harm the rest
// #i81311# do this only for sizable frames
if( (nStyle_ & SAL_FRAME_STYLE_SIZEABLE) != 0 )
diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx
index 0e7d9ee30b76..acfa7fd12043 100644
--- a/vcl/unx/gtk/a11y/atkwindow.cxx
+++ b/vcl/unx/gtk/a11y/atkwindow.cxx
@@ -190,7 +190,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 1ef4757e88df..9ae041484c03 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -864,9 +864,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/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index e591348e189f..eb1d3e6d7d1c 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -633,7 +633,7 @@ void GtkXLib::Init()
g_set_application_name(X11SalData::getFrameClassName());
- // Set consistant name of the root accessible
+ // Set consistent name of the root accessible
rtl::OUString aAppName = Application::GetAppName();
if( aAppName.getLength() > 0 )
{
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 6dbe23fc5cd7..bf5065be3937 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -449,7 +449,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/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index d5cb5270744d..972f24b63148 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -3515,7 +3515,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 dedf0b32ea2f..eac77cc5942f 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -795,7 +795,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/salinst.cxx b/vcl/win/source/app/salinst.cxx
index 55ab108967b9..7b1b3b2fae12 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -771,7 +771,7 @@ LRESULT CALLBACK SalComWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar
rDef = FALSE;
break;
// If we get this message, because another GetMessage() call
- // has recieved this message, we must post this message to
+ // has received this message, we must post this message to
// us again, because in the other case we wait forever.
case SAL_MSG_RELEASEWAITYIELD:
{
diff --git a/vcl/win/source/app/saltimer.cxx b/vcl/win/source/app/saltimer.cxx
index 0a967b52cf1e..4ed3f2b3910b 100644
--- a/vcl/win/source/app/saltimer.cxx
+++ b/vcl/win/source/app/saltimer.cxx
@@ -117,7 +117,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/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
index 276dfca00a62..ecf972e03a6c 100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -354,7 +354,7 @@ void ImplFreeSalGDI()
pSalData->mhDitherPal = 0;
}
- // delete buffers for dithering DIB patterns, if neccessary
+ // delete buffers for dithering DIB patterns, if necessary
if ( pSalData->mhDitherDIB )
{
GlobalUnlock( pSalData->mhDitherDIB );
@@ -1087,7 +1087,7 @@ void WinSalGraphics::SetLineColor()
HPEN hNewPen = GetStockPen( NULL_PEN );
HPEN hOldPen = SelectPen( getHDC(), hNewPen );
- // destory or save old pen
+ // destroy or save old pen
if ( mhPen )
{
if ( !mbStockPen )
@@ -1145,7 +1145,7 @@ void WinSalGraphics::SetLineColor( SalColor nSalColor )
// select new pen
HPEN hOldPen = SelectPen( getHDC(), hNewPen );
- // destory or save old pen
+ // destroy or save old pen
if ( mhPen )
{
if ( !mbStockPen )
@@ -1169,7 +1169,7 @@ void WinSalGraphics::SetFillColor()
HBRUSH hNewBrush = GetStockBrush( NULL_BRUSH );
HBRUSH hOldBrush = SelectBrush( getHDC(), hNewBrush );
- // destory or save old brush
+ // destroy or save old brush
if ( mhBrush )
{
if ( !mbStockBrush )
@@ -1273,7 +1273,7 @@ void WinSalGraphics::SetFillColor( SalColor nSalColor )
// select new brush
HBRUSH hOldBrush = SelectBrush( getHDC(), hNewBrush );
- // destory or save old brush
+ // destroy or save old brush
if ( mhBrush )
{
if ( !mbStockBrush )
diff --git a/vcl/win/source/gdi/salgdi2.cxx b/vcl/win/source/gdi/salgdi2.cxx
index e8273baabc10..c61c5a6ce2ab 100644
--- a/vcl/win/source/gdi/salgdi2.cxx
+++ b/vcl/win/source/gdi/salgdi2.cxx
@@ -270,7 +270,7 @@ void WinSalGraphics::copyArea( long nDestX, long nDestY,
{
// hInvalidateRgn contains the fully visible parts of the original srcRect
hTempRgn = CreateRectRgnIndirect( &aSrcRect );
- // substract it from the original rect to get the occluded parts
+ // subtract it from the original rect to get the occluded parts
nRgnType = CombineRgn( hInvalidateRgn, hTempRgn, hInvalidateRgn, RGN_DIFF );
DeleteRegion( hTempRgn );
@@ -709,7 +709,7 @@ SalBitmap* WinSalGraphics::getBitmap( long nX, long nY, long nDX, long nDY )
else
{
err = GetLastError();
- // #124826# avoid resource leak ! happens when runing without desktop access (remote desktop, service, may be screensavers)
+ // #124826# avoid resource leak ! happens when running without desktop access (remote desktop, service, may be screensavers)
DeleteBitmap( hBmpBitmap );
}
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index da67ab35fb70..e4cd2bafabde 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -406,7 +406,7 @@ static Unicode2LangType aLangFromCodeChart[]= {
// get language matching to the missing char
LanguageType MapCharToLanguage( sal_UCS4 uChar )
{
- // entries marked with default-CJK get replaced with the prefered CJK language
+ // entries marked with default-CJK get replaced with the preferred CJK language
static bool bFirst = true;
if( bFirst )
{
@@ -450,7 +450,7 @@ LanguageType MapCharToLanguage( sal_UCS4 uChar )
break;
}
- // change the marked entries to prefered language
+ // change the marked entries to preferred language
static const int nCount = (sizeof(aLangFromCodeChart) / sizeof(*aLangFromCodeChart));
for( int i = 0; i < nCount; ++i )
{
@@ -547,7 +547,7 @@ bool WinGlyphFallbackSubstititution::HasMissingChars( const ImplFontData* pFace,
}
// find a fallback font for missing characters
-// TODO: should stylistic matches be searched and prefered?
+// TODO: should stylistic matches be searched and preferred?
bool WinGlyphFallbackSubstititution::FindFontSubstitute( ImplFontSelectData& rFontSelData, rtl::OUString& rMissingChars ) const
{
// guess a locale matching to the missing chars
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 835ea989680e..5eef35c1f2a5 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -1582,7 +1582,7 @@ void WinSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight,
aRect.bottom = pt.y+2;
// dualmonitor support:
- // Get screensize of the monitor whith the mouse pointer
+ // Get screensize of the monitor with the mouse pointer
ImplSalGetWorkArea( mhWnd, &aRect, &aRect );
nX = ((aRect.right-aRect.left)-nWidth)/2 + aRect.left;
@@ -4177,7 +4177,7 @@ static void SetMaximizedFrameGeometry( HWND hWnd, WinSalFrame* pFrame, RECT* pPa
// calculate and set frame geometry of a maximized window - useful if the window is still hidden
// dualmonitor support:
- // Get screensize of the monitor whith the mouse pointer
+ // Get screensize of the monitor with the mouse pointer
RECT aRectMouse;
if( ! pParentRect )
@@ -4841,7 +4841,7 @@ static int ImplMenuChar( HWND, WPARAM wParam, LPARAM lParam )
if( nFound == 1 )
nRet = MAKELRESULT( idxFound, MNC_EXECUTE );
else
- // duplicate mnemonics, just select the next occurence
+ // duplicate mnemonics, just select the next occurrence
nRet = MAKELRESULT( idxFound, MNC_SELECT );
return nRet;
@@ -5111,7 +5111,7 @@ static int ImplHandleMenuSelect( HWND hWnd, WPARAM wParam, LPARAM lParam )
long nRet = 0;
if ( hMenu && !pFrame->mLastActivatedhMenu )
{
- // we never activated a menu (ie, no WM_INITMENUPOPUP has occured yet)
+ // we never activated a menu (ie, no WM_INITMENUPOPUP has occurred yet)
// which means this must be the menubar -> send activation/deactivation
SalMenuEvent aMenuEvt;
WinSalMenuItem *pSalMenuItem = ImplGetSalMenuItem( hMenu, nId, bByPosition );
@@ -6208,7 +6208,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
if (Application::GetSettings().GetMiscSettings().GetEnableATToolSupport())
{
- // Make sure to launch Accessibiliity only the following criterias are satisfied to avoid RFT interrupts regular acc processing
+ // Make sure to launch Accessibiliity only the following criteria are satisfied to avoid RFT interrupts regular acc processing
if (g_acc_manager1 == NULL)
{
sal_Bool bCancelled(sal_False);