diff options
31 files changed, 41 insertions, 41 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java index 0f5d9bffc4f4..67ace100fb5f 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java @@ -237,7 +237,7 @@ public class LocalOfficeWindow * Returns an Any containing a sequences of com.sun.star.beans.NamedValue. One NamedValue * contains the name "WINDOW" and the value is a Long representing the window handle. * The second NamedValue has the name "XEMBED" and the value is true, when the XEmbed - * protocol shall be used fore embedding the native Window. + * protocol shall be used for embedding the native Window. */ protected Any getWrappedWindowHandle() { diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index 13e88e9df86d..83b05ff07812 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -584,7 +584,7 @@ void SvxCharacterMap::SetCharFont( const vcl::Font& rFont ) if (aTmp.GetFamilyName() == "StarSymbol" && m_xFontLB->find_text(aTmp.GetFamilyName()) == -1) { - //if for some reason, like font in an old document, StarSymbol is requested and its not available, then + //if for some reason, like font in an old document, StarSymbol is requested and it's not available, then //try OpenSymbol instead aTmp.SetFamilyName("OpenSymbol"); } diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx index c12b89e5f5c1..e5b4effc40b4 100644 --- a/dbaccess/source/ui/dlg/indexdialog.cxx +++ b/dbaccess/source/ui/dlg/indexdialog.cxx @@ -388,7 +388,7 @@ namespace dbaui for (SvTreeListEntry* pAdjust = m_pIndexList->First(); pAdjust; pAdjust = m_pIndexList->Next(pAdjust)) { Indexes::const_iterator aAfterInsertPos = m_pIndexes->find(m_pIndexList->GetEntryText(pAdjust)); - OSL_ENSURE(aAfterInsertPos != m_pIndexes->end(), "DbaIndexDialog::OnNewIndex: problems with on of the entries!"); + OSL_ENSURE(aAfterInsertPos != m_pIndexes->end(), "DbaIndexDialog::OnNewIndex: problems with one of the entries!"); pAdjust->SetUserData(reinterpret_cast< void* >(sal_Int32(aAfterInsertPos - m_pIndexes->begin()))); } @@ -460,7 +460,7 @@ namespace dbaui for (SvTreeListEntry* pAdjust = m_pIndexList->First(); pAdjust; pAdjust = m_pIndexList->Next(pAdjust)) { Indexes::const_iterator aAfterDropPos = m_pIndexes->find(m_pIndexList->GetEntryText(pAdjust)); - OSL_ENSURE(aAfterDropPos != m_pIndexes->end(), "DbaIndexDialog::OnDropIndex: problems with on of the remaining entries!"); + OSL_ENSURE(aAfterDropPos != m_pIndexes->end(), "DbaIndexDialog::OnDropIndex: problems with one of the remaining entries!"); pAdjust->SetUserData(reinterpret_cast< void* >(sal_Int32(aAfterDropPos - m_pIndexes->begin()))); } diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index e6bc534726ab..71858367f92f 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -562,7 +562,7 @@ static sal_Bool isHiDPI(struct splash* splash) return sal_False; pValStr = XGetDefault(splash->display, "Xft", "dpi"); - /* if its too old to have this, assume its not hidpi */ + /* if it's too old to have this, assume it's not hidpi */ if (!pValStr) return sal_False; diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 7485a15c9494..bcd18d2d1f26 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -728,7 +728,7 @@ namespace drawinglayer Wrote an eMail to FS, he is on vacation currently. I see no reason why not to move that stuff to somewhere else, maybe tools or svtools ?!? We will see... Moved to toolkit, so I have to link against it. I tried VCL first, but it did - not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other then the name + not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other than the name may imply, it is defined in toolkit (!). Since toolkit is linked against VCL itself, the lowest movement plane is toolkit. Checked form control export, it works well. Done. diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index 8b072eb1827e..af85462450ab 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -104,7 +104,7 @@ namespace dbp ); virtual ~OControlWizard() override; - // make the some base class methods public + // make the same base class methods public using OControlWizard_Base::travelNext; public: diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx index b2f0eb254743..7fccf820b0a2 100644 --- a/framework/source/jobs/jobdata.cxx +++ b/framework/source/jobs/jobdata.cxx @@ -207,7 +207,7 @@ void JobData::setEvent( const OUString& sEvent , setAlias(sAlias); SolarMutexGuard g; - // take over the new information - which differ against set on of method setAlias()! + // take over the new information - which differ against set one of method setAlias()! m_sEvent = sEvent; m_eMode = E_EVENT; } diff --git a/include/sfx2/sidebar/Context.hxx b/include/sfx2/sidebar/Context.hxx index b9430baedfb3..d41b71d88403 100644 --- a/include/sfx2/sidebar/Context.hxx +++ b/include/sfx2/sidebar/Context.hxx @@ -36,7 +36,7 @@ public: const ::rtl::OUString& rsApplication, const ::rtl::OUString& rsContext); - /** When two contexts are matched against each other then + /** When two contexts are matched against each other, then application or context name may have the wildcard value 'any'. In order to prefer matches without wildcards over matches with wildcards we introduce a integer evaluation for matches. diff --git a/include/svl/lstner.hxx b/include/svl/lstner.hxx index c9a807fa8d13..1e3aa6becbdd 100644 --- a/include/svl/lstner.hxx +++ b/include/svl/lstner.hxx @@ -26,7 +26,7 @@ class SfxBroadcaster; class SfxHint; //StartListening duplicate handling options -//Prevent only adds the listener if its not already added +//Prevent only adds the listener if it's not already added //Allow allows duplicate listeners //Unexpected, the default, is for the usual case where the //listener should only be added once and duplicates are diff --git a/include/vcl/EnumContext.hxx b/include/vcl/EnumContext.hxx index dfdc8e8a8c94..df23520337cb 100644 --- a/include/vcl/EnumContext.hxx +++ b/include/vcl/EnumContext.hxx @@ -135,7 +135,7 @@ public: bool operator == (const EnumContext& rOther); bool operator != (const EnumContext& rOther); - /** When two contexts are matched against each other then + /** When two contexts are matched against each other, then application or context name may have the wildcard value 'any'. In order to prefer matches without wildcards over matches with wildcards we introduce a integer evaluation for matches. diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 378d9fd00d2c..989c20894b0f 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -61,7 +61,7 @@ namespace io_stm { * OMarkableOutputStream. * * This object allows to set marks in an outputstream. It is allowed to jump back to the marks and -* rewrite the some bytes. +* rewrite the same bytes. * * The object must buffer the data since the last mark set. Flush will not * have any effect. As soon as the last mark has been removed, the object may write the data diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java index ce33f529d45a..75eb4f5d4763 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java @@ -256,7 +256,7 @@ XMultiPropertySet * then the argument <em>id</em> has to be a String that equals the name of * the member variable that holds the Property's value. * Override this method if you want to implement your own mapping from Property objects to ids or - * if you need ids of a type other then String. + * if you need ids of a type other than String. * Then you also need to override {@link #initMappings initMappings} and {@link #getPropertyId getPropertyId}. * @param prop The Property object that is being assigned an id. * @param id The object which identifies the storage used for the property's value. diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index aa003349c7d2..d18ebec6a8d5 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -368,7 +368,7 @@ void SAL_CALL { bDisposing = true; - //! its too late to save the options here! + //! it's too late to save the options here! // (see AppExitListener for saving) //aOpt.Save(); // save (possible) changes before exiting diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java index f44b266e6dee..cb61de76ee2b 100644 --- a/qadevOOo/runner/helper/ProcessHandler.java +++ b/qadevOOo/runner/helper/ProcessHandler.java @@ -137,7 +137,7 @@ public class ProcessHandler /** * Creates instance with specified external command which - * will be executed in the some work directory and + * will be executed in the same work directory and * * @param cmdLine the command to be executed * @param log log stream where debug info and output diff --git a/qadevOOo/tests/java/mod/_sc/ScChartObj.java b/qadevOOo/tests/java/mod/_sc/ScChartObj.java index 31cdba5baeff..d768ceb61128 100644 --- a/qadevOOo/tests/java/mod/_sc/ScChartObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScChartObj.java @@ -87,7 +87,7 @@ public class ScChartObj extends TestCase { /** * Creating a TestEnvironment for the interfaces to be tested. * Retrieves a collection of spreadsheets from a document - * and takes one of them. Inserts some values into the cells of the some cell + * and takes one of them. Inserts some values into the cells of the same cell * range address. Adds the chart that using the data from the cells of this * cell range address. New chart is the instance of * the service <code>com.sun.star.table.TableChart</code>. diff --git a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java index ce7167e4a46d..f488216ffc92 100644 --- a/qadevOOo/tests/java/mod/_sc/ScChartsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScChartsObj.java @@ -88,7 +88,7 @@ public class ScChartsObj extends TestCase { /** * Creating a TestEnvironment for the interfaces to be tested. * Retrieves a collection of spreadsheets from a document - * and takes one of them. Inserts some values into the cells of the some cell + * and takes one of them. Inserts some values into the cells of the same cell * range address. Obtains the collection of the charts using the interface * <code>XTableChartsSupplier</code>. Creates and adds the chart that using * the data from the cells of this cell range address. Collection of diff --git a/qadevOOo/tests/java/mod/_sch/ChXDiagram.java b/qadevOOo/tests/java/mod/_sch/ChXDiagram.java index 50ad0af99e98..78e5c4a5cdb5 100644 --- a/qadevOOo/tests/java/mod/_sch/ChXDiagram.java +++ b/qadevOOo/tests/java/mod/_sch/ChXDiagram.java @@ -156,7 +156,7 @@ public class ChXDiagram extends TestCase { /** * Creating a TestEnvironment for the interfaces to be tested. * Retrieves a collection of spreadsheets from a document - * and takes one of them. Inserts some values into the cells of the some cell + * and takes one of them. Inserts some values into the cells of the same cell * range address. Adds and retrieves the chart that using the data from * the cells of this cell range address. Obtains the chart document which is * embedded into the retrieved chart using the interface diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 120451ec7f83..4eceac5ed1b3 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -3928,15 +3928,15 @@ ScVbaRange::getRowHeight() } // if any row's RowHeight in the - // range is different from any other then return NULL + // range is different from any other, then return NULL RangeHelper thisRange( mxRange ); table::CellRangeAddress thisAddress = thisRange.getCellRangeAddressable()->getRangeAddress(); sal_Int32 nStartRow = thisAddress.StartRow; sal_Int32 nEndRow = thisAddress.EndRow; sal_uInt16 nRowTwips = 0; - // #TODO probably possible to use the SfxItemSet ( and see if - // SfxItemState::DONTCARE is set ) to improve performance + // #TODO probably possible to use the SfxItemSet (and see if + // SfxItemState::DONTCARE is set) to improve performance // #CHECKME looks like this is general behaviour not just row Range specific // if ( mbIsRows ) ScDocShell* pShell = getScDocShell(); diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index 34ac40176dce..7c2a78872e15 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -117,7 +117,7 @@ void SAL_CALL BasicViewFactory::disposing() // Release the view shell container. At this point no one other than us // should hold references to the view shells (at the moment this is a - // trivial requirement, because no one other then us holds a shared + // trivial requirement, because no one other than us holds a shared // pointer). // ViewShellContainer::const_iterator iView; for (iView=mpViewShellContainer->begin(); iView!=mpViewShellContainer->end(); ++iView) diff --git a/sd/source/ui/inc/ViewShellImplementation.hxx b/sd/source/ui/inc/ViewShellImplementation.hxx index 61c3cd6384af..77dfc3ea0ded 100644 --- a/sd/source/ui/inc/ViewShellImplementation.hxx +++ b/sd/source/ui/inc/ViewShellImplementation.hxx @@ -127,7 +127,7 @@ public: used by the SFX as factories. They only set the initial pane configuration, nothing more. - So what we do here in essence is to return on of the + So what we do here in essence is to return one of the ViewShellFactoryIds that can be used to select the factory that creates the ViewShellBase subclass with the initial pane configuration that has in the center pane a view shell of the same diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 2344a7371a8f..05123e911b3b 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -553,7 +553,7 @@ void SlideSorterViewShell::WriteFrameViewData() mpFrameView->SetSelectedPage((pActualPage->GetPageNum()- 1) / 2); // else // The slide sorter is not expected to switch the current page - // other then by double clicks. That is handled separately. + // other than by double clicks. That is handled separately. } else { diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 8d83e471e15f..0b4378b7091c 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -2309,7 +2309,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co { // current cell is outside the selection - if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner + if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Upper) { @@ -2322,7 +2322,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co rNewFrame.SetLine( nullptr, SvxBoxItemLine::TOP ); } } - else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner + else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Before) { @@ -2395,7 +2395,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL { if (nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After|CellPosFlag::Upper|CellPosFlag::Lower)) { - if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner + if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Upper) { @@ -2408,7 +2408,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL ImplSetLinePreserveColor( rNewFrame, pBorderLineItem, SvxBoxItemLine::TOP ); } } - else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner + else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Before) { @@ -2941,14 +2941,14 @@ void lcl_MergeCommonBorderAttr(LinesState& rLinesState, const SvxBoxItem& rCellB { // current cell is outside the selection - if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner + if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Upper) lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetBottom(), SvxBoxItemLine::TOP, SvxBoxInfoItemValidFlags::TOP); else if (nCellPosFlags & CellPosFlag::Lower) lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetTop(), SvxBoxItemLine::BOTTOM, SvxBoxInfoItemValidFlags::BOTTOM); } - else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner + else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner { if (nCellPosFlags & CellPosFlag::Before) lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetRight(), SvxBoxItemLine::LEFT, SvxBoxInfoItemValidFlags::LEFT); diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index ceb04a541aae..a6f134a6c693 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1865,7 +1865,7 @@ void SvxColorWindow::SelectEntry(const NamedColor& rNamedColor) // try recently used if (!bFoundColor) bFoundColor = SelectValueSetEntry(mpRecentColorSet, rColor); - // if its not there, add it there now to the end of the recently used + // if it's not there, add it there now to the end of the recently used // so its available somewhere handy, but not without trashing the // whole recently used if (!bFoundColor) @@ -1906,7 +1906,7 @@ void ColorWindow::SelectEntry(const NamedColor& rNamedColor) // try recently used if (!bFoundColor) bFoundColor = SelectValueSetEntry(mxRecentColorSet.get(), rColor); - // if its not there, add it there now to the end of the recently used + // if it's not there, add it there now to the end of the recently used // so its available somewhere handy, but not without trashing the // whole recently used if (!bFoundColor) diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 4abc91d6c214..7b3ff97fc442 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -91,7 +91,7 @@ namespace sw } SvtBroadcaster& GetNotifier() { return m_aNotifier; } }; - /// refactoring out the some of the more sane SwClient functionality + /// refactoring out the same of the more sane SwClient functionality class SW_DLLPUBLIC WriterListener { friend class ::SwModify; diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx index 28a2d416075a..0d400245efb9 100644 --- a/sw/source/filter/html/htmltabw.cxx +++ b/sw/source/filter/html/htmltabw.cxx @@ -500,7 +500,7 @@ void SwHTMLWrtTable::OutTableCells( SwHTMLWriter& rWrt, const SwWriteTableCells& rCells, const SvxBrushItem *pBrushItem ) const { - // If the line contains more the one cell and all cells have the some + // If the line contains more the one cell and all cells have the same // alignment, then output the VALIGN at the line instead of the cell. sal_Int16 eRowVertOri = text::VertOrientation::NONE; if( rCells.size() > 1 ) diff --git a/sysui/desktop/man/unopkg.1 b/sysui/desktop/man/unopkg.1 index 9bc92444ca40..fa009f954563 100644 --- a/sysui/desktop/man/unopkg.1 +++ b/sysui/desktop/man/unopkg.1 @@ -24,7 +24,7 @@ unopkg \- LibreOffice Extension Manager LibreOffice is a fully featured office suite for the daily use with all features you would normally expect in an office suite. -There exists many LibreOffice extensions all over the word. For example, see +There exists many LibreOffice extensions all over the world. For example, see \fBhttp://extensions.libreoffice.org/\fR This tool allows managing the extensions from the command line. diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 198a6a80fe2d..a51a25dff991 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1418,7 +1418,7 @@ bool checkSeek(SvStream &rSt, sal_uInt64 nOffset) return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset); } -//STREAM_SEEK_TO_END in the some of the Seek backends is special cased to be +//STREAM_SEEK_TO_END in some of the Seek backends is special cased to be //efficient, in others e.g. SotStorageStream it's really horribly slow, and in //those this should be overridden sal_uInt64 SvStream::remainingSize() diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx index f37319bdc3f6..97c5d9ae5bd2 100644 --- a/vcl/source/filter/ixbm/xbmread.cxx +++ b/vcl/source/filter/ixbm/xbmread.cxx @@ -316,7 +316,7 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic ) bStatus = false; //xbms are a minimum of one character per 8 pixels, so if the file isn't - //even that long, its not all there + //even that long, it's not all there if (rIStm.remainingSize() < (static_cast<sal_uInt64>(nWidth) * nHeight) / 8) bStatus = false; diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx index 3f746715217a..c774041ad807 100644 --- a/vcl/source/filter/ixpm/xpmread.cxx +++ b/vcl/source/filter/ixpm/xpmread.cxx @@ -29,7 +29,7 @@ #define XPMTEMPBUFSIZE 0x00008000 #define XPMSTRINGBUF 0x00008000 -#define XPMIDENTIFIER 0x00000001 // mnIdentifier includes on of the six phases +#define XPMIDENTIFIER 0x00000001 // mnIdentifier includes one of the six phases #define XPMDEFINITION 0x00000002 // the XPM format consists of #define XPMVALUES 0x00000003 #define XPMCOLORS 0x00000004 diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index c06b7acdf853..f623344d06e0 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -6793,7 +6793,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool aAlignOffset = aRotScale.transform( aAlignOffset ); /* #159153# do not emit an empty glyph vector; this can happen if e.g. the original - string contained only on of the UTF16 BOMs + string contained only one of the UTF16 BOMs */ if( ! aGlyphs.empty() ) { diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx index 71c6eb8b9b19..739955bd00af 100644 --- a/vcl/source/outdev/gradient.cxx +++ b/vcl/source/outdev/gradient.cxx @@ -455,7 +455,7 @@ void OutputDevice::DrawComplexGradient( const tools::Rectangle& rRect, assert(!is_double_buffered_window()); // Determine if we output via Polygon or PolyPolygon - // For all rasteroperations other then Overpaint always use PolyPolygon, + // For all rasteroperations other than Overpaint always use PolyPolygon, // as we will get wrong results if we output multiple times on top of each other. // Also for printers always use PolyPolygon, as not all printers // can print polygons on top of each other. @@ -799,7 +799,7 @@ void OutputDevice::DrawComplexGradientToMetafile( const tools::Rectangle& rRect, assert(!is_double_buffered_window()); // Determine if we output via Polygon or PolyPolygon - // For all rasteroperations other then Overpaint always use PolyPolygon, + // For all rasteroperations other than Overpaint always use PolyPolygon, // as we will get wrong results if we output multiple times on top of each other. // Also for printers always use PolyPolygon, as not all printers // can print polygons on top of each other. |