Skip to content

Commit 2712631

Browse files
committed
too many warnings: type the Calc sheet slot args as unsigned short
scalc.sdi declares Index as SfxUInt16Item for the Insert, Remove and Name slots, so a long here hits the "Passing sal_uInt16 in sal_Int32!" fallback. same fix as: commit 1fe99b7 Date: Fri Jul 24 14:17:20 2026 +0000 too many warnings: type the .uno:Move args as JSON Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I8b6d52e68a15f227f868446cd6d6ab7f10f94d0e Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7932 Reviewed-by: Noel Grandin <noel.grandin@collabora.com> Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
1 parent 3dfad30 commit 2712631

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

browser/src/control/Parts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ window.L.Map.include({
391391
'value': ''
392392
},
393393
'Index': {
394-
'type': 'long',
394+
'type': 'unsigned short',
395395
'value': nPos + 1
396396
}
397397
};
@@ -455,7 +455,7 @@ window.L.Map.include({
455455
this._docLayer._sheetSwitch.updateOnSheetDeleted(nPos);
456456
var command = {
457457
'Index': {
458-
'type': 'long',
458+
'type': 'unsigned short',
459459
'value': nPos + 1
460460
}
461461
};
@@ -506,7 +506,7 @@ window.L.Map.include({
506506
'value': name
507507
},
508508
'Index': {
509-
'type': 'long',
509+
'type': 'unsigned short',
510510
'value': nPos + 1
511511
}
512512
};

0 commit comments

Comments
 (0)