summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2019-11-03 12:52:21 +0100
committerDavid Tardon <dtardon@redhat.com>2019-11-03 13:03:05 +0100
commit8d80db6d4f0780de717cfddca68345e2670bf110 (patch)
tree43c41cf89b2d9220273b926a8b643b4426f84a47
parent28d9b20b58ad5a323c6099e1187c65b656c1ef72 (diff)
avoid unnecessary copying
Change-Id: If1963b8a3e6851e02b95973967ffafd4afb2c977
-rw-r--r--src/lib/FHCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/FHCollector.cpp b/src/lib/FHCollector.cpp
index 3f24118..7404bc4 100644
--- a/src/lib/FHCollector.cpp
+++ b/src/lib/FHCollector.cpp
@@ -1761,7 +1761,7 @@ void libfreehand::FHCollector::_appendParagraphProperties(librevenge::RVNGProper
if (tabs.empty())
break;
librevenge::RVNGPropertyListVector tabVect;
- for (auto tab : tabs)
+ for (const auto &tab : tabs)
{
librevenge::RVNGPropertyList tabList;
_appendTabProperties(tabList, tab);