diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-29 18:13:24 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-30 10:39:51 +0000 |
commit | 835d7774e78df95d0c59243b6c1b8ed1b51b2311 (patch) | |
tree | 7cf5afe1fcf82999551a8a9911bcc4fa33493b9d /vcl | |
parent | f45ac62a20b80033a7f5ccdef4a6c116b6fece24 (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')
-rw-r--r-- | vcl/source/window/accel.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/accmgr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/dockmgr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/floatwin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/paint.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/splitwin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/syswin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/app/i18n_cb.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkaction.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 2 |
15 files changed, 17 insertions, 17 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(); diff --git a/vcl/unx/generic/app/i18n_cb.cxx b/vcl/unx/generic/app/i18n_cb.cxx index 8de3dc88bc52..1d6be55e1952 100644 --- a/vcl/unx/generic/app/i18n_cb.cxx +++ b/vcl/unx/generic/app/i18n_cb.cxx @@ -151,7 +151,7 @@ Preedit_InsertText(preedit_text_t *pText, XIMText *pInsertText, int where) if (pInsertText->encoding_is_wchar) { wchar_t *pWCString = pInsertText->string.wide_char; - size_t nBytes = wcstombs ( NULL, pWCString, 1024 /* dont care */); + size_t nBytes = wcstombs ( NULL, pWCString, 1024 /* don't care */); pMBString = static_cast<char*>(alloca( nBytes + 1 )); nMBLength = wcstombs ( pMBString, pWCString, nBytes + 1); } diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index d3eb8a978c3d..5b8aec715c99 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -1211,7 +1211,7 @@ void PPDParser::parseOrderDependency(const OString& rLine) OString aSetup = GetCommandLineToken( 1, aLine ); OUString aKey(OStringToOUString(GetCommandLineToken(2, aLine), RTL_TEXTENCODING_MS_1252)); if( aKey[ 0 ] != '*' ) - return; // invalid order depency + return; // invalid order dependecy aKey = aKey.replaceAt( 0, 1, "" ); PPDKey* pKey; diff --git a/vcl/unx/gtk/a11y/atkaction.cxx b/vcl/unx/gtk/a11y/atkaction.cxx index 71ada32ec8c9..71f072f2fabe 100644 --- a/vcl/unx/gtk/a11y/atkaction.cxx +++ b/vcl/unx/gtk/a11y/atkaction.cxx @@ -158,7 +158,7 @@ action_wrapper_get_name (AtkAction *action, /* * GNOME Expects a string in the format: * -* <nmemonic>;<full-path>;<accelerator> +* <mnemonic>;<full-path>;<accelerator> * * The keybindings in <full-path> should be separated by ":" */ diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index fab63014b0ba..9a30ed6d838a 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -1261,7 +1261,7 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar const ImplControlValue& rValue, const OUString&, Rectangle &rNativeBoundingRegion, Rectangle &rNativeContentRegion ) { - /* TODO: all this funcions needs improvements */ + /* TODO: all this functions needs improvements */ Rectangle aEditRect = rControlRegion; gint indicator_size, indicator_spacing, point; |