summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r--sfx2/source/sidebar/Deck.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 2267b222d82e..450cfe57fe19 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -138,7 +138,7 @@ void Deck::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter)
rJsonWriter.put("visible", false);
auto childrenNode = rJsonWriter.startArray("children");
- for (auto &it : maPanels)
+ for (const auto &it : maPanels)
{
// collapse the panel itself out
auto xContent = it->GetContents();