summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdmrkv.cxx10
-rw-r--r--svx/source/table/accessiblecell.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 963ee43d65af..a7f5ba78c4a3 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -823,9 +823,9 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const S
OString handleArrayStr;
aExtraInfo.append("{\"id\":\"");
- aExtraInfo.append(OString::number(reinterpret_cast<sal_IntPtr>(pO)));
+ aExtraInfo.append(reinterpret_cast<sal_IntPtr>(pO));
aExtraInfo.append("\",\"type\":");
- aExtraInfo.append(OString::number(pO->GetObjIdentifier()));
+ aExtraInfo.append(static_cast<sal_Int32>(pO->GetObjIdentifier()));
// In core, the gridOffset is calculated based on the LogicRect's TopLeft coordinate
// In online, we have the SnapRect and we calculate it based on its TopLeft coordinate
@@ -842,9 +842,9 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const S
if (convertMapMode)
p = OutputDevice::LogicToLogic(p, MapMode(MapUnit::Map100thMM), MapMode(MapUnit::MapTwip));
aExtraInfo.append(",\"gridOffsetX\":");
- aExtraInfo.append(OString::number(p.getX()));
+ aExtraInfo.append(p.getX());
aExtraInfo.append(",\"gridOffsetY\":");
- aExtraInfo.append(OString::number(p.getY()));
+ aExtraInfo.append(p.getY());
}
if (bWriterGraphic)
@@ -909,7 +909,7 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const S
aDragParameters[0] = 100;
aExtraInfo.append(", \"initialOffset\": ");
- aExtraInfo.append(OString::number(aDragParameters[0]));
+ aExtraInfo.append(static_cast<sal_Int32>(aDragParameters[0]));
// drag direction constraint
Point aMinPos(aDragParameters[1], aDragParameters[2]);
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx
index 3ea43a4032a0..a26bb819481e 100644
--- a/svx/source/table/accessiblecell.cxx
+++ b/svx/source/table/accessiblecell.cxx
@@ -551,7 +551,7 @@ OUString AccessibleCell::getCellName( sal_Int32 nCol, sal_Int32 nRow )
static_cast<sal_uInt16>(nCol)));
aBuf.append(comphelper::string::reverseString(aStr.makeStringAndClear()));
}
- aBuf.append( OUString::number(nRow+1) );
+ aBuf.append(nRow+1);
return aBuf.makeStringAndClear();
}