summaryrefslogtreecommitdiff
path: root/test/source/sheet/sheetsortdescriptor2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/sheetsortdescriptor2.cxx')
-rw-r--r--test/source/sheet/sheetsortdescriptor2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/sheetsortdescriptor2.cxx b/test/source/sheet/sheetsortdescriptor2.cxx
index 9f7133f8809a..85ca8706cd4c 100644
--- a/test/source/sheet/sheetsortdescriptor2.cxx
+++ b/test/source/sheet/sheetsortdescriptor2.cxx
@@ -27,13 +27,13 @@ namespace apitest
void SheetSortDescriptor2::testSheetSortDescriptor2Properties()
{
uno::Reference<util::XSortable> xSortable(init(), UNO_QUERY_THROW);
- uno::Sequence<beans::PropertyValue> values = xSortable->createSortDescriptor();
+ const uno::Sequence<beans::PropertyValue> values = xSortable->createSortDescriptor();
std::vector<OUString> names;
// Only test the get/read operation of the values, because set/write operation doesn't
// make any sense. It doesn't trigger any changes.
// See discussion: nabble.documentfoundation.org/Testing-UNO-API-service-properties-td4236286.html.
- for (auto& value : values)
+ for (const auto& value : values)
{
if (value.Name == "BindFormatsToContent")
{