[Libreoffice-commits] core.git: dbaccess/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 15 05:07:53 UTC 2019
dbaccess/source/ui/browser/sbagrid.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 6611f45ac57d8be90a3cdfa1c37bbcb97be49dd5
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue May 14 21:32:10 2019 +0000
Commit: Julien Nabet <serval2412 at 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 <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at 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
More information about the Libreoffice-commits
mailing list