Kaydet (Commit) 14d096e2 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Noel Grandin

Fix typos

Change-Id: Ie75beb4e282a4d1b784a5847262e39cf9c851527
Reviewed-on: https://gerrit.libreoffice.org/29440Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst ba3521f2
......@@ -108,7 +108,7 @@ void SvXMLImportItemMapper::importXML( SfxItemSet& rSet,
SfxItemState eState = rSet.GetItemState( pEntry->nWhichId, true,
&pItem );
// if its not set, try the pool
// if it's not set, try the pool
if (SfxItemState::SET != eState && SfxItemPool::IsWhich(pEntry->nWhichId))
pItem = &rSet.GetPool()->GetDefaultItem(pEntry->nWhichId);
......
......@@ -80,7 +80,7 @@ IMPL_LINK_NOARG_TYPED(SwInsertBookmarkDlg, ModifyHdl, Edit&, void)
nEntries++;
}
// allow to add new bookmark only if one name provided and its not taken
// allow to add new bookmark only if one name provided and it's not taken
m_pInsertBtn->Enable(nEntries == 1 && nSelectedEntries == 0);
// allow to delete only if all bookmarks are recognized
......
......@@ -639,7 +639,7 @@ IMPL_LINK_NOARG_TYPED(SwMailMergeWizardExecutor, CancelHdl, void*, void)
uno::Reference<beans::XPropertySet> xPropSet(pViewFrame->GetFrame().GetFrameInterface(), uno::UNO_QUERY);
if (xPropSet.is() && m_bDestroyMMToolbarOnCancel)
{
// hide mailmerge toolbar if it hasnt been there before
// hide mailmerge toolbar if it hasn't been there before
uno::Reference<frame::XLayoutManager> xLayoutManager;
uno::Any aValue = xPropSet->getPropertyValue("LayoutManager");
aValue >>= xLayoutManager;
......
......@@ -78,7 +78,7 @@ void SwComboBox::RemoveEntryAt(sal_Int32 const nPos)
ComboBox::RemoveEntryAt(nPos);
// Don't add new entries to the list
// add to DelEntryLst
// add to DelEntryList
m_DelEntryList.push_back(m_EntryList[nPos]);
m_EntryList.erase(m_EntryList.begin() + nPos);
}
......
......@@ -119,7 +119,7 @@ InterceptedInteraction::EInterceptionState InterceptedInteraction::impl_intercep
// intercepted ...
// Call they might existing derived class, so they can handle that by its own.
// If its not interested on that (may be its not overwritten and the default implementation
// If it's not interested on that (maybe it's not overwritten and the default implementation
// returns E_NOT_INTERCEPTED as default) -> break this loop and search for the right continuation.
if (bMatch)
{
......
......@@ -770,7 +770,7 @@ Found findEntity(
unoidl::PolymorphicStructTypeTemplateEntity *>(
e->entity.get())
->getTypeParameters().size())
+ " type paramters"));
+ " type parameters"));
return FOUND_ERROR;
}
t = unoidl::detail::SourceProviderType(n, e, args);
......
......@@ -40,7 +40,7 @@ void main()
if (type == TYPE_LINE)
{
// miter factor to additionaly lenghten the distance of vertex (needed for miter)
// miter factor to additionally lenghten the distance of vertex (needed for miter)
// if 1.0 - miter_factor has no effect
float miter_factor = 1.0 / abs(extrusion_vectors.z);
// fade factor is always -1.0 or 1.0 -> we transport that info together with length
......
......@@ -20,7 +20,7 @@ uniform mat4 mvp;
void main()
{
vec2 extrusion_vector = extrusion_vectors.xy;
// miter factor to additionaly lenghten the distance of vertex (needed for miter)
// miter factor to additionally lenghten the distance of vertex (needed for miter)
// if 1.0 - miter_factor has no effect
float miter_factor = 1.0f / abs(extrusion_vectors.z);
// fade factor is always -1.0 or 1.0 -> we transport that info together with length
......
......@@ -359,7 +359,7 @@ void Window::RemoveUserEvent( ImplSVEvent * nUserEvent )
static MouseEvent ImplTranslateMouseEvent( const MouseEvent& rE, vcl::Window* pSource, vcl::Window* pDest )
{
// the mouse event occured in a different window, we need to translate the coordinates of
// the mouse event occurred in a different window, we need to translate the coordinates of
// the mouse cursor within that (source) window to the coordinates the mouse cursor would
// be in the destination window
Point aPos = pSource->OutputToScreenPixel( rE.GetPosPixel() );
......@@ -390,7 +390,7 @@ void Window::ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt )
}
else
{
// the mouse event occured in a different window, we need to translate the coordinates of
// the mouse event occurred in a different window, we need to translate the coordinates of
// the mouse cursor within that window to the coordinates the mouse cursor would be in the
// current window
vcl::Window* pSource = rNEvt.GetWindow();
......
......@@ -2554,7 +2554,7 @@ bool MenuBar::ImplHandleKeyEvent( const KeyEvent& rKEvent )
{
// Except when the event is the F6 cycle pane event and we can put our
// focus into it (i.e. the gtk3 menubar case but not the mac/unity case
// where its not part of the application window)
// where it's not part of the application window)
if (!TaskPaneList::IsCycleKey(rKEvent.GetKeyCode()))
return false;
if (!pNativeMenu->CanGetFocus())
......
......@@ -3046,7 +3046,7 @@ long X11SalFrame::HandleKeyEvent( XKeyEvent *pEvent )
// pressing just the ctrl key leads to a keysym of XK_Control but
// the event state does not contain ControlMask. In the release
// event its the other way round: it does contain the Control mask.
// event it's the other way round: it does contain the Control mask.
// The modifier mode therefore has to be adapted manually.
sal_uInt16 nExtModMask = 0;
sal_uInt16 nModMask = 0;
......
......@@ -3119,7 +3119,7 @@ gboolean GtkSalFrame::signalKey( GtkWidget*, GdkEventKey* pEvent, gpointer frame
sal_uInt16 nModMask = 0;
// pressing just the ctrl key leads to a keysym of XK_Control but
// the event state does not contain ControlMask. In the release
// event its the other way round: it does contain the Control mask.
// event it's the other way round: it does contain the Control mask.
// The modifier mode therefore has to be adapted manually.
switch( pEvent->keyval )
{
......
......@@ -312,7 +312,7 @@ void GtkSalMenu::ImplUpdate(bool bRecurse, bool bRemoveDisabledEntries)
void GtkSalMenu::Update()
{
//find out if top level is a menubar or not, if not, then its a popup menu
//find out if top level is a menubar or not, if not, then it's a popup menu
//hierarchy and in those we hide (most) disabled entries
const GtkSalMenu* pMenu = this;
while (pMenu->mpParentSalMenu)
......@@ -972,7 +972,7 @@ bool GtkSalMenu::NativeSetItemCommand( unsigned nSection,
bSubMenuAddedOrRemoved = bOldHasSubmenu != bIsSubmenu;
if (bSubMenuAddedOrRemoved)
{
//tdf#98636 its not good enough to unset the "submenu-action" attribute to change something
//tdf#98636 it's not good enough to unset the "submenu-action" attribute to change something
//from a submenu to a non-submenu item, so remove the old one entirely and re-add it to
//support achieving that
gchar* pLabel = g_lo_menu_get_label_from_item_in_section(pMenu, nSection, nItemPos);
......
......@@ -3007,7 +3007,7 @@ gboolean GtkSalFrame::signalKey(GtkWidget* pWidget, GdkEventKey* pEvent, gpointe
sal_uInt16 nModMask = 0;
// pressing just the ctrl key leads to a keysym of XK_Control but
// the event state does not contain ControlMask. In the release
// event its the other way round: it does contain the Control mask.
// event it's the other way round: it does contain the Control mask.
// The modifier mode therefore has to be adapted manually.
switch( pEvent->keyval )
{
......
......@@ -177,7 +177,7 @@ static Unicode2LangType aLangFromCodeChart[]= {
// {0x1200, 0x139F, LANGUAGE_AMHARIC_ETHIOPIA}, // Ethiopic
// {0x1200, 0x139F, LANGUAGE_TIGRIGNA_ETHIOPIA}, // Ethiopic
{0x13A0, 0x13FF, LANGUAGE_CHEROKEE_UNITED_STATES}, // Cherokee
// {0x1400, 0x167F, LANGUAGE_CANADIAN_ABORIGINAL}, // Canadian Aboriginial Syllabics
// {0x1400, 0x167F, LANGUAGE_CANADIAN_ABORIGINAL}, // Canadian Aboriginal Syllabics
// {0x1680, 0x169F, LANGUAGE_OGHAM}, // Ogham
// {0x16A0, 0x16F0, LANGUAGE_RUNIC}, // Runic
// {0x1700, 0x171F, LANGUAGE_TAGALOG}, // Tagalog
......
......@@ -667,7 +667,7 @@ class ItemsTable(object):
it means this is the end of the table, so we end here.
(because after getting the cellName above,
I call the goRight method.
If it did not go right, it means its the last cell.
If it did not go right, it means it's the last cell.
'''
if cellName == cursor.RangeName:
......
......@@ -72,9 +72,9 @@ class DocumentPreview(object):
which is not part of the global frame tree.
Attention:
a) This frame wont be destroyed by the office. It must be closed by you!
a) This frame won't be destroyed by the office. It must be closed by you!
Do so - please call XCloseable::close().
b) The container window is part of the frame. Dont hold it alive - nor try to kill it.
b) The container window is part of the frame. Don't hold it alive - nor try to kill it.
It will be destroyed inside close().
'''
......
......@@ -586,7 +586,7 @@ class Process(ProcessErrors):
# searches the an exporter for the given CGExporter object
# in the cache.
# If its not there, creates it, stores it in the cache and
# If it's not there, creates it, stores it in the cache and
# returns it.
# @param export specifies the needed exporter.
# @return an Exporter instance
......
......@@ -31,7 +31,7 @@ from ..common.UCB import UCB
# while other change according to user choices)
# I divide this tasks to two: all necessary
# static files, which should not regularly update are copied upon
# instanciation.
# instantiation.
# The TOC is generated in refresh(...);
class TOCPreview:
......
......@@ -341,7 +341,7 @@ class WWD_Events(WWD_Startup):
self.setEnabled(self.btnBackgrounds, True)
'''
invoked when the BackgorundsDialog is "OKed".
invoked when the BackgroundsDialog is "OKed".
'''
def setBackground(self, background):
......@@ -903,7 +903,7 @@ class WWD_Events(WWD_Startup):
'''
Here i go through each file, and validate it.
If its ok, I add it to the ListModel/ConfigSet
If it's ok, I add it to the ListModel/ConfigSet
'''
for i in range(0, len(self.files)):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment