summaryrefslogtreecommitdiff
path: root/libreofficekit/source
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit/source')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 96e2c12b17ba..9ece7eb4192e 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -848,7 +848,7 @@ static std::string getAuthorRenderingArgument(LOKDocViewPrivate& priv)
boost::property_tree::ptree aTree;
boost::property_tree::read_json(aStream, aTree);
std::string aRet;
- for (const std::pair<std::string, boost::property_tree::ptree>& rPair : aTree)
+ for (const auto& rPair : aTree)
{
if (rPair.first == ".uno:Author")
{