diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-23 12:00:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-23 13:44:26 +0200 |
commit | 25541338ae51435b9c23fe69cfa4219096e2dd50 (patch) | |
tree | 30a61224dbdb23f423572b6e8c4540deb61833fc /sd | |
parent | d613252fd9ecebc90d0ecf6afbfdab18eec4e808 (diff) |
tdf#158556 make SfxGrabBagItem hashable
Change-Id: I0af373e9c5c93a82eb37437ac365677700d45853
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172311
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fupage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx index 3ecbfd2ebe90..a90861d1a7a8 100644 --- a/sd/source/ui/func/fupage.cxx +++ b/sd/source/ui/func/fupage.cxx @@ -257,8 +257,8 @@ void FuPage::ExecuteAsyncDialog(weld::Window* pParent, const SfxRequest& rReq) bool bFullSize = mpPage->IsMasterPage() ? mpPage->IsBackgroundFullSize() : static_cast<SdPage&>(mpPage->TRG_GetMasterPage()).IsBackgroundFullSize(); - SfxGrabBagItem grabBag(SID_ATTR_CHAR_GRABBAG); - grabBag.GetGrabBag()[u"BackgroundFullSize"_ustr] <<= bFullSize; + SfxGrabBagItem grabBag(SID_ATTR_CHAR_GRABBAG, + std::map<OUString, css::uno::Any>{{u"BackgroundFullSize"_ustr, uno::Any(bFullSize)}}); aNewAttr->Put(grabBag); |