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
360c1a8e
Kaydet (Commit)
360c1a8e
authored
Eyl 03, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert includes/svx/srchdlg.hxx from String to OUString
Change-Id: I7e2733f3011b3282873f3c80665f1c7297c2845e
üst
ddab2056
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
srchdlg.hxx
include/svx/srchdlg.hxx
+7
-7
srchdlg.cxx
svx/source/dialog/srchdlg.cxx
+16
-16
No files found.
include/svx/srchdlg.hxx
Dosyayı görüntüle @
360c1a8e
...
...
@@ -197,11 +197,11 @@ private:
bool
bReadOnly
;
bool
bConstruct
;
sal_uIntPtr
nModifyFlag
;
String
aStylesStr
;
String
aLayoutStr
;
String
aLayoutWriterStr
;
String
aLayoutCalcStr
;
String
aCalcStr
;
OUString
aStylesStr
;
OUString
aLayoutStr
;
OUString
aLayoutWriterStr
;
OUString
aLayoutCalcStr
;
OUString
aCalcStr
;
std
::
vector
<
OUString
>
aSearchStrings
;
std
::
vector
<
OUString
>
aReplaceStrings
;
...
...
@@ -236,9 +236,9 @@ private:
void
Init_Impl
(
int
bHasItemSet
);
void
InitAttrList_Impl
(
const
SfxItemSet
*
pSSet
,
const
SfxItemSet
*
pRSet
);
void
Remember_Impl
(
const
String
&
rStr
,
sal_Bool
bSearch
);
void
Remember_Impl
(
const
OU
String
&
rStr
,
sal_Bool
bSearch
);
void
PaintAttrText_Impl
();
String
&
BuildAttrText_Impl
(
String
&
rStr
,
sal_Bool
bSrchFlag
)
const
;
OUString
&
BuildAttrText_Impl
(
OU
String
&
rStr
,
sal_Bool
bSrchFlag
)
const
;
void
TemplatesChanged_Impl
(
SfxStyleSheetBasePool
&
rPool
);
void
EnableControls_Impl
(
const
sal_uInt16
nFlags
);
...
...
svx/source/dialog/srchdlg.cxx
Dosyayı görüntüle @
360c1a8e
...
...
@@ -366,7 +366,7 @@ void SvxSearchDialog::Construct_Impl()
EnableControls_Impl
(
0
);
// Store old Text from m_pWordBtn
aCalcStr
+=
sal_Unicode
(
'#'
)
;
aCalcStr
+=
"#"
;
aCalcStr
+=
m_pWordBtn
->
GetText
();
aLayoutStr
=
SVX_RESSTR
(
RID_SVXSTR_SEARCH_STYLES
);
...
...
@@ -798,7 +798,7 @@ void SvxSearchDialog::Init_Impl( int bSearchPattern )
m_pCalcSearchInLB
->
SelectEntryPos
(
SVX_SEARCHIN_NOTE
);
break
;
}
m_pWordBtn
->
SetText
(
aCalcStr
.
G
etToken
(
0
,
'#'
)
);
m_pWordBtn
->
SetText
(
aCalcStr
.
g
etToken
(
0
,
'#'
)
);
if
(
pSearchItem
->
GetRowDirection
()
&&
(
nModifyFlag
&
MODIFY_ROWS
)
==
0
)
...
...
@@ -817,7 +817,7 @@ void SvxSearchDialog::Init_Impl( int bSearchPattern )
}
else
{
m_pWordBtn
->
SetText
(
aCalcStr
.
G
etToken
(
1
,
'#'
)
);
m_pWordBtn
->
SetText
(
aCalcStr
.
g
etToken
(
1
,
'#'
)
);
if
(
pSearchItem
->
GetAppFlag
()
==
SVX_SEARCHAPP_DRAW
)
{
...
...
@@ -1045,7 +1045,7 @@ void SvxSearchDialog::InitAttrList_Impl( const SfxItemSet* pSSet,
}
// See to it that are the texts of the attributes are correct
String
aDesc
;
OU
String
aDesc
;
if
(
pSSet
)
{
...
...
@@ -1061,7 +1061,7 @@ void SvxSearchDialog::InitAttrList_Impl( const SfxItemSet* pSSet,
else
pImpl
->
m_pSearchFormats
->
SetText
(
BuildAttrText_Impl
(
aDesc
,
sal_True
)
);
if
(
aDesc
.
Len
()
)
if
(
!
aDesc
.
isEmpty
()
)
bFormat
|=
sal_True
;
}
}
...
...
@@ -1080,7 +1080,7 @@ void SvxSearchDialog::InitAttrList_Impl( const SfxItemSet* pSSet,
else
pImpl
->
m_pReplaceFormats
->
SetText
(
BuildAttrText_Impl
(
aDesc
,
sal_False
)
);
if
(
aDesc
.
Len
()
)
if
(
!
aDesc
.
isEmpty
()
)
bFormat
|=
sal_True
;
}
}
...
...
@@ -1432,7 +1432,7 @@ IMPL_LINK_NOARG(SvxSearchDialog, TemplateHdl_Impl)
if
(
bFormat
)
return
0
;
String
sDesc
;
OU
String
sDesc
;
if
(
m_pLayoutBtn
->
IsChecked
()
)
{
...
...
@@ -1529,9 +1529,9 @@ IMPL_LINK_NOARG(SvxSearchDialog, TemplateHdl_Impl)
// -----------------------------------------------------------------------
void
SvxSearchDialog
::
Remember_Impl
(
const
String
&
rStr
,
sal_Bool
_bSearch
)
void
SvxSearchDialog
::
Remember_Impl
(
const
OUString
&
rStr
,
sal_Bool
_bSearch
)
{
if
(
!
rStr
.
Len
()
)
if
(
rStr
.
isEmpty
()
)
return
;
std
::
vector
<
OUString
>*
pArr
=
_bSearch
?
&
aSearchStrings
:
&
aReplaceStrings
;
...
...
@@ -2074,11 +2074,11 @@ IMPL_LINK( SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer )
// -----------------------------------------------------------------------
String
&
SvxSearchDialog
::
BuildAttrText_Impl
(
String
&
rStr
,
OUString
&
SvxSearchDialog
::
BuildAttrText_Impl
(
OU
String
&
rStr
,
sal_Bool
bSrchFlag
)
const
{
if
(
rStr
.
Len
()
)
rStr
.
Erase
()
;
if
(
!
rStr
.
isEmpty
()
)
rStr
=
""
;
SfxObjectShell
*
pSh
=
SfxObjectShell
::
Current
();
DBG_ASSERT
(
pSh
,
"no DocShell"
);
...
...
@@ -2117,8 +2117,8 @@ String& SvxSearchDialog::BuildAttrText_Impl( String& rStr,
{
const
SearchAttrItem
&
rItem
=
pList
->
GetObject
(
i
);
if
(
rStr
.
Len
()
)
rStr
.
AppendAscii
(
", "
)
;
if
(
!
rStr
.
isEmpty
()
)
rStr
+=
", "
;
if
(
!
IsInvalidItem
(
rItem
.
pItem
)
)
{
...
...
@@ -2147,10 +2147,10 @@ String& SvxSearchDialog::BuildAttrText_Impl( String& rStr,
void
SvxSearchDialog
::
PaintAttrText_Impl
()
{
String
aDesc
;
OU
String
aDesc
;
BuildAttrText_Impl
(
aDesc
,
bSearch
);
if
(
!
bFormat
&&
aDesc
.
Len
()
)
if
(
!
bFormat
&&
!
aDesc
.
isEmpty
()
)
bFormat
=
sal_True
;
if
(
bSearch
)
...
...
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