Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b3ee4ba3
Kaydet (Commit)
b3ee4ba3
authored
Şub 25, 2016
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use SearchOptions2
Change-Id: I1eaf001475bacb29d23cb7465a0a19d89afb802b
üst
c20c6972
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
optaboutconfig.cxx
cui/source/options/optaboutconfig.cxx
+3
-2
optaboutconfig.hxx
cui/source/options/optaboutconfig.hxx
+2
-2
No files found.
cui/source/options/optaboutconfig.cxx
Dosyayı görüntüle @
b3ee4ba3
...
...
@@ -27,6 +27,7 @@
#include <com/sun/star/util/XChangesBatch.hpp>
#include <com/sun/star/i18n/TransliterationModules.hpp>
#include <com/sun/star/util/SearchFlags.hpp>
#include <com/sun/star/util/SearchAlgorithms2.hpp>
#include <unotools/textsearch.hxx>
#include <vector>
...
...
@@ -172,7 +173,7 @@ CuiAboutConfigTabPage::CuiAboutConfigTabPage( vcl::Window* pParent/*, const SfxI
aTabs
[
3
]
=
aTabs
[
2
]
+
fWidth
*
20
;
aTabs
[
4
]
=
aTabs
[
3
]
+
fWidth
*
8
;
m_options
.
algorithmType
=
util
::
SearchAlgorithms_
ABSOLUTE
;
m_options
.
AlgorithmType2
=
util
::
SearchAlgorithms2
::
ABSOLUTE
;
m_options
.
transliterateFlags
|=
i18n
::
TransliterationModules_IGNORE_CASE
;
m_options
.
searchFlag
|=
(
util
::
SearchFlags
::
REG_NOT_BEGINOFLINE
|
util
::
SearchFlags
::
REG_NOT_ENDOFLINE
);
...
...
@@ -833,7 +834,7 @@ IMPL_LINK_NOARG_TYPED( CuiAboutConfigTabPage, SearchHdl_Impl, Button*, void)
else
{
m_options
.
searchString
=
m_pSearchEdit
->
GetText
();
utl
::
TextSearch
textSearch
(
utl
::
TextSearch
::
UpgradeToSearchOptions2
(
m_options
)
);
utl
::
TextSearch
textSearch
(
m_options
);
for
(
auto
const
&
it
:
m_prefBoxEntries
)
{
sal_Int32
endPos
,
startPos
=
0
;
...
...
cui/source/options/optaboutconfig.hxx
Dosyayı görüntüle @
b3ee4ba3
...
...
@@ -12,7 +12,7 @@
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/util/SearchOptions.hpp>
#include <com/sun/star/util/SearchOptions
2
.hpp>
#include <sfx2/tabdlg.hxx>
#include <svtools/simptabl.hxx>
...
...
@@ -52,7 +52,7 @@ private:
VclPtr
<
SvSimpleTable
>
m_pPrefBox
;
//for search
css
::
util
::
SearchOptions
m_options
;
css
::
util
::
SearchOptions
2
m_options
;
SvTreeListEntries
m_prefBoxEntries
;
void
AddToModifiedVector
(
const
std
::
shared_ptr
<
Prop_Impl
>&
rProp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment