diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:44:54 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:47:45 +0200 |
commit | 7f436c1fd3a5f879fc99652043befb35158b3321 (patch) | |
tree | fb7afa124abc55dba2c9d17f4fa10a593485febf /vcl/source/window | |
parent | 69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (diff) |
typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 4f049fb737e7..56b808ee6448 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1823,7 +1823,7 @@ void VclBuilder::handleChild(Window *pParent, xmlreader::XmlReader &reader) if (!sInternalChild.isEmpty()) pCurrentChild->Show(); - //Select the first page if its a notebook + //Select the first page if it's a notebook if (pCurrentChild->GetType() == WINDOW_TABCONTROL) { TabControl *pTabControl = static_cast<TabControl*>(pCurrentChild); diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 8645bb90890f..e7f5e1b9c867 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -1977,7 +1977,7 @@ void MessageDialog::setButtonHandlers(VclButtonBox *pButtonBox) break; } //The default is to stick the focus into the first widget - //that accepts it, and if that happens and its a button + //that accepts it, and if that happens and it's a button //then that becomes the new default button, so explicitly //put the focus into the default button if (pChild->GetStyle() & WB_DEFBUTTON) diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 8f24ac4a3cdc..c51d7e5a82ee 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -1353,7 +1353,7 @@ void Menu::InsertItem( const ResId& rResId, sal_uInt16 nPos ) void Menu::InsertSeparator(const OString &rIdent, sal_uInt16 nPos) { - // do nothing if its a menu bar + // do nothing if it's a menu bar if ( bIsMenuBar ) return; @@ -6045,7 +6045,7 @@ Rectangle MenuBarWindow::GetMenuBarButtonRectPixel( sal_uInt16 nId ) aRect = pMenu->mpSalMenu->GetMenuBarButtonRectPixel( nId, ImplGetWindowImpl()->mpFrame ); if( aRect == Rectangle( Point( -1, -1 ), Size( 1, 1 ) ) ) { - // system menu button is somehwere but location cannot be determined + // system menu button is somewhere but location cannot be determined return Rectangle(); } } |