Kaydet (Commit) 6611f45a authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typo

Change-Id: I2b7f2d9eb1290c25c48867f17694fe5e6b1826bf
Reviewed-on: https://gerrit.libreoffice.org/72324Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst f3213bf3
......@@ -841,7 +841,7 @@ void SbaGridControl::SetRowHeight()
}
catch(Exception&)
{
OSL_FAIL("setPropertyValue: PROPERTY_ROW_HEIGHT throws a exception");
OSL_FAIL("setPropertyValue: PROPERTY_ROW_HEIGHT throws an exception");
}
}
}
......@@ -1045,7 +1045,7 @@ void SbaGridControl::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel )
long nCorrectRowCount = GetRowCount();
if (GetOptions() & DbGridControlOptions::Insert)
--nCorrectRowCount; // there is a empty row for inserting records
--nCorrectRowCount; // there is an empty row for inserting records
if (bCurrentRowVirtual)
--nCorrectRowCount;
......@@ -1253,7 +1253,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
long nCorrectRowCount = GetRowCount();
if (GetOptions() & DbGridControlOptions::Insert)
--nCorrectRowCount; // there is a empty row for inserting records
--nCorrectRowCount; // there is an empty row for inserting records
if (IsCurrentAppending())
--nCorrectRowCount; // the current data record doesn't really exist, we are appending a new one
......@@ -1273,7 +1273,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt )
CellControllerRef xCurrentController = Controller();
if (xCurrentController.is() && xCurrentController->IsModified() && ((nRow != GetCurRow()) || (nCol != GetCurColumnId())))
// the current controller is modified and the user wants to drop in another cell -> no chance
// (when leaving the modified cell a error may occur - this is deadly while dragging)
// (when leaving the modified cell an error may occur - this is deadly while dragging)
break;
Reference< XPropertySet > xField = getField(GetModelColumnPos(nCol));
......@@ -1346,7 +1346,7 @@ sal_Int8 SbaGridControl::ExecuteDrop( const BrowserExecuteDropEvent& rEvt )
long nCorrectRowCount = GetRowCount();
if (GetOptions() & DbGridControlOptions::Insert)
--nCorrectRowCount; // there is a empty row for inserting records
--nCorrectRowCount; // there is an empty row for inserting records
if (IsCurrentAppending())
--nCorrectRowCount; // the current data record doesn't really exist, we are appending a new one
......
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