Files
odfstudio/stoc/source
Stephan Bergmann 787d22487b Use std::swap
...to avoid a false libc++ -Werror,-Wunused-but-set-variable as seen with
LLVM 24 trunk libc++ since
<https://github.com/llvm/llvm-project/commit/97f332f8d1274f74e02b2445a7c7317a4b458cb2>
"[libc++] Diagnose variables of container types" (see
<https://github.com/llvm/llvm-project/issues/215545> "Over-eager
-Wunused-but-set-variable for libc++ containers used only for side effect")

Signed-off-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Change-Id: I9996e63600a6711991b1c71c36af234bf4388d08
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/8989
Reviewed-by: Michael Stahl <michael.stahl@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit ccbbd16488a00cf618b834395528b40a67c48252)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210497
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2026-09-04 19:46:42 +02:00
..
2026-09-04 19:46:42 +02:00