diff options
Diffstat (limited to 'vcl')
26 files changed, 39 insertions, 39 deletions
diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx index 145fe1b8e281..4b82ca30cd9a 100644 --- a/vcl/generic/fontmanager/parseAFM.cxx +++ b/vcl/generic/fontmanager/parseAFM.cxx @@ -45,7 +45,7 @@ /* parseAFM.c * - * This file is used in conjuction with the parseAFM.h header file. + * This file is used in conjunction with the parseAFM.h header file. * This file contains several procedures that are used to parse AFM * files. It is intended to work with an application program that needs * font metric information. The program can be used as is by making a diff --git a/vcl/generic/fontmanager/parseAFM.hxx b/vcl/generic/fontmanager/parseAFM.hxx index f77f84a6ea4e..2d25a2731cda 100644 --- a/vcl/generic/fontmanager/parseAFM.hxx +++ b/vcl/generic/fontmanager/parseAFM.hxx @@ -37,7 +37,7 @@ /* ParseAFM.h * - * This header file is used in conjuction with the parseAFM.c file. + * This header file is used in conjunction with the parseAFM.c file. * Together these files provide the functionality to parse Adobe Font * Metrics files and store the information in predefined data structures. * It is intended to work with an application program that needs font metric @@ -300,7 +300,7 @@ typedef struct * * "fp" should be a valid file pointer to an AFM file. * - * "fi" is a pointer to a pointer to a FontInfo record sturcture + * "fi" is a pointer to a pointer to a FontInfo record structure * (defined above). Storage for the FontInfo structure will be * allocated in parseFile and the structure will be filled in * with the requested data from the AFM File. diff --git a/vcl/inc/generic/printerjob.hxx b/vcl/inc/generic/printerjob.hxx index 3466025318b1..218a4b551f07 100644 --- a/vcl/inc/generic/printerjob.hxx +++ b/vcl/inc/generic/printerjob.hxx @@ -103,7 +103,7 @@ public: * to named file. * nMode: only meaningful when saving to file: if nonzero, try * to impose the mode on the resulting file's inode; for nonexistant - * files use open, for existant files try a chmod + * files use open, for existent files try a chmod * rJobName: text to appear in the %%Title comment * rAppName: text to appear in the %%Creator comment * rSetupData: JobData that apply to this job diff --git a/vcl/inc/unx/XIM.h b/vcl/inc/unx/XIM.h index 8826148ee5bb..0a330003eed9 100644 --- a/vcl/inc/unx/XIM.h +++ b/vcl/inc/unx/XIM.h @@ -39,7 +39,7 @@ typedef struct _XIMAnnotation { } XIMAnnotation; /* - XIMUText: XIMText extention for UTF16 + XIMUText: XIMText extension for UTF16 */ typedef struct _XIMUnicodeText { unsigned short length; diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index 67aacce3e8ec..a03e1110dd0f 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -84,7 +84,7 @@ static const sal_Char* pDbgHelpText[] = "exception handler is called.\n", "\n", "Dialog\n", -"FixedTexts, CheckBoxes, TriStateBoxes and RadioButtons are equiped with " +"FixedTexts, CheckBoxes, TriStateBoxes and RadioButtons are equipped with " "a different background color to determine the size of the controls. This " "test also shows whether controls overlap, whether the tab order is correct " "and whether the mnemonic characters are correctly assigned. With dialogs " @@ -106,7 +106,7 @@ static const sal_Char* pDbgHelpText[] = "You can indicate where the data will be output:\n", "\n", "None\n", -"Output is surpressed.\n", +"Output is suppressed.\n", "\n", "File\n", "Outputi n debug file. Filename can be entered in the Editfield.\n", diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index cbde0d4bf038..a0447312a778 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -29,7 +29,7 @@ #include <salmenu.hxx> // this file contains the virtual destructors of the sal interface -// compilers ususally put their vtables where the destructor is +// compilers usually put their vtables where the destructor is SalFrame::~SalFrame() { diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 4638bd04a24e..6cf70e091c41 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -352,7 +352,7 @@ void Button::ImplDrawAlignedImage( OutputDevice* pDev, Point& rPos, aMax.Width() = aTSSize.Width() > aImageSize.Width() ? aTSSize.Width() : aImageSize.Width(); aMax.Height() = aTSSize.Height() > aImageSize.Height() ? aTSSize.Height() : aImageSize.Height(); - // Now calculate the output area for the image and the text acording to the image align flags + // Now calculate the output area for the image and the text according to the image align flags if ( ( eImageAlign == IMAGEALIGN_LEFT ) || ( eImageAlign == IMAGEALIGN_RIGHT ) ) diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index 438876e0adfd..8f07bb3355ec 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -1000,7 +1000,7 @@ static void GetNames(TrueTypeFont *t) /* #i60349# sanity check psname * psname parctically has to be 7bit ascii and should not contains spaces - * there is a class of broken fonts which do not fullfill that at all, so let's try + * there is a class of broken fonts which do not fulfill that at all, so let's try * if the family name is 7bit ascii and take it instead if so */ /* check psname */ diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 8a5cd0970c85..da9d07f66295 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -975,7 +975,7 @@ BitmapEx BitmapEx::getTransformed( // aOutlineRange aTransform = rTransformation * aTransform; - // substract top-left of absolute VisibleRange + // subtract top-left of absolute VisibleRange aTransform.translate( -aVisibleRange.getMinX(), -aVisibleRange.getMinY()); diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index e2d522653711..5f825e04f6fc 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -4099,7 +4099,7 @@ bool PDFWriterImpl::emitFonts() if( ((++ni) & 7) == 0 ) aFontDict.append( '\n' ); } - // emit builtin font for widget apperances / variable text + // emit builtin font for widget appearances / variable text for( std::map< sal_Int32, sal_Int32 >::iterator it = m_aBuiltinFontToObjectMap.begin(); it != m_aBuiltinFontToObjectMap.end(); ++it ) { @@ -6241,7 +6241,7 @@ sal_Int32 PDFWriterImpl::emitNamedDestinations() aLine.append( '/' ); appendDestinationName( aName, aLine ); // this conversion must be done when forming the link to target ( see in emitCatalog ) aLine.append( '[' ); // the '[' can be emitted immediately, because the appendDestinationName function - //maps the preceeding character properly + //maps the preceding character properly aLine.append( rDestPage.m_nPageObject ); aLine.append( " 0 R" ); diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index 7f1b3583c85f..26189b83651c 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -971,7 +971,7 @@ i12626 sal_Int32 updateOutlineItemCount( std::vector< sal_Int32 >& rCounts, sal_Int32 nItemLevel, sal_Int32 nCurrentItemId ); - // default appearences for widgets + // default appearances for widgets sal_Int32 findRadioGroupWidget( const PDFWriter::RadioButtonWidget& rRadio ); Font replaceFont( const Font& rControlFont, const Font& rAppSetFont ); sal_Int32 getBestBuiltinFont( const Font& rFont ); diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 30b4b6cc4067..502e120386b2 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1507,7 +1507,7 @@ bool PDFWriterImpl::computeUDictionaryValue( EncHashTransporter* i_pTransporter, else { //or 3.5, for 128 bit security - //step6, initilize the last 16 bytes of the encrypted user password to 0 + //step6, initialize the last 16 bytes of the encrypted user password to 0 for(sal_uInt32 i = MD5_DIGEST_SIZE; i < sal_uInt32(io_rProperties.UValue.size()); i++) io_rProperties.UValue[i] = 0; //step 2 diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 1132d87ac8a1..dcbe378961e3 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -900,7 +900,7 @@ SalPrinterQueueInfo* Printer::ImplGetQueueInfo( const OUString& rPrinterName, ImplPrnQueueList* pPrnList = pSVData->maGDIData.mpPrinterQueueList; if ( pPrnList && pPrnList->m_aQueueInfos.size() ) { - // first search for the printer name driectly + // first search for the printer name directly ImplPrnQueueData* pInfo = pPrnList->Get( rPrinterName ); if( pInfo ) return pInfo->mpSalQueueInfo; diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index a6cfb65ec782..9adf158a138e 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -119,7 +119,7 @@ namespace OSL_ASSERT(aStart.X() == aEnd.X()); // Sort y-coordinates to simplify the algorithm and store the - // direction seperately. The direction is calculated as it is + // direction separately. The direction is calculated as it is // in other places (but seems to be the wrong way.) const long nTop (::std::min(aStart.Y(), aEnd.Y())); const long nBottom (::std::max(aStart.Y(), aEnd.Y())); @@ -207,7 +207,7 @@ namespace pRegionBand->InsertLine( aPoly.GetPoint(nPoint-1), aPoly.GetPoint(nPoint), nLineID++ ); } - // close polygon with line from first point to last point, if neccesary + // close polygon with line from first point to last point, if necessary const Point rLastPoint = aPoly.GetPoint(nSize-1); const Point rFirstPoint = aPoly.GetPoint(0); @@ -696,7 +696,7 @@ bool Region::Exclude( const Rectangle& rRect ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error; cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::Exclude error: Cannot exclude from null region (!)"); return true; @@ -778,7 +778,7 @@ bool Region::XOr( const Rectangle& rRect ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error; cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::XOr error: Cannot XOr with null region (!)"); return true; @@ -1079,7 +1079,7 @@ bool Region::Exclude( const Region& rRegion ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error; cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::Exclude error: Cannot exclude from null region (!)"); return true; @@ -1151,7 +1151,7 @@ bool Region::XOr( const Region& rRegion ) if ( rRegion.IsNull() ) { - // error; cannnot exclude null region from local since this is not representable + // error; cannot exclude null region from local since this is not representable // in the data OSL_ENSURE(false, "Region::XOr error: Cannot XOr with null region (!)"); return true; @@ -1166,7 +1166,7 @@ bool Region::XOr( const Region& rRegion ) if(IsNull()) { - // error; cannnot exclude from null region since this is not representable + // error: cannot exclude from null region since this is not representable // in the data OSL_ENSURE(false, "Region::XOr error: Cannot XOr with null region (!)"); return false; @@ -1373,7 +1373,7 @@ bool Region::IsInside( const Point& rPoint ) const // return mpImplRegion->getRegionPolyPoly()->IsInside( rPoint ); //} - // ensure RegionBand existance + // ensure RegionBand existence const RegionBand* pRegionBand = GetAsRegionBand(); if(pRegionBand) @@ -1685,7 +1685,7 @@ void Region::GetRegionRectangles(RectangleVector& rTarget) const // clear returnvalues rTarget.clear(); - // ensure RegionBand existance + // ensure RegionBand existence const RegionBand* pRegionBand = GetAsRegionBand(); if(pRegionBand) diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index c1817c7c585d..53435779d9e5 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -1317,7 +1317,7 @@ int GraphiteLayout::GetNextGlyphs( int length, sal_GlyphId * glyph_out, void GraphiteLayout::MoveGlyph( int nGlyphIndex, long nNewPos ) { - // TODO it might be better to actualy implement simplify properly, but this + // TODO it might be better to actually implement simplify properly, but this // needs to be done carefully so the glyph/char maps are maintained // If a glyph has been dropped then it wasn't returned by GetNextGlyphs, so // the index here may be wrong diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index ddecbe05121e..9ed5681a4b70 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -3297,7 +3297,7 @@ Window* MenuBar::ImplCreate( Window* pParent, Window* pWindow, MenuBar* pMenu ) long nHeight = pMenu->ImplCalcSize( pWindow ).Height(); // depending on the native implementation or the displayable flag - // the menubar windows is supressed (ie, height=0) + // the menubar windows is suppressed (ie, height=0) if( !((MenuBar*) pMenu)->IsDisplayable() || ( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) ) nHeight = 0; @@ -5955,7 +5955,7 @@ void MenuBarWindow::ImplLayoutChanged() long nHeight = pMenu->ImplCalcSize( this ).Height(); // depending on the native implementation or the displayable flag - // the menubar windows is supressed (ie, height=0) + // the menubar windows is suppressed (ie, height=0) if( !((MenuBar*) pMenu)->IsDisplayable() || ( pMenu->ImplGetSalMenu() && pMenu->ImplGetSalMenu()->VisibleMenuBar() ) ) nHeight = 0; diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index bd35b80a388e..5560cddca5f9 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1470,7 +1470,7 @@ static bool ImplHandleWheelEvent( Window* pWindow, const SalWheelMouseEvent& rEv static void ImplHandlePaint( Window* pWindow, const Rectangle& rBoundRect, bool bImmediateUpdate ) { - // give up background save when sytem paints arrive + // give up background save when system paints arrive Window* pSaveBackWin = pWindow->ImplGetWindowImpl()->mpFrameData->mpFirstBackWin; while ( pSaveBackWin ) { diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx index 787bb3c7162c..4d67081bd683 100644 --- a/vcl/unx/generic/app/wmadaptor.cxx +++ b/vcl/unx/generic/app/wmadaptor.cxx @@ -1385,7 +1385,7 @@ void WMAdaptor::setFrameTypeAndDecoration( X11SalFrame* pFrame, WMWindowType eTy // set transientFor hint /* #91030# dtwm will not map a dialogue if the transient - * window is iconified. This is deemed undesireable because + * window is iconified. This is deemed undesirable because * message boxes do not get mapped, so use the root as transient * instead. */ diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx index c949e50123b5..a476957b45ef 100644 --- a/vcl/unx/generic/dtrans/X11_selection.cxx +++ b/vcl/unx/generic/dtrans/X11_selection.cxx @@ -984,7 +984,7 @@ bool SelectionManager::getPasteData( Atom selection, Atom type, Sequence< sal_In } #if OSL_DEBUG_LEVEL > 1 else - fprintf( stderr, "conversion unsuccessfull\n" ); + fprintf( stderr, "conversion unsuccessful\n" ); #endif return bSuccess; } diff --git a/vcl/unx/generic/window/FWS.hxx b/vcl/unx/generic/window/FWS.hxx index 25acd432faf6..93c863f74cef 100644 --- a/vcl/unx/generic/window/FWS.hxx +++ b/vcl/unx/generic/window/FWS.hxx @@ -33,7 +33,7 @@ extern "C" { Bool WMSupportsFWS (Display *display, int screen); -/* Send a client message to the FWS_COMM_WINDOW indicating the existance +/* Send a client message to the FWS_COMM_WINDOW indicating the existence * of a new FWS client window. Be careful to avoid BadWindow errors on * the XSendEvent in case the FWS_COMM_WINDOW root window property had * old/obsolete junk in it. diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx index 093fdef66ad8..a74de46bc0d0 100644 --- a/vcl/unx/gtk/a11y/atkwindow.cxx +++ b/vcl/unx/gtk/a11y/atkwindow.cxx @@ -191,7 +191,7 @@ ooo_window_wrapper_real_initialize(AtkObject *obj, gpointer data) Reference< XAccessible > xAccessible( pWindow->GetAccessible(true) ); /* We need the wrapper object for the top-level XAccessible to be - * in the wrapper registry when atk traverses the hierachy up on + * in the wrapper registry when atk traverses the hierarchy up on * focus events */ if( WINDOW_BORDERWINDOW == pWindow->GetType() ) diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx index a688c354670f..f3ef8d533c0e 100644 --- a/vcl/unx/gtk/a11y/atkwrapper.cxx +++ b/vcl/unx/gtk/a11y/atkwrapper.cxx @@ -814,9 +814,9 @@ atk_object_wrapper_new( const ::com::sun::star::uno::Reference< ::com::sun::star else { /* gail_focus_tracker remembers the focused object at the first - * parent in the hierachy that is a Gtk+ widget, but at the time the + * parent in the hierarchy that is a Gtk+ widget, but at the time the * event gets processed (at idle), it may be too late to create the - * hierachy, so doing it now .. + * hierarchy, so doing it now .. */ uno::Reference< accessibility::XAccessible > xParent( xContext->getAccessibleParent() ); diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index a2b332620088..b1e7e238fcb6 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -472,7 +472,7 @@ void GtkData::deInitNWF( void ) { // free up global widgets // gtk_widget_destroy will in turn destroy the child hierarchy - // so only destroy disjunct hierachies + // so only destroy disjunct hierarchies if( gWidgetData[i].gCacheWindow ) gtk_widget_destroy( gWidgetData[i].gCacheWindow ); if( gWidgetData[i].gMenuWidget ) diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index e748bdcfabb7..a8207be07815 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -4187,7 +4187,7 @@ bool GtkSalFrame::IMHandler::handleKeyEvent( GdkEventKey* pEvent ) /* FIXME: * #122282# still more hacking: some IMEs never start a preedit but simply commit * in this case we cannot commit a single character. Workaround: do not do the -* single key hack for enter or space if the unicode commited does not match +* single key hack for enter or space if the unicode committed does not match */ static bool checkSingleKeyCommitHack( guint keyval, sal_Unicode cCode ) diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx index 6f51fad7035c..4034d6174b35 100644 --- a/vcl/unx/kde/salnativewidgets-kde.cxx +++ b/vcl/unx/kde/salnativewidgets-kde.cxx @@ -844,7 +844,7 @@ QPushButton *WidgetPainter::pushButton( const Rectangle& rControlRegion, // Workaround for broken styles which do not add // QStyle::PM_ButtonDefaultIndicator to the size of the default button // (for example Keramik) - // FIXME Fix Keramik style to be consistant with Qt built-in styles. Aargh! + // FIXME Fix Keramik style to be consistent with Qt built-in styles. Aargh! if ( bDefault ) { QSize qContentsSize( 50, 50 ); diff --git a/vcl/win/source/app/saltimer.cxx b/vcl/win/source/app/saltimer.cxx index c0aba2842dee..287ec9addcfc 100644 --- a/vcl/win/source/app/saltimer.cxx +++ b/vcl/win/source/app/saltimer.cxx @@ -104,7 +104,7 @@ void CALLBACK SalTimerProc( HWND, UINT, UINT_PTR nId, DWORD ) bool bRecursive = pSalData->mbInTimerProc && (nId != SALTIMERPROC_RECURSIVE); if ( pSVData->mpSalTimer && ! bRecursive ) { - // Try to aquire the mutex. If we don't get the mutex then we + // Try to acquire the mutex. If we don't get the mutex then we // try this a short time later again. if ( ImplSalYieldMutexTryToAcquire() ) { |