summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-05-14 21:32:10 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-05-15 07:06:26 +0200
commit6611f45ac57d8be90a3cdfa1c37bbcb97be49dd5 (patch)
tree339f082c88631cd20d8a613c2c8694895a9da554 /dbaccess
parentf3213bf3f421c0081b894e83750dbd672ae64025 (diff)
Fix typo
Change-Id: I2b7f2d9eb1290c25c48867f17694fe5e6b1826bf Reviewed-on: https://gerrit.libreoffice.org/72324 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx10
1 files changed, 5 insertions, 5 deletions
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