summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2021-06-18 06:14:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-19 09:23:04 +0200
commit947bbe2ae33724f445968f50acf186305fb361e3 (patch)
tree1c6854437aca545cccb31ddbe56f038e8b20007a /sd
parentd7b9b9e8e02aefd61669e07543fc370b0c58207f (diff)
fix 32bit build of tiledrendering tests
Squash of commits 49849a09e2823ac6edb42693daf7eac5312f2eb9 d7b9b9e8e02aefd61669e07543fc370b0c58207f Change-Id: I2f10b7bb37b05961f73fad9ee2e716ed8177d8ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117474 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 02f1968a8232..02856dd0043e 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -2627,7 +2627,7 @@ void SdTiledRenderingTest::testSlideDuplicateUndo()
namespace
{
-void lcl_extractHandleParameters(const OString& selection, int& id, int& x, int& y)
+void lcl_extractHandleParameters(const OString& selection, sal_uInt32& id, sal_uInt32& x, sal_uInt32& y)
{
OString extraInfo = selection.copy(selection.indexOf("{"));
std::stringstream aStream(extraInfo.getStr());
@@ -2660,10 +2660,10 @@ void SdTiledRenderingTest::testMoveShapeHandle()
CPPUNIT_ASSERT(!aView1.m_ShapeSelection.isEmpty());
{
- int id, x, y;
+ sal_uInt32 id, x, y;
lcl_extractHandleParameters(aView1.m_ShapeSelection, id, x ,y);
- int oldX = x;
- int oldY = y;
+ sal_uInt32 oldX = x;
+ sal_uInt32 oldY = y;
uno::Sequence<beans::PropertyValue> aPropertyValues(comphelper::InitPropertySequence(
{
{"HandleNum", uno::makeAny(id)},