summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx8
-rw-r--r--svx/source/fmcomp/fmgridif.cxx4
-rw-r--r--svx/source/fmcomp/gridcell.cxx4
-rw-r--r--svx/source/fmcomp/gridctrl.cxx12
4 files changed, 14 insertions, 14 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index e651eebc1d52..557c9479f2c7 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -502,7 +502,7 @@ IMPL_LINK( FmGridHeader, OnAsyncExecuteDrop, void*, /*NOTINTERESTEDIN*/ )
}
catch(Exception&)
{
- DBG_ERROR("FmGridHeader::ExecuteDrop: Exception occured!");
+ DBG_ERROR("FmGridHeader::ExecuteDrop: Exception occurred!");
}
sal_Int32 nPreferedType = -1;
@@ -1896,7 +1896,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks()
// The next problem caused by the same behaviuor (SeekCursor causes a propertyChanged) : when adjusting rows we implicitly
// change our selection. So a "FirstSelected(); SeekCursor(); NextSelected();" may produce unpredictable results.
- // That's why we _first_ collect the indicies of the selected rows and _then_ their bookmarks.
+ // That's why we _first_ collect the indices of the selected rows and _then_ their bookmarks.
long nIdx = FirstSelectedRow();
while (nIdx >= 0)
{
@@ -1904,7 +1904,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks()
pBookmarks[i++] <<= (sal_Int32)nIdx;
nIdx = NextSelectedRow();
}
- DBG_ASSERT(i == nSelectedRows, "FmGridControl::DeleteSelectedRows : could not collect the row indicies !");
+ DBG_ASSERT(i == nSelectedRows, "FmGridControl::DeleteSelectedRows : could not collect the row indices !");
for (i=0; i<nSelectedRows; ++i)
{
@@ -2124,7 +2124,7 @@ void FmGridControl::KeyInput( const KeyEvent& rKEvt )
}
catch(const Exception&)
{
- OSL_ENSURE(0,"exception occured while deleting a column");
+ OSL_ENSURE(0,"exception occurred while deleting a column");
}
}
}
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 2943fdbeea51..c1d3da92b479 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -1506,7 +1506,7 @@ void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeE
sal_Int32 nWidth = 0;
if (evt.NewValue.getValueType().getTypeClass() == TypeClass_VOID)
nWidth = pGrid->GetDefaultColumnWidth(pGrid->GetColumnTitle(nId));
- // GetDefaultColumnWidth already considerd the zoom factor
+ // GetDefaultColumnWidth already considered the zoom factor
else
{
sal_Int32 nTest = 0;
@@ -2551,7 +2551,7 @@ Reference< ::com::sun::star::frame::XDispatch > FmXGridPeer::queryDispatch(cons
{
m_bInterceptingDispatch = sal_True;
// safety against recursion : as we are master of the first chain element and slave of the last one we would
- // have an infinite loop without this if no dispatcher can fullfill the rewuest)
+ // have an infinite loop without this if no dispatcher can fulfill the rewuest)
xResult = m_xFirstDispatchInterceptor->queryDispatch(aURL, aTargetFrameName, nSearchFlags);
m_bInterceptingDispatch = sal_False;
}
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 69a125e827c5..7a364e1b00c2 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -1598,7 +1598,7 @@ void DbFormattedField::updateFromModel( Reference< XPropertySet > _rxModel )
::rtl::OUString sText;
Any aValue = _rxModel->getPropertyValue( FM_PROP_EFFECTIVE_VALUE );
if ( aValue >>= sText )
- { // our effective value is transfered as string
+ { // our effective value is transferred as string
pFormattedWindow->SetTextFormatted( sText );
pFormattedWindow->SetSelection( Selection( SELECTION_MAX, SELECTION_MIN ) );
}
@@ -1837,7 +1837,7 @@ String DbPatternField::GetFormatText(const Reference< ::com::sun::star::sdb::XCo
}
else
OSL_ENSURE( rpFormatter->getColumn() == _rxField, "DbPatternField::GetFormatText: my value formatter is working for another field ...!" );
- // re-creating the value formatter here everytime would be quite expensive ...
+ // re-creating the value formatter here every time would be quite expensive ...
String sText;
if ( rpFormatter.get() )
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 0a07f987496d..72ce80fa3778 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -359,7 +359,7 @@ void DbGridControl::NavigationBar::PositionDataSource(sal_Int32 nRecord)
{
if (m_bPositioning)
return;
- // the MoveToPosition may cause a LoseFocus which would lead to a second MoveToPosition, so protect agains this
+ // the MoveToPosition may cause a LoseFocus which would lead to a second MoveToPosition, so protect against this
// recursion
// 68167 - 13.08.99 - FS
m_bPositioning = sal_True;
@@ -1304,7 +1304,7 @@ sal_uInt16 DbGridControl::SetOptions(sal_uInt16 nOpt)
}
else
nNewMode &= ~BROWSER_HIDECURSOR;
- // should not be neccessary if EnablePermanentCursor is used to change the cursor behaviour, but to be sure ...
+ // should not be necessary if EnablePermanentCursor is used to change the cursor behaviour, but to be sure ...
if (nNewMode != m_nMode)
{
@@ -1630,7 +1630,7 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, sal_uInt
// there are rows so go to the selected current column
if (nRecordCount)
GoToRowColumnId(0, GetColumnId(nCurPos));
- // else stop the editing if neccessary
+ // else stop the editing if necessary
else if (IsEditing())
DeactivateCell();
@@ -1796,7 +1796,7 @@ void DbGridControl::ColumnMoved(sal_uInt16 nId)
// +---+---+---+---+---+---+
//
// Now, all is consistent again.
- // (except of the hidden column : The cycling of the cols occured on the model, not on the view. maybe
+ // (except of the hidden column : The cycling of the cols occurred on the model, not on the view. maybe
// the user expected the latter but there really is no good argument against our method ;) ...)
//
// And no, this large explanation isn't just because I wanted to play a board game or something like
@@ -2275,7 +2275,7 @@ void DbGridControl::AdjustDataSource(sal_Bool bFull)
if (bFull)
m_xCurrentRow = NULL;
// if we are on the same row only repaint
- // but this is only possible for rows which are not inserted, in that case the comparision result
+ // but this is only possible for rows which are not inserted, in that case the comparison result
// may not be correct
else
if ( m_xCurrentRow.Is()
@@ -3363,7 +3363,7 @@ sal_Bool DbGridControl::SaveRow()
// if we are appending we still sit on the insert row
// we don't move just clear the flags not to move on the current row
m_xCurrentRow->SetState(m_pDataCursor, sal_False);
- TRACE_RANGE_MESSAGE1("explicit SetState after a successfull update, new state : %s", ROWSTATUS(m_xCurrentRow));
+ TRACE_RANGE_MESSAGE1("explicit SetState after a successful update, new state : %s", ROWSTATUS(m_xCurrentRow));
m_xCurrentRow->SetNew(sal_False);
// adjust the seekcursor if it is on the same position as the datacursor