Home
last modified time | relevance | path

Searched refs:FilterExt (Results 1 – 2 of 2) sorted by relevance

/aoo4110/main/fpicker/source/win32/filepicker/
H A DWinFileOpenImpl.cxx965 rtl::OUString FilterExt; in SetDefaultExtension() local
966 m_filterContainer->getFilter(currentFilter, FilterExt); in SetDefaultExtension()
968 sal_Int32 posOfPoint = FilterExt.indexOf(L'.'); in SetDefaultExtension()
969 const sal_Unicode* pFirstExtStart = FilterExt.getStr() + posOfPoint + 1; in SetDefaultExtension()
971 sal_Int32 posOfSemiColon = FilterExt.indexOf(L';') - 1; in SetDefaultExtension()
973 posOfSemiColon = FilterExt.getLength() - 1; in SetDefaultExtension()
975 FilterExt = rtl::OUString(pFirstExtStart, posOfSemiColon - posOfPoint); in SetDefaultExtension()
977 …SendMessage(m_hwndFileOpenDlg, CDM_SETDEFEXT, 0, reinterpret_cast<LPARAM>(FilterExt.getStr())); … in SetDefaultExtension()
H A DVistaFilePickerImpl.cxx1198 rtl::OUString FilterExt; in impl_SetDefaultExtension() local
1199 m_lFilters.getFilter(currentFilter, FilterExt); in impl_SetDefaultExtension()
1201 sal_Int32 posOfPoint = FilterExt.indexOf(L'.'); in impl_SetDefaultExtension()
1202 const sal_Unicode* pFirstExtStart = FilterExt.getStr() + posOfPoint + 1; in impl_SetDefaultExtension()
1204 sal_Int32 posOfSemiColon = FilterExt.indexOf(L';') - 1; in impl_SetDefaultExtension()
1206 posOfSemiColon = FilterExt.getLength() - 1; in impl_SetDefaultExtension()
1208 FilterExt = rtl::OUString(pFirstExtStart, posOfSemiColon - posOfPoint); in impl_SetDefaultExtension()
1209 iDialog->SetDefaultExtension ( reinterpret_cast<LPCTSTR>(FilterExt.getStr()) ); in impl_SetDefaultExtension()

Completed in 45 milliseconds