summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-28 15:49:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-29 13:13:44 +0200
commit583c3fcea50b69ca9d3cd866050c9e722a8f780b (patch)
tree81fae7fe097d01d6b74435c56e57be9ad2a0d02c /svx/source
parenta12633a9982d34eb8f0b714d5f25cff3040f33ab (diff)
use more TypedWhichId
Change-Id: If7b4320e199a01f2614e3bf582e5d96fade22aa2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152353 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/srchdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 4805bbd8159e..b1c5c8477955 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -168,7 +168,7 @@ static void ListToStrArr_Impl(sal_uInt16 nId, std::vector<OUString>& rStrLst, we
}
}
-static void StrArrToList_Impl( sal_uInt16 nId, const std::vector<OUString>& rStrLst )
+static void StrArrToList_Impl( TypedWhichId<SfxStringListItem> nId, const std::vector<OUString>& rStrLst )
{
DBG_ASSERT( !rStrLst.empty(), "check in advance");
SfxGetpApp()->PutItem( SfxStringListItem( nId, &rStrLst ) );