summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/StylesPreviewWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx
index 5a31cf88a276..a90612c0b3c8 100644
--- a/svx/source/tbxctrls/StylesPreviewWindow.cxx
+++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx
@@ -462,7 +462,7 @@ void StylesPreviewWindow_Base::UpdateStylesList()
}
m_xStylesView->clear();
- for (auto& rStyle : m_aAllStyles)
+ for (const auto& rStyle : m_aAllStyles)
{
ScopedVclPtr<VirtualDevice> pImg = VclPtr<VirtualDevice>::Create();
const Size aSize(100, 30);