diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 4 | ||||
-rw-r--r-- | vcl/source/app/salvtables.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/button.cxx | 2 | ||||
-rw-r--r-- | vcl/source/fontsubset/sft.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl2.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/print.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/region.cxx | 18 | ||||
-rw-r--r-- | vcl/source/glyphs/graphite_layout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 |
13 files changed, 24 insertions, 24 deletions
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 ) { |