diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-10-16 12:06:21 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-10-16 12:12:28 +0200 |
commit | adeefc6295b1cf411b47b9b4213c16effea9d832 (patch) | |
tree | 04eb6620ab4bc1ed72b7c187994c13be30726f52 /cui/source/tabpages/textattr.cxx | |
parent | 20248b82be361279f2b4814280b0371658ca27c0 (diff) |
sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
Diffstat (limited to 'cui/source/tabpages/textattr.cxx')
-rw-r--r-- | cui/source/tabpages/textattr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index 0ebb8ef9dad2..62ebd52393df 100644 --- a/cui/source/tabpages/textattr.cxx +++ b/cui/source/tabpages/textattr.cxx @@ -701,7 +701,7 @@ bool SvxTextAttrPage::IsTextDirectionLeftToRight() const void SvxTextAttrPage::PageCreated(const SfxAllItemSet& aSet) { - SFX_ITEMSET_ARG(&aSet,pViewItem,OfaPtrItem,SID_SVXTEXTATTRPAGE_VIEW); + const OfaPtrItem* pViewItem = aSet.GetItem<OfaPtrItem>(SID_SVXTEXTATTRPAGE_VIEW, false); if (pViewItem) SetView( static_cast<SdrView *>(pViewItem->GetValue())); |