summaryrefslogtreecommitdiff
path: root/sw/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 /sw/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 'sw/source')
-rw-r--r--sw/source/uibase/app/docsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index 415c30d4d296..9e606f0b4095 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -739,7 +739,7 @@ void SwDocShell::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;
case FN_ABSTRACT_STARIMPRESS: