summaryrefslogtreecommitdiff
path: root/sw/source/core/text/itradj.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-26 12:53:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-26 21:40:13 +0200
commit23c4166355274fdebb7b744c99390f39416593c1 (patch)
tree26b8649c56af496656f4b8a16c9168dc53f70892 /sw/source/core/text/itradj.cxx
parent9dea10a6f7ef94c5ff77bc7dfe15e862dd0f7be6 (diff)
pass vector as arg, rather than raw pointer
Change-Id: Id97df4cce7a2ce28f1a5e7cc30e27cf4ce9261d1 Reviewed-on: https://gerrit.libreoffice.org/56467 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/text/itradj.cxx')
-rw-r--r--sw/source/core/text/itradj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx
index 02348195c5b5..3e39f9fffd67 100644
--- a/sw/source/core/text/itradj.cxx
+++ b/sw/source/core/text/itradj.cxx
@@ -134,7 +134,7 @@ static bool lcl_CheckKashidaPositions( SwScriptInfo& rSI, SwTextSizeInfo& rInf,
// if two characters are replaced by a ligature glyph, there will be no place for a kashida
std::vector<TextFrameIndex> aKashidaPos(rKashidas);
std::vector<TextFrameIndex> aKashidaPosDropped(rKashidas);
- rSI.GetKashidaPositions(nIdx, rItr.GetLength(), aKashidaPos.data());
+ rSI.GetKashidaPositions(nIdx, rItr.GetLength(), aKashidaPos);
sal_Int32 nKashidaIdx = 0;
while ( rKashidas && nIdx < nEnd )
{