Files
libreoffice/sc/source/core/tool/reordermap.cxx
Noel Grandin f3d9aab841 teach passstuffbyref plugin to check for..
unnecessarily passing primitives by const ref.

Suggested by Tor Lillqvist

Change-Id: I445e220542969ca3e252581e5953fb01cb2b2be6
Reviewed-on: https://gerrit.libreoffice.org/24672
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-06 06:48:38 +00:00

34 lines
831 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <reordermap.hxx>
namespace sc {
ColRowReorderMapType::const_iterator ColRowReorderMapType::end() const
{
return maData.end();
}
std::pair<ColRowReorderMapType::iterator, bool>
ColRowReorderMapType::insert( ColRowReorderMapType::value_type const& val )
{
return maData.insert(val);
}
ColRowReorderMapType::const_iterator
ColRowReorderMapType::find( DataType::key_type key ) const
{
return maData.find(key);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */