summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/menu.cxx4
-rw-r--r--vcl/source/window/printdlg.cxx2
-rw-r--r--vcl/source/window/split.cxx6
-rw-r--r--vcl/source/window/tabdlg.cxx2
-rw-r--r--vcl/source/window/window.cxx8
-rw-r--r--vcl/source/window/winproc.cxx4
6 files changed, 13 insertions, 13 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index ca85c61bffa8..836bb09b0ff9 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -3401,7 +3401,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;
@@ -6023,7 +6023,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/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 50f1889c2a6d..b389ef31701f 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -92,7 +92,7 @@ bool PrintDialog::PrintPreviewWindow::useHCColorReplacement() const
{
// get service provider
Reference< XMultiServiceFactory > xSMgr( unohelper::GetMultiServiceFactory() );
- // create configuration hierachical access name
+ // create configuration hierarchical access name
if( xSMgr.is() )
{
try
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 529971b69b0c..3b8095b60993 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -400,10 +400,10 @@ void Splitter::ImplKbdTracking( KeyCode aKeyCode )
Point aNewPos;
Size aSize = mpRefWin->GetOutputSize();
Point aPos = GetPosPixel();
- // depending on the position calc allows continous moves or snaps to row/columns
- // continous mode is active when position is at the origin or end of the splitter
+ // depending on the position calc allows continuous moves or snaps to row/columns
+ // continuous mode is active when position is at the origin or end of the splitter
// otherwise snap mode is active
- // default here is snap, holding shift sets continous mode
+ // default here is snap, holding shift sets continuous mode
if( mbHorzSplit )
aNewPos = Point( ImplSplitterActive() ? aPos.X() : mnSplitPos, aKeyCode.IsShift() ? 0 : aSize.Height()/2);
else
diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx
index 73af0fa00c82..5dbc18e3b1da 100644
--- a/vcl/source/window/tabdlg.cxx
+++ b/vcl/source/window/tabdlg.cxx
@@ -244,7 +244,7 @@ TabDialog::~TabDialog()
void TabDialog::Resize()
{
-// !!! In the future the controls should be automaticly rearrange
+// !!! In the future the controls should be automatically rearrange
// !!! if the window is resized
// !!! if ( !IsRollUp() )
// !!! ImplPosControls();
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 108bf1333636..5cc3819bbe9d 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1659,7 +1659,7 @@ void Window::ImplCallInitShow()
// -----------------------------------------------------------------------
-void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatiblity ok
+void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
{
DBG_ASSERT( !pDel->mpWindow, "Window::ImplAddDel(): cannot add ImplDelData twice !" );
if( !pDel->mpWindow )
@@ -1672,7 +1672,7 @@ void Window::ImplAddDel( ImplDelData* pDel ) // TODO: make "const" when incompat
// -----------------------------------------------------------------------
-void Window::ImplRemoveDel( ImplDelData* pDel ) // TODO: make "const" when incompatiblity ok
+void Window::ImplRemoveDel( ImplDelData* pDel ) // TODO: make "const" when incompatibility ok
{
pDel->mpWindow = NULL; // #112873# pDel is not associated with a Window anymore
if ( mpWindowImpl->mpFirstDel == pDel )
@@ -5120,7 +5120,7 @@ void Window::ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt )
}
}
- // #82968# notify event listeners for mouse and key events seperately and
+ // #82968# notify event listeners for mouse and key events separately and
// not in PreNotify ( as for focus listeners )
// this allows for procesing those events internally first and pass it to
// the toolkit later
@@ -7388,7 +7388,7 @@ void Window::SetPosSizePixel( long nX, long nY,
// Resize should be called directly. If we havn't
// set the correct size, we get a second resize from
- // the system with the correct size. This can be happend
+ // the system with the correct size. This can happen
// if the size is to small or to large.
ImplHandleResize( pWindow, nWidth, nHeight );
}
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index d9d3efd45ad5..15eaa110a661 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -960,7 +960,7 @@ static long ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent,
// allow application key listeners to remove the key event
// but make sure we're not forwarding external KeyEvents, (ie where bForward is sal_False)
- // becasue those are coming back from the listener itself and MUST be processed
+ // because those are coming back from the listener itself and MUST be processed
KeyEvent aKeyEvent( (xub_Unicode)nCharCode, aKeyCode, nRepeat );
if( bForward )
{
@@ -1556,7 +1556,7 @@ static long 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 )
{