LibreOffice Module fpicker (master) 1
Functions
FilterHelper.mm File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <algorithm>
#include <cstddef>
#include <string_view>
#include <o3tl/string_view.hxx>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
#include "NSString_OOoAdditions.hxx"
#include "NSURL_OOoAdditions.hxx"
#include "FilterHelper.hxx"
Include dependency graph for FilterHelper.mm:

Go to the source code of this file.

Functions

static bool isFilterString (std::u16string_view rFilterString, std::u16string_view pMatch)
 
static OUString shrinkFilterName (const OUString &aFilterName, bool bAllowNoStar=false)
 

Function Documentation

◆ isFilterString()

static bool isFilterString ( std::u16string_view  rFilterString,
std::u16string_view  pMatch 
)
static

Definition at line 76 of file FilterHelper.mm.

References o3tl::getToken(), nIndex, o3tl::starts_with(), and u.

Referenced by shrinkFilterName().

◆ shrinkFilterName()

static OUString shrinkFilterName ( const OUString &  aFilterName,
bool  bAllowNoStar = false 
)
static