summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-07-04 19:38:03 -0800
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-07-05 12:46:45 +0200
commitf432d96eb30c91578f11491778a7c3fb823f166a (patch)
tree8c1e177be2d0070dbe9e0ba71cab641e2ffb8f30
parent2113992e740ec5ba58b150acef04c355cb10bdad (diff)
tdf#105225 fix new background tab page in calc format cells dialog
Change-Id: I56cca8d22e98364eb369f3ccf54ca1acb3eb8516 Reviewed-on: https://gerrit.libreoffice.org/56983 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sc/source/ui/view/tabvwsha.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index 90c30f148695..0acd574a396a 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -483,7 +483,7 @@ void ScTabViewShell::ExecuteCellFormatDlg(SfxRequest& rReq, const OString &rName
std::shared_ptr<SfxItemSet> pOldSet(new SfxItemSet(pOldAttrs->GetItemSet()));
std::shared_ptr<SvxNumberInfoItem> pNumberInfoItem;
- pOldSet->MergeRange(XATTR_FILLCOLOR, XATTR_FILLCOLOR);
+ pOldSet->MergeRange(XATTR_FILLSTYLE, XATTR_FILLCOLOR);
sal_uInt16 nWhich = pOldSet->GetPool()->GetWhich( SID_ATTR_BRUSH );
SvxBrushItem aBrushItem(static_cast<const SvxBrushItem&>(pOldSet->Get(nWhich)));