Kaydet (Commit) d7d0121a authored tarafından Julien Nabet's avatar Julien Nabet

Typo: selction/slection -> selection

Change-Id: I3f405d9525d3afb6534166fd733cabf7779a2846
üst f1f6b6db
...@@ -980,7 +980,7 @@ bool ScChildrenShapes::FindSelectedShapesChanges(const uno::Reference<drawing::X ...@@ -980,7 +980,7 @@ bool ScChildrenShapes::FindSelectedShapesChanges(const uno::Reference<drawing::X
{ {
sal_Int8 nComp(0); sal_Int8 nComp(0);
if (aXShapesItr == aXShapesEndItr) if (aXShapesItr == aXShapesEndItr)
nComp = -1; // simulate that the Shape is lower, so the selction state will be removed nComp = -1; // simulate that the Shape is lower, so the selection state will be removed
else else
nComp = Compare(*aDataItr, *aXShapesItr); nComp = Compare(*aDataItr, *aXShapesItr);
if (nComp == 0) if (nComp == 0)
......
...@@ -263,7 +263,7 @@ void FocusManager::NotifyFocusChangeListeners (void) const ...@@ -263,7 +263,7 @@ void FocusManager::NotifyFocusChangeListeners (void) const
// Create a copy of the listener list to be safe when that is modified. // Create a copy of the listener list to be safe when that is modified.
::std::vector<Link> aListeners (maFocusChangeListeners); ::std::vector<Link> aListeners (maFocusChangeListeners);
// Tell the slection change listeners that the selection has changed. // Tell the selection change listeners that the selection has changed.
::std::vector<Link>::iterator iListener (aListeners.begin()); ::std::vector<Link>::iterator iListener (aListeners.begin());
::std::vector<Link>::iterator iEnd (aListeners.end()); ::std::vector<Link>::iterator iEnd (aListeners.end());
for (; iListener!=iEnd; ++iListener) for (; iListener!=iEnd; ++iListener)
......
...@@ -235,7 +235,7 @@ void SelectionManager::SelectionHasChanged (const bool bMakeSelectionVisible) ...@@ -235,7 +235,7 @@ void SelectionManager::SelectionHasChanged (const bool bMakeSelectionVisible)
if (pDescriptor.get() != NULL) if (pDescriptor.get() != NULL)
pViewShell->UpdatePreview(pDescriptor->GetPage()); pViewShell->UpdatePreview(pDescriptor->GetPage());
// Tell the slection change listeners that the selection has changed. // Tell the selection change listeners that the selection has changed.
::std::vector<Link>::iterator iListener (maSelectionChangeListeners.begin()); ::std::vector<Link>::iterator iListener (maSelectionChangeListeners.begin());
::std::vector<Link>::iterator iEnd (maSelectionChangeListeners.end()); ::std::vector<Link>::iterator iEnd (maSelectionChangeListeners.end());
for (; iListener!=iEnd; ++iListener) for (; iListener!=iEnd; ++iListener)
......
...@@ -458,7 +458,7 @@ void SwFldFuncPage::UpdateSubType() ...@@ -458,7 +458,7 @@ void SwFldFuncPage::UpdateSubType()
{ {
const sal_uInt16 nTypeId = (sal_uInt16)reinterpret_cast<sal_uLong>(m_pTypeLB->GetEntryData(GetTypeSel())); const sal_uInt16 nTypeId = (sal_uInt16)reinterpret_cast<sal_uLong>(m_pTypeLB->GetEntryData(GetTypeSel()));
// fill Selction-Listbox // fill Selection-Listbox
m_pSelectionLB->SetUpdateMode(false); m_pSelectionLB->SetUpdateMode(false);
m_pSelectionLB->Clear(); m_pSelectionLB->Clear();
......
...@@ -351,7 +351,7 @@ IMPL_LINK_NOARG(SwColumnDlg, OkHdl) ...@@ -351,7 +351,7 @@ IMPL_LINK_NOARG(SwColumnDlg, OkHdl)
rWrtShell.StartAction(); rWrtShell.StartAction();
rWrtShell.Push(); rWrtShell.Push();
rWrtShell.SetFlyFrmAttr( aTmp ); rWrtShell.SetFlyFrmAttr( aTmp );
// undo the frame selction again // undo the frame selection again
if(rWrtShell.IsFrmSelected()) if(rWrtShell.IsFrmSelected())
{ {
rWrtShell.UnSelectFrm(); rWrtShell.UnSelectFrm();
......
...@@ -396,7 +396,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); ...@@ -396,7 +396,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
//"Handler" for changes at DrawView - for controls. //"Handler" for changes at DrawView - for controls.
virtual void DrawSelChanged( ) SAL_OVERRIDE; virtual void DrawSelChanged( ) SAL_OVERRIDE;
// jump to bookmark and set the "selctions-flags" correctly again // jump to bookmark and set the "selections-flags" correctly again
bool GotoMark( const ::sw::mark::IMark* const pMark ); bool GotoMark( const ::sw::mark::IMark* const pMark );
bool GotoMark( const ::sw::mark::IMark* const pMark, bool bSelect, bool bStart ); bool GotoMark( const ::sw::mark::IMark* const pMark, bool bSelect, bool bStart );
bool GotoMark( const OUString& rName ); bool GotoMark( const OUString& rName );
......
...@@ -873,7 +873,7 @@ SwXTextViewCursor::~SwXTextViewCursor() ...@@ -873,7 +873,7 @@ SwXTextViewCursor::~SwXTextViewCursor()
{ {
} }
// used to determine if there is a text selction or not. // used to determine if there is a text selection or not.
// If there is no text selection the functions that need a working // If there is no text selection the functions that need a working
// cursor will be disabled (throw RuntimeException). This will be the case // cursor will be disabled (throw RuntimeException). This will be the case
// for the following interfaces: // for the following interfaces:
......
...@@ -97,8 +97,8 @@ STDMETHODIMP CAccHypertext::get_characterExtents(long offset, IA2CoordinateType ...@@ -97,8 +97,8 @@ STDMETHODIMP CAccHypertext::get_characterExtents(long offset, IA2CoordinateType
} }
/** /**
* Get slections count. * Get selections count.
* @param nSelections Variant to accpet slections count. * @param nSelections Variant to accpet selections count.
* @return Result. * @return Result.
*/ */
STDMETHODIMP CAccHypertext::get_nSelections(long * nSelections) STDMETHODIMP CAccHypertext::get_nSelections(long * nSelections)
......
...@@ -89,8 +89,8 @@ STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType coord ...@@ -89,8 +89,8 @@ STDMETHODIMP CAccText::get_characterExtents(long offset, IA2CoordinateType coord
} }
/** /**
* Get slections count. * Get selections count.
* @param nSelections Variant to accpet slections count. * @param nSelections Variant to accpet selections count.
* @return Result. * @return Result.
*/ */
STDMETHODIMP CAccText::get_nSelections(long * nSelections) STDMETHODIMP CAccText::get_nSelections(long * nSelections)
......
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