diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-09 15:52:14 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-10 09:16:53 +0100 |
commit | e3560f4770487c8d38463fb4a9a63325abc385f9 (patch) | |
tree | cc2ea6d5d18de966e4677ebfd846c1bf5ec5c216 /sw/source/filter/ww8/wrtww8.cxx | |
parent | 77e3cb338f576757fd875bc60952ac22530f6a7a (diff) |
Replace deprecated boost::optional::reset(val) with operator =
Change-Id: I7340a561e0df0c781fd834388deb4b9f83800f9b
Reviewed-on: https://gerrit.libreoffice.org/63221
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 29fb4b385d5e..cd4fd16f8534 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -1534,7 +1534,7 @@ boost::optional<SvxBrushItem> MSWordExportBase::getBackground() { // The 'color' is set for the first page style - take it and use it as the background color of the entire DOCX if (aBrush.GetColor() != COL_AUTO) - oRet.reset(aBrush); + oRet = aBrush; } return oRet; } |