| commit | 2428b365355d7ec6a1372c58cff1a4f1b13cb14e | [log] |
|---|---|---|
| author | Stephan Bergmann <sbergman@redhat.com> | Fri Aug 28 12:48:06 2020 +0200 |
| committer | Stephan Bergmann <sbergman@redhat.com> | Sat Aug 29 08:13:54 2020 +0200 |
| tree | 09731fc698b55b06a763781faef946ae3ddcd846 | |
| parent | 8029d316d89a6a4ca612e136697532d0accc22fb [diff] |
Simplify some operation involving OUString and OUStringBuffer Change-Id: I147386464662eb9cad7bcf10cd0d7e6df07cfcf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101577 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 8fcb727..aac2af5 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx
@@ -1595,7 +1595,7 @@ void Output::endItem() { if( mnItemLevel > 0 ) { maLastItem = OUString( maLine.getStr() + mnLastItem ); maLastItem = maLine.copy( mnLastItem ).makeStringAndClear(); if( maLastItem.isEmpty() && mnLastItem > 0 && maLine[ mnLastItem - 1 ] == OOX_DUMP_ITEMSEP ) maLine.setLength( mnLastItem - 1 ); --mnItemLevel;