summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-02-01 14:35:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-02 07:46:43 +0100
commit13d6bfa5bb017ad2b107c9db982369ea050ccbdf (patch)
tree4eed6571e68c79f5b49426bfd9f6569de4fe4e3c /sd/source
parenta3c78bbee81a82bb50ed2b92944d9946348f73ad (diff)
convert OfaRefItem to a normal class
only instantiated with one type, so just turn it into a normal class Change-Id: If3ae908f3e226ae9f4d3b81a7a7d9ba492ccda4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129283 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/docshell/docshel3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index 1a9e70833d5f..be045818a67a 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -245,7 +245,7 @@ void DrawDocShell::Execute( SfxRequest& rReq )
{
const SvxColorListItem* pColItem = GetItem( SID_COLOR_TABLE );
const XColorListRef& pList = pColItem->GetColorList();
- rReq.SetReturnValue( OfaRefItem<XColorList>( SID_GET_COLORLIST, pList ) );
+ rReq.SetReturnValue( OfaXColorListItem( SID_GET_COLORLIST, pList ) );
}
break;