Kaydet (Commit) f6391d96 authored tarafından Khaled Hosny's avatar Khaled Hosny

Who would think sal_Int32 is not the same as int32_t

Change-Id: I107cf27ea36e092ba3be45d255cc8622eb1c726f
üst f26df72f
...@@ -412,10 +412,10 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs) ...@@ -412,10 +412,10 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
// orientation. // orientation.
if (rArgs.mnFlags & SalLayoutFlags::Vertical) if (rArgs.mnFlags & SalLayoutFlags::Vertical)
{ {
int32_t nIdx = nMinRunPos; sal_Int32 nIdx = nMinRunPos;
while (nIdx < nEndRunPos) while (nIdx < nEndRunPos)
{ {
int32_t nPrevIdx = nIdx; sal_Int32 nPrevIdx = nIdx;
sal_UCS4 aChar = rArgs.mrStr.iterateCodePoints(&nIdx); sal_UCS4 aChar = rArgs.mrStr.iterateCodePoints(&nIdx);
switch (vcl::GetVerticalOrientation(aChar)) switch (vcl::GetVerticalOrientation(aChar))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment