Kaydet (Commit) f8eac3a4 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: Function parameter 'rWidthsOf' should be passed by reference

Change-Id: I98ac89c6dd3556654b068769e58e4d24db2fe229
üst 9ec96de5
......@@ -317,7 +317,7 @@ Size TabControl::ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth )
// http://stackoverflow.com/questions/9071205/balanced-word-wrap-minimum-raggedness-in-php
namespace MinimumRaggednessWrap
{
std::deque<size_t> GetEndOfLineIndexes(const std::vector<sal_Int32> rWidthsOf, sal_Int32 nLineWidth)
std::deque<size_t> GetEndOfLineIndexes(const std::vector<sal_Int32>& rWidthsOf, sal_Int32 nLineWidth)
{
++nLineWidth;
......
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