Kaydet (Commit) c31f50f6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:passstuffbyref

Change-Id: Ie6d413862a402a779032241c7456b14653a7489f
üst 3c9b7bd2
......@@ -23,9 +23,9 @@ namespace opengl3D {
class TextCache
{
public:
const BitmapEx& getText(OUString rText);
const BitmapEx& getText(OUString const & rText);
private:
typedef boost::ptr_map<OUString, BitmapEx> TextCacheType;
typedef boost::ptr_map<OUString const, BitmapEx> TextCacheType;
TextCacheType maTextCache;
};
......
......@@ -68,7 +68,7 @@ void Line::setLineColor(const Color& rColor)
maLineColor = rColor;
}
const BitmapEx& TextCache::getText(OUString rText)
const BitmapEx& TextCache::getText(OUString const & rText)
{
TextCacheType::const_iterator itr = maTextCache.find(rText);
if(itr != maTextCache.end())
......
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