summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-18 12:37:04 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-18 09:35:43 +0000
commit23af031b09dffe37222517d69f5337db26fdb307 (patch)
treeae1219ec20ccacd0fe9fdc0fc539e5b8f41420d3 /vcl
parent78e9ba6febb7402d4661fbf7934a2526efc8629a (diff)
Fix typos in comments
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/fontmanager.cxx2
-rw-r--r--vcl/inc/vcl/outdev.hxx2
-rw-r--r--vcl/source/window/window.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx
index b4a5a4b3828b..cf45f7f25ce2 100644
--- a/vcl/generic/fontmanager/fontmanager.cxx
+++ b/vcl/generic/fontmanager/fontmanager.cxx
@@ -673,7 +673,7 @@ bool PrintFontManager::PrintFont::readAfmMetrics( const OString& rFileName, Mult
else if( m_aEncoding == RTL_TEXTENCODING_DONTKNOW )
m_aEncoding = RTL_TEXTENCODING_ADOBE_STANDARD;
- // try to parse the font name and decide wether it might be a
+ // try to parse the font name and decide whether it might be a
// japanese font. Who invented this PITA ?
OUString aPSNameLastToken( aPSName.copy( aPSName.lastIndexOf( '-' )+1 ) );
if( ! aPSNameLastToken.compareToAscii( "H" ) ||
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx
index f4b2c6f8d8f8..6a983ec92af6 100644
--- a/vcl/inc/vcl/outdev.hxx
+++ b/vcl/inc/vcl/outdev.hxx
@@ -879,7 +879,7 @@ public:
the OutDevViewType should be set to 'OUTDEV_VIEWTYPE_PRINTPREVIEW'.
A View than can make painting decisions dependent on this OutDevViewType.
- E.g. text colors need to be handled different, dependent on wether it's a PrintPreview or not. (see #106611# for more)
+ E.g. text colors need to be handled different, dependent on whether it's a PrintPreview or not. (see #106611# for more)
*/
void SetOutDevViewType( OutDevViewType eOutDevViewType ) { meOutDevViewType=eOutDevViewType; }
OutDevViewType GetOutDevViewType() const { return meOutDevViewType; }
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 662701b88c9f..0dfe4de63a44 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -236,7 +236,7 @@ void Window::ImplInitAppFontData( Window* pWindow )
// platforms
if( pSVData->maNWFData.mbNoFocusRects )
{
- // try to find out wether there is a large correction
+ // try to find out whether there is a large correction
// of control sizes, if yes, make app font scalings larger
// so dialog positioning is not completely off
ImplControlValue aControlValue;
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index d557b88f7096..0bb3527cd6cd 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3019,7 +3019,7 @@ int SelectionManager::getXdndVersion( XLIB_Window aWindow, XLIB_Window& rProxy )
pBytes = NULL;
if( rProxy != None )
{
- // now check proxy wether it points to itself
+ // now check proxy whether it points to itself
XGetWindowProperty( m_pDisplay, rProxy, m_nXdndProxy, 0, 1, False, XA_WINDOW,
&nType, &nFormat, &nItems, &nBytes, &pBytes );
if( pBytes )