diff options
Diffstat (limited to 'sw/source/uibase/utlui/content.cxx')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 2ac47cd7efb7..dfaa0b123096 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -3092,9 +3092,9 @@ void SwContentTree::HideTree() } static void lcl_SelectByContentTypeAndName(SwContentTree* pThis, weld::TreeView& rContentTree, - const OUString& rContentTypeName, const OUString& rName) + std::u16string_view rContentTypeName, std::u16string_view rName) { - if (!rName.isEmpty()) + if (!rName.empty()) { // find content type entry std::unique_ptr<weld::TreeIter> xIter(rContentTree.make_iterator()); |