summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-30 07:54:09 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-30 20:58:56 +0200
commitf93a345ab5d35aadb5bbbd501df10ff2521c8104 (patch)
treea1eefd9451f5dceef83082fe645362d97618edc7 /vcl
parent70d3bbe11e56f12a339a5b8759b53a96b4fe84ab (diff)
Fix typos
Change-Id: Ib737ff364f627b9e4d0dc2a9903a07a0af36a8ae Reviewed-on: https://gerrit.libreoffice.org/76551 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/IconThemeScanner.cxx4
-rw-r--r--vcl/source/app/i18nhelp.cxx2
-rw-r--r--vcl/source/app/salvtables.cxx2
-rw-r--r--vcl/source/control/field.cxx2
-rw-r--r--vcl/source/control/field2.cxx4
-rw-r--r--vcl/source/control/fmtfield.cxx2
-rw-r--r--vcl/source/control/imp_listbox.cxx2
-rw-r--r--vcl/source/filter/igif/gifread.cxx2
-rw-r--r--vcl/source/filter/ipdf/pdfdocument.cxx2
-rw-r--r--vcl/source/filter/png/pngread.cxx2
-rw-r--r--vcl/source/font/PhysicalFontCollection.cxx2
-rw-r--r--vcl/source/fontsubset/sft.cxx6
-rw-r--r--vcl/source/gdi/bitmap3.cxx2
-rw-r--r--vcl/source/gdi/gdimetafiletools.cxx2
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx2
-rw-r--r--vcl/source/gdi/print.cxx2
-rw-r--r--vcl/source/gdi/salgdilayout.cxx2
-rw-r--r--vcl/source/gdi/scrptrun.cxx4
-rw-r--r--vcl/source/outdev/font.cxx2
-rw-r--r--vcl/source/outdev/text.cxx2
-rw-r--r--vcl/source/treelist/imap.cxx2
-rw-r--r--vcl/source/treelist/svtabbx.cxx4
-rw-r--r--vcl/source/window/accessibility.cxx2
-rw-r--r--vcl/source/window/builder.cxx2
-rw-r--r--vcl/source/window/menu.cxx2
-rw-r--r--vcl/source/window/split.cxx2
-rw-r--r--vcl/source/window/splitwin.cxx2
-rw-r--r--vcl/source/window/stacking.cxx4
-rw-r--r--vcl/source/window/toolbox.cxx2
-rw-r--r--vcl/source/window/window.cxx4
31 files changed, 39 insertions, 39 deletions
diff --git a/vcl/source/app/IconThemeScanner.cxx b/vcl/source/app/IconThemeScanner.cxx
index 0e290eaf0617..0eba21837245 100644
--- a/vcl/source/app/IconThemeScanner.cxx
+++ b/vcl/source/app/IconThemeScanner.cxx
@@ -48,7 +48,7 @@ OUString convert_to_absolute_path(const OUString& path)
SAL_WARN("vcl.app", "Could not resolve path '" << path << "' to search for icon themes.");
if (rc == osl::FileBase::E_MULTIHOP)
{
- throw std::runtime_error("Provided a recursive symlink to a icon theme directory that could not be resolved.");
+ throw std::runtime_error("Provided a recursive symlink to an icon theme directory that could not be resolved.");
}
}
return resolver.m_aStatus.getFileURL();
@@ -143,7 +143,7 @@ IconThemeScanner::ReadIconThemesFromPath(const OUString& dir)
/*static*/ bool
IconThemeScanner::FileIsValidIconTheme(const OUString& filename)
{
- // check whether we can construct a IconThemeInfo from it
+ // check whether we can construct an IconThemeInfo from it
if (!IconThemeInfo::UrlCanBeParsed(filename)) {
SAL_INFO("vcl.app", "File '" << filename << "' does not seem to be an icon theme.");
return false;
diff --git a/vcl/source/app/i18nhelp.cxx b/vcl/source/app/i18nhelp.cxx
index a84f07386d58..ae7eed0e2fba 100644
--- a/vcl/source/app/i18nhelp.cxx
+++ b/vcl/source/app/i18nhelp.cxx
@@ -84,7 +84,7 @@ static bool is_formatting_mark( sal_Unicode c )
/* #i100057# filter formatting marks out of strings before passing them to
the transliteration. The real solution would have been an additional TransliterationModule
- to ignore these marks during transliteration; however changin the code in i18npool that actually
+ to ignore these marks during transliteration; however changing the code in i18npool that actually
implements this could produce unwanted side effects.
Of course this copying around is not really good, but looking at i18npool, one more time
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index bf50e7bc6ce2..3f77e9220f83 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -679,7 +679,7 @@ public:
virtual VclPtr<VirtualDevice> create_virtual_device() const override
{
- // create with (annoying) seperate alpha layer that LibreOffice itself uses
+ // create with (annoying) separate alpha layer that LibreOffice itself uses
return VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::DEFAULT);
}
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 5b343b5a83f4..be87437c06a2 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1576,7 +1576,7 @@ void MetricField::SetLast( sal_Int64 nNewLast, FieldUnit eInUnit )
sal_Int64 MetricField::GetLast( FieldUnit eOutUnit ) const
{
- // conver
+ // convert
return MetricField::ConvertValue( mnLast, mnBaseValue, GetDecimalDigits(),
meUnit, eOutUnit );
}
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index faeadcfb481f..d35b3c51c727 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -256,7 +256,7 @@ static OUString ImplPatternReformat( const OUString& rStr,
nStrIndex++;
else
{
- // Otherwise we check if it is a invalid character. This is the case if it does not
+ // Otherwise we check if it is an invalid character. This is the case if it does not
// fit in the pattern of the next non-literal character.
n = i+1;
while ( n < rEditMask.getLength() )
@@ -2297,7 +2297,7 @@ void TimeFormatter::ImplInit()
{
meFormat = TimeFieldFormat::F_NONE;
mbDuration = false;
- mnTimeFormat = TimeFormat::Hour24; // Should become a ExtTimeFieldFormat in next implementation, merge with mbDuration and meFormat
+ mnTimeFormat = TimeFormat::Hour24; // Should become an ExtTimeFieldFormat in next implementation, merge with mbDuration and meFormat
}
TimeFormatter::TimeFormatter(Edit* pEdit) :
diff --git a/vcl/source/control/fmtfield.cxx b/vcl/source/control/fmtfield.cxx
index 0f91c1ea723c..4a87fb979455 100644
--- a/vcl/source/control/fmtfield.cxx
+++ b/vcl/source/control/fmtfield.cxx
@@ -937,7 +937,7 @@ bool FormattedField::ImplGetValue(double& dNewVal)
SvNumFormatType::NUMBER == m_pFormatter->GetType(nTempFormat))
// the string is equivalent to a number formatted one (has no % sign) -> append it
sText += "%";
- // (with this, a input of '3' becomes '3%', which then by the formatter is translated
+ // (with this, an input of '3' becomes '3%', which then by the formatter is translated
// into 0.03. Without this, the formatter would give us the double 3 for an input '3',
// which equals 300 percent.
}
diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx
index 528b5c1788c0..755193917f4b 100644
--- a/vcl/source/control/imp_listbox.cxx
+++ b/vcl/source/control/imp_listbox.cxx
@@ -1820,7 +1820,7 @@ void ImplListBoxWindow::DrawEntry(vcl::RenderContext& rRenderContext, sal_Int32
if (!aStr.isEmpty())
{
long nMaxWidth = std::max(mnMaxWidth, GetOutputSizePixel().Width() - 2 * gnBorder);
- // a multiline entry should only be as wide a the window
+ // a multiline entry should only be as wide as the window
if (pEntry->mnFlags & ListBoxEntryFlags::MultiLine)
nMaxWidth = GetOutputSizePixel().Width() - 2 * gnBorder;
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx
index 759e572fbbd3..bc98399a3c1c 100644
--- a/vcl/source/filter/igif/gifread.cxx
+++ b/vcl/source/filter/igif/gifread.cxx
@@ -868,7 +868,7 @@ bool GIFReader::ProcessGIF()
}
// set stream to right position,
- // if data could be read put it a the old
+ // if data could be read put it at the old
// position otherwise at the actual one
if( bRead || bEnd )
nLastPos = rIStm.Tell();
diff --git a/vcl/source/filter/ipdf/pdfdocument.cxx b/vcl/source/filter/ipdf/pdfdocument.cxx
index e12db4148a7d..9aa317715e41 100644
--- a/vcl/source/filter/ipdf/pdfdocument.cxx
+++ b/vcl/source/filter/ipdf/pdfdocument.cxx
@@ -69,7 +69,7 @@ public:
bool Read(SvStream& rStream) override;
};
-/// End of a object: 'endobj' keyword.
+/// End of an object: 'endobj' keyword.
class PDFEndObjectElement : public PDFElement
{
public:
diff --git a/vcl/source/filter/png/pngread.cxx b/vcl/source/filter/png/pngread.cxx
index cd3213255d6c..c53ea879368f 100644
--- a/vcl/source/filter/png/pngread.cxx
+++ b/vcl/source/filter/png/pngread.cxx
@@ -122,7 +122,7 @@ private:
sal_uInt8 mnInterlaceType;
const BitmapColor mcTranspColor; // transparency mask's transparency "color"
const BitmapColor mcOpaqueColor; // transparency mask's opaque "color"
- bool mbTransparent : 1; // graphic includes an tRNS Chunk or an alpha Channel
+ bool mbTransparent : 1; // graphic includes a tRNS Chunk or an alpha Channel
bool mbAlphaChannel : 1; // is true for ColorType 4 and 6
bool mbRGBTriple : 1;
bool mbPalette : 1; // false if we need a Palette
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx
index 6ddc0e57de9f..1ca86d1fd884 100644
--- a/vcl/source/font/PhysicalFontCollection.cxx
+++ b/vcl/source/font/PhysicalFontCollection.cxx
@@ -1110,7 +1110,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindFontFamily( FontSelectPattern& r
if( pFoundData )
{
#ifdef UNX
- /* #96738# don't use mincho as an replacement for "MS Mincho" on X11: Mincho is
+ /* #96738# don't use mincho as a replacement for "MS Mincho" on X11: Mincho is
a korean bitmap font that is not suitable here. Use the font replacement table,
that automatically leads to the desired "HG Mincho Light J". Same story for
MS Gothic, there are thai and korean "Gothic" fonts, so we even prefer Andale */
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index e9aae0ba9356..9492f2ed347c 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -910,7 +910,7 @@ static int findname( const sal_uInt8 *name, sal_uInt16 n, sal_uInt16 platformID,
* Fix: if (1, 0, 0) and (3, 1, 1033) are not found need to look for (1, 0, *) - that will
* require a change in algorithm
*
- * /d/fonts/fdltest/Korean/h2drrm has unsorted names and a an unknown (to me) Mac LanguageID,
+ * /d/fonts/fdltest/Korean/h2drrm has unsorted names and an unknown (to me) Mac LanguageID,
* but (1, 0, 1042) strings usable
* Fix: change algorithm, and use (1, 0, *) if both standard Mac and MS strings are not found
*/
@@ -1009,9 +1009,9 @@ static void GetNames(TrueTypeFont *t)
}
/* #i60349# sanity check psname
- * psname pratically has to be 7bit ascii and should not contains spaces
+ * psname practically has to be 7bit ASCII and should not contain spaces
* 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
+ * if the family name is 7bit ASCII and take it instead if so
*/
/* check psname */
for( i = 0; t->psname[i] != 0 && bPSNameOK; i++ )
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 3f3f36e86112..e35636044f3f 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -884,7 +884,7 @@ void Bitmap::AdaptBitCount(Bitmap& rNew) const
}
default:
{
- OSL_ENSURE(false, "BitDepth adaption failed (!)");
+ OSL_ENSURE(false, "BitDepth adaptation failed (!)");
break;
}
}
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx
index d545d2f9eba3..6a74c4d69871 100644
--- a/vcl/source/gdi/gdimetafiletools.cxx
+++ b/vcl/source/gdi/gdimetafiletools.cxx
@@ -194,7 +194,7 @@ namespace
aPixelPoly.transform(aTransform);
// to fill the non-covered parts, use the Xor fill rule of
- // tools::PolyPolygon painting. Start with a all-covering polygon and
+ // tools::PolyPolygon painting. Start with an all-covering polygon and
// add the clip polygon one
basegfx::B2DPolyPolygon aInvertPixelPoly;
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 1abdb5244714..2a953b7b9d03 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -393,7 +393,7 @@ bool PageSyncData::PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIMtfAc
case PDFExtOutDevDataSync::BeginGroup :
{
/* first determining if this BeginGroup is starting a GfxLink,
- by searching for a EndGroup or a EndGroupGfxLink */
+ by searching for an EndGroup or an EndGroupGfxLink */
mbGroupIgnoreGDIMtfActions = false;
auto isStartingGfxLink = std::any_of(mActions.begin(), mActions.end(),
[](const PDFExtOutDevDataSync& rAction) { return rAction.eAct == PDFExtOutDevDataSync::EndGroupGfxLink; });
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index fed7b1d39b28..cd8f5eac31bb 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -864,7 +864,7 @@ i12626
void pushResource( ResourceKind eKind, const OString& rResource, sal_Int32 nObject );
void appendBuildinFontsToDict( OStringBuffer& rDict ) const;
- /* writes a the font dictionary and emits all font objects
+ /* writes the font dictionary and emits all font objects
* returns object id of font directory (or 0 on error)
*/
bool emitFonts();
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index c6c5bf021c67..17dc760b9d90 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1210,7 +1210,7 @@ void Printer::SetPrinterSettingsPreferred( bool bPaperSizeFromSetup)
}
}
-// Map user paper format to a available printer paper formats
+// Map user paper format to an available printer paper format
void Printer::ImplFindPaperFormatForUserSize( JobSetup& aJobSetup, bool bMatchNearest )
{
ImplJobSetup& rData = aJobSetup.ImplGetData();
diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx
index 22a0fb9c7137..192eaf66c373 100644
--- a/vcl/source/gdi/salgdilayout.cxx
+++ b/vcl/source/gdi/salgdilayout.cxx
@@ -613,7 +613,7 @@ bool SalGraphics::DrawPolyLine(
// - apply rMirror (multiply from left)
// - multiply with inverse of rObjectToDevice to get back from
// device-coordinates to object-coordinates
- // this only makes sense to do when we *have* a ObjectToDevice
+ // this only makes sense to do when we *have* an ObjectToDevice
// transformation, so optimize that
basegfx::B2DHomMatrix aLinearCombination(rObjectToDevice);
basegfx::B2DHomMatrix aObjectToDeviceInv(rObjectToDevice);
diff --git a/vcl/source/gdi/scrptrun.cxx b/vcl/source/gdi/scrptrun.cxx
index f19e169fe93e..cee6fb27eb15 100644
--- a/vcl/source/gdi/scrptrun.cxx
+++ b/vcl/source/gdi/scrptrun.cxx
@@ -115,7 +115,7 @@ struct PairIndices
};
-// There are three Unicode script codes for Japaneese text, but only one
+// There are three Unicode script codes for Japanese text, but only one
// OpenType script tag, so we want to keep them in one run as splitting is
// pointless for the purpose of OpenType shaping.
UScriptCode getScript(UChar32 ch, UErrorCode* status)
@@ -180,7 +180,7 @@ UBool ScriptRun::next()
// if it's an open character, push it onto the stack.
// if it's a close character, find the matching open on the
// stack, and use that script code. Any non-matching open
- // characters above it on the stack will be poped.
+ // characters above it on the stack will be popped.
if (pairIndex >= 0) {
if ((pairIndex & 1) == 0) {
++parenSP;
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 48b82d4e856e..dbecc1d550fe 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -853,7 +853,7 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan
aFont.SetFamilyName( aName );
}
- // No Name, than set all names
+ // No Name, then set all names
if ( aFont.GetFamilyName().isEmpty() )
{
if ( nFlags & GetDefaultFontFlags::OnlyOne )
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index a5ccdb1bd6d5..962c5c71297b 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -329,7 +329,7 @@ void OutputDevice::ImplDrawSpecialText( SalLayout& rSalLayout )
Color aTextLineColor( aOldTextLineColor );
Color aOverlineColor( aOldOverlineColor );
- // we don't have a automatic color, so black is always drawn on white
+ // we don't have an automatic color, so black is always drawn on white
if ( aTextColor == COL_BLACK )
aTextColor = COL_WHITE;
if ( aTextLineColor == COL_BLACK )
diff --git a/vcl/source/treelist/imap.cxx b/vcl/source/treelist/imap.cxx
index 31880908718c..18c673f42fe9 100644
--- a/vcl/source/treelist/imap.cxx
+++ b/vcl/source/treelist/imap.cxx
@@ -111,7 +111,7 @@ void IMapObject::Read( SvStream& rIStm )
ReadIMapObject( rIStm );
- // from version 4 onwards we read a eventlist
+ // from version 4 onwards we read an eventlist
if ( nReadVersion >= 0x0004 )
{
aEventList.Read(rIStm);
diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx
index e89ac8ad723a..d50d91ca80ca 100644
--- a/vcl/source/treelist/svtabbx.cxx
+++ b/vcl/source/treelist/svtabbx.cxx
@@ -55,9 +55,9 @@ void SvTabListBox::SetTabs()
// Picking the rightmost tab.
// HACK for the explorer! If ViewParent != 0, the first tab of the tree
- // listbox is calculated by the tre listbox itself! This behavior is
+ // listbox is calculated by the tree listbox itself! This behavior is
// necessary for ButtonsOnRoot, as the explorer does not know in this
- // case, which additional offset it need to add to the tabs in this mode
+ // case, which additional offset it needs to add to the tabs in this mode
// -- the tree listbox knows that, though!
/*
if( !pViewParent )
diff --git a/vcl/source/window/accessibility.cxx b/vcl/source/window/accessibility.cxx
index 6355f1f6d5e4..a2bced8fc047 100644
--- a/vcl/source/window/accessibility.cxx
+++ b/vcl/source/window/accessibility.cxx
@@ -241,7 +241,7 @@ sal_uInt16 Window::GetAccessibleChildWindowCount()
vcl::Window* Window::GetAccessibleChildWindow( sal_uInt16 n )
{
- // report the menubarwindow as a the first child of THE workwindow
+ // report the menubarwindow as the first child of THE workwindow
if( GetType() == WindowType::WORKWINDOW && static_cast<WorkWindow *>(this)->GetMenuBar() )
{
if( n == 0 )
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 75112c8514a4..df3f672d227b 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2005,7 +2005,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
m_aChildren.emplace_back(containerid, xContainer, true);
VclPtrInstance<HeaderBar> xHeader(xContainer, WB_BUTTONSTYLE | WB_BORDER | WB_TABSTOP | WB_3DLOOK);
- xHeader->set_width_request(0); // let the headerbar width not affect the size requistion
+ xHeader->set_width_request(0); // let the headerbar width not affect the size request
OString headerid(id + "-header");
xHeader->SetHelpId(m_sHelpRoot + headerid);
m_aChildren.emplace_back(headerid, xHeader, true);
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 498851d34341..e25d80ba1be9 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1976,7 +1976,7 @@ void Menu::ImplPaint(vcl::RenderContext& rRenderContext, Size const & rSize,
: rRenderContext.GetSettings().GetStyleSettings().GetMenuColor();
rRenderContext.SetBackground(Wallpaper(aBg));
}
- // how much space is there for the text ?
+ // how much space is there for the text?
long nMaxItemTextWidth = aOutSz.Width() - aTmpPos.X() - nExtra - nOuterSpaceX;
if (!IsMenuBar() && pData->aAccelKey.GetCode() && !ImplAccelDisabled())
{
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index f16710ae171f..4396b6296729 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -49,7 +49,7 @@ namespace
};
}
-// Should only be called from a ImplInit method for initialization or
+// Should only be called from an ImplInit method for initialization or
// after checking bNew is different from the current mbHorzSplit value.
// The public method that does that check is Splitter::SetHorizontal().
void Splitter::ImplInitHorVer(bool bNew)
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index 15c05f455be8..ee327678020d 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -432,7 +432,7 @@ static void ImplCalcSet( ImplSplitSet* pSet,
else
nAbsSize += rItem.mnSize;
}
- // map relative values to percentages (percentage here one tenth of a procent)
+ // map relative values to percentages (percentage here one tenth of a percent)
nPercent *= nPercentFactor;
if ( nRelCount )
{
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx
index 4c01b7e94e9d..55374fd45902 100644
--- a/vcl/source/window/stacking.cxx
+++ b/vcl/source/window/stacking.cxx
@@ -212,7 +212,7 @@ void Window::ImplToBottomChild()
void Window::ImplCalcToTop( ImplCalcToTopData* pPrevData )
{
- SAL_WARN_IF( !ImplIsOverlapWindow(), "vcl", "Window::ImplCalcToTop(): Is not a OverlapWindow" );
+ SAL_WARN_IF( !ImplIsOverlapWindow(), "vcl", "Window::ImplCalcToTop(): Is not an OverlapWindow" );
if ( !mpWindowImpl->mbFrame )
{
@@ -238,7 +238,7 @@ void Window::ImplCalcToTop( ImplCalcToTopData* pPrevData )
void Window::ImplToTop( ToTopFlags nFlags )
{
- SAL_WARN_IF( !ImplIsOverlapWindow(), "vcl", "Window::ImplToTop(): Is not a OverlapWindow" );
+ SAL_WARN_IF( !ImplIsOverlapWindow(), "vcl", "Window::ImplToTop(): Is not an OverlapWindow" );
if ( mpWindowImpl->mbFrame )
{
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 9e2c8c681161..08e30d7f8e5d 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -3138,7 +3138,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
Point aMousePos = rMEvt.GetPosPixel();
// only highlight when the focus is not inside a child window of a toolbox
- // eg, in a edit control
+ // eg, in an edit control
// and do not highlight when focus is in a different toolbox
bool bDrawHotSpot = true;
vcl::Window *pWin = Application::GetFocusWindow();
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 2ac475725996..daf5674ce5d7 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -658,7 +658,7 @@ WindowImpl::WindowImpl( WindowType nType )
mnMarginBottom = 0;
mbFrame = false; // true: Window is a frame window
mbBorderWin = false; // true: Window is a border window
- mbOverlapWin = false; // true: Window is a overlap window
+ mbOverlapWin = false; // true: Window is an overlap window
mbSysWin = false; // true: SystemWindow is the base class
mbDialog = false; // true: Dialog is the base class
mbDockWin = false; // true: DockingWindow is the base class
@@ -2795,7 +2795,7 @@ void Window::setPosSizePixel( long nX, long nY,
// Resize should be called directly. If we haven't
// set the correct size, we get a second resize from
// the system with the correct size. This can be happened
- // if the size is to small or to large.
+ // if the size is too small or too large.
ImplHandleResize( pWindow, nWidth, nHeight );
}
else