summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorHarshita Nag <nagharshita16@gmail.com>2022-11-12 17:52:02 +0530
committerJulien Nabet <serval2412@yahoo.fr>2022-11-13 11:56:35 +0100
commit75b569890a6630bb2a5b727c8567f7ea59ccb62e (patch)
treea1bf1f073bea1e0e6e05e029ad487591c6d7cbca /dbaccess/source
parent651142cbc6305b182a22efbdc4524e614483cf88 (diff)
tdf#114441: Convert use of sal_uLong to better integer types
The above change was possible because GetPos() returns value of type sal_Int32 Change-Id: I9fa4389531813eb3c866a355d2f55ddfb32233a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142634 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/tabledesign/TableUndo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx
index 3769e5fd08cb..7829a09d6959 100644
--- a/dbaccess/source/ui/tabledesign/TableUndo.cxx
+++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx
@@ -179,7 +179,7 @@ OTableEditorDelUndoAct::~OTableEditorDelUndoAct()
void OTableEditorDelUndoAct::Undo()
{
// Insert the deleted line
- sal_uLong nPos;
+ sal_Int32 nPos;
std::shared_ptr<OTableRow> pNewOrigRow;
std::vector< std::shared_ptr<OTableRow> >* pOriginalRows = pTabEdCtrl->GetRowList();