summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 18:13:24 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-09-30 10:39:51 +0000
commit835d7774e78df95d0c59243b6c1b8ed1b51b2311 (patch)
tree7cf5afe1fcf82999551a8a9911bcc4fa33493b9d /vcl/source/window
parentf45ac62a20b80033a7f5ccdef4a6c116b6fece24 (diff)
Fix typos
Change-Id: I2cf36eb80068adcf57238a286f09bdc96b4e01f8 Reviewed-on: https://gerrit.libreoffice.org/18994 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/accel.cxx2
-rw-r--r--vcl/source/window/accmgr.cxx2
-rw-r--r--vcl/source/window/dlgctrl.cxx4
-rw-r--r--vcl/source/window/dockmgr.cxx2
-rw-r--r--vcl/source/window/floatwin.cxx2
-rw-r--r--vcl/source/window/paint.cxx2
-rw-r--r--vcl/source/window/splitwin.cxx2
-rw-r--r--vcl/source/window/syswin.cxx2
-rw-r--r--vcl/source/window/toolbox.cxx2
-rw-r--r--vcl/source/window/window.cxx2
-rw-r--r--vcl/source/window/winproc.cxx4
11 files changed, 13 insertions, 13 deletions
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index 75ea7bc7b731..a8ce0a4ecfc5 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -56,7 +56,7 @@ sal_uInt16 ImplAccelEntryGetIndex( ImplAccelList* pList, sal_uInt16 nId,
return ACCELENTRY_NOTFOUND;
}
- // Binairy search
+ // Binary search
nLow = 0;
nHigh = nCount-1;
do
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx
index e855193ca7a2..b94e8c062414 100644
--- a/vcl/source/window/accmgr.cxx
+++ b/vcl/source/window/accmgr.cxx
@@ -167,7 +167,7 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRep
}
else
{
- // stop sequence as the accelerator was disbled
+ // stop sequence as the accelerator was disabled
// transfer the key (to the system)
FlushAccel();
return false;
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index cf8ac9991ef7..105ba5a0fee5 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -39,7 +39,7 @@ using namespace ::com::sun::star;
static bool ImplHasIndirectTabParent( vcl::Window* pWindow )
{
- // The window has inderect tab parent if it is included in tab hierarchy
+ // The window has indirect tab parent if it is included in tab hierarchy
// of the indirect parent window
vcl::Window* pNonLayoutParent = getNonLayoutParent(pWindow);
@@ -313,7 +313,7 @@ vcl::Window* ImplFindDlgCtrlWindow( vcl::Window* pParent, vcl::Window* pWindow,
&& pSWindow->ImplGetWindow()->IsDialogControlStart() )
nFormStart = i;
- // SecondWindow for composit controls like ComboBoxes and arrays
+ // SecondWindow for composite controls like ComboBoxes and arrays
if ( pSWindow->ImplIsWindowOrChild( pWindow ) )
{
pSecondWindow = pSWindow;
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 0de1c433e3bd..4eba0364c448 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -1125,7 +1125,7 @@ void ImplDockingWindowWrapper::StartPopupMode( ToolBox *pParentToolBox, FloatWin
GetWindow()->mpWindowImpl->mnRightBorder = 0;
GetWindow()->mpWindowImpl->mnBottomBorder = 0;
- // position toolbox below dragrect
+ // position toolbox below DragRect
GetWindow()->SetPosPixel( pWin->GetToolboxPosition() );
// reparent borderwindow and window
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 80c8f0c971c0..c470f754d004 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -72,7 +72,7 @@ void FloatingWindow::ImplInit( vcl::Window* pParent, WinBits nStyle )
DBG_ASSERT(pParent, "FloatWindow::FloatingWindow(): - pParent == NULL and no AppWindow exists");
- // no Border, then we dont need a border window
+ // no Border, then we don't need a border window
if (!nStyle)
{
mpWindowImpl->mbOverlapWin = true;
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index af1422756a7c..ade79ba0d77d 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -504,7 +504,7 @@ void Window::PushPaintHelper(PaintHelper *pHelper, vcl::RenderContext& rRenderCo
Erase(rRenderContext);
}
- // #98943# trigger drawing of toolbox selection after all childern are painted
+ // #98943# trigger drawing of toolbox selection after all children are painted
if (mpWindowImpl->mbDrawSelectionBackground)
pHelper->SetSelectionRect(aPaintRect);
pHelper->SetPaintRect(aPaintRect);
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index edbd24f2717f..8e643d1db371 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -1411,7 +1411,7 @@ void SplitWindow::dispose()
// delete Sets
if (mpMainSet) {
delete mpMainSet ;
- mpMainSet = NULL; //NULL for base-class callbacks during dtoring
+ mpMainSet = NULL; //NULL for base-class callbacks during destruction
}
DockingWindow::dispose();
}
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index cac6542649a9..1403918ef987 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -670,7 +670,7 @@ void SystemWindow::SetWindowStateData( const WindowStateData& rData )
if( rData.GetMask() & (WINDOWSTATE_MASK_WIDTH|WINDOWSTATE_MASK_HEIGHT) )
{
- // #i43799# adjust window state sizes if a minimial output size was set
+ // #i43799# adjust window state sizes if a minimal output size was set
// otherwise the frame and the client might get different sizes
if( maMinOutSize.Width() > aState.mnWidth )
aState.mnWidth = maMinOutSize.Width();
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index f6cf52536eb7..84a28c84c4e4 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -209,7 +209,7 @@ void ToolBox::ImplCalcBorder( WindowAlign eAlign, long& rLeft, long& rTop,
ImplDockingWindowWrapper *pWrapper = ImplGetDockingManager()->GetDockingWindowWrapper( pThis );
- // reserve dragarea only for dockable toolbars
+ // reserve DragArea only for dockable toolbars
int dragwidth = ( pWrapper && !pWrapper->IsLocked() ) ? ImplGetDragWidth( const_cast<ToolBox*>(pThis) ) : 0;
// no shadow border for dockable toolbars
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 5a51cfc71910..c1212c0088e9 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -611,7 +611,7 @@ WindowImpl::WindowImpl( WindowType nType )
maZoom = Fraction( 1, 1 );
maWinRegion = vcl::Region(true);
maWinClipRegion = vcl::Region(true);
- mpWinData = NULL; // Extra Window Data, that we dont need for all windows
+ mpWinData = NULL; // Extra Window Data, that we don't need for all windows
mpOverlapData = NULL; // Overlap Data
mpFrameData = NULL; // Frame Data
mpFrame = NULL; // Pointer to frame window
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 033389d09c67..ef92f616b4f3 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -374,7 +374,7 @@ bool ImplHandleMouseEvent( vcl::Window* pWindow, MouseNotifyEvent nSVEvent, bool
// return false;
// no mouse messages to disabled windows
- // #106845# if the window was disabed during capturing we have to pass the mouse events to release capturing
+ // #106845# if the window was disabled during capturing we have to pass the mouse events to release capturing
if ( pSVData->maWinData.mpCaptureWin.get() != pChild && (!pChild->IsEnabled() || !pChild->IsInputEnabled() || pChild->IsInModalMode() ) )
{
ImplHandleMouseFloatMode( pChild, aMousePos, nCode, nSVEvent, bMouseLeave );
@@ -1108,7 +1108,7 @@ static bool ImplHandleKey( vcl::Window* pWindow, MouseNotifyEvent nSVEvent,
bRet = false;
}
- // #105591# send keyinput to parent if we are a floating window and the key was not pocessed yet
+ // #105591# send keyinput to parent if we are a floating window and the key was not processed yet
if( !bRet && pWindow->ImplGetWindowImpl()->mbFloatWin && pWindow->GetParent() && (pWindow->ImplGetWindowImpl()->mpFrame != pWindow->GetParent()->ImplGetWindowImpl()->mpFrame) )
{
pChild = pWindow->GetParent();