diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/aqua/saldata.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/aqua/salgdi.h | 2 | ||||
-rw-r--r-- | vcl/inc/aqua/salmathutils.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/graphite_cache.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/jobset.h | 2 | ||||
-rw-r--r-- | vcl/inc/os2/salgdi.h | 4 | ||||
-rw-r--r-- | vcl/inc/printerjob.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/salgdi.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/salwtype.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/unx/XIM.h | 2 | ||||
-rw-r--r-- | vcl/inc/unx/wmadaptor.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/lazydelete.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/vcl/pdfwriter.hxx | 10 | ||||
-rw-r--r-- | vcl/inc/vcl/ppdparser.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/print.hxx | 4 | ||||
-rw-r--r-- | vcl/inc/vcl/printerinfomanager.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/salnativewidgets.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/strhelper.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/window.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/win/salgdi.h | 4 |
20 files changed, 31 insertions, 31 deletions
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 |