dbaccess/source/ui/browser/sbagrid.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit 6611f45ac57d8be90a3cdfa1c37bbcb97be49dd5 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Tue May 14 21:32:10 2019 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Wed May 15 07:06:26 2019 +0200 Fix typo Change-Id: I2b7f2d9eb1290c25c48867f17694fe5e6b1826bf Reviewed-on: https://gerrit.libreoffice.org/72324 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index ae5478f0b3bc..c41a4e395c67 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits