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
15b3fbf9
Kaydet (Commit)
15b3fbf9
authored
Eyl 18, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sd/.../dlgass.hxx from String to OUString
Change-Id: I1602e3c5bcab59d27c96a2698185b913f5ce69a7
üst
ab0806e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
dlgass.cxx
sd/source/ui/dlg/dlgass.cxx
+4
-4
TemplateScanner.hxx
sd/source/ui/inc/TemplateScanner.hxx
+6
-6
No files found.
sd/source/ui/dlg/dlgass.cxx
Dosyayı görüntüle @
15b3fbf9
...
...
@@ -887,7 +887,7 @@ void AssistentDlgImpl::TemplateScanDone (
{
TemplateEntry
*
pEntry
=
pDir
->
maEntries
.
front
();
if
(
pEntry
!=
NULL
)
if
(
pEntry
->
msPath
.
SearchAscii
(
"presnt"
)
!=
STRING_NOTFOUND
)
if
(
pEntry
->
msPath
.
indexOf
(
"presnt"
)
!=
-
1
)
nFirstEntry
=
i
;
}
...
...
@@ -912,7 +912,7 @@ void AssistentDlgImpl::TemplateScanDone (
{
TemplateEntry
*
pEntry
=
pDir
->
maEntries
.
front
();
if
(
pEntry
!=
NULL
)
if
(
pEntry
->
msPath
.
SearchAscii
(
"layout"
)
!=
STRING_NOTFOUND
)
if
(
pEntry
->
msPath
.
indexOf
(
"layout"
)
!=
-
1
)
nFirstEntry
=
i
;
}
...
...
@@ -1361,7 +1361,7 @@ void AssistentDlgImpl::SelectTemplateRegion( const OUString& rRegion )
{
TemplateDir
*
pDir
=
*
I
;
mpTemplateRegion
=
*
I
;
if
(
pDir
->
msRegion
.
Equals
(
rRegion
)
)
if
(
pDir
->
msRegion
==
rRegion
)
{
std
::
vector
<
TemplateEntry
*>::
iterator
J
;
for
(
J
=
pDir
->
maEntries
.
begin
();
J
!=
pDir
->
maEntries
.
end
();
++
J
)
...
...
@@ -1387,7 +1387,7 @@ void AssistentDlgImpl::SelectLayoutRegion( const OUString& rRegion )
TemplateDir
*
pDir
=
*
I
;
mpLayoutRegion
=
*
I
;
if
(
pDir
->
msRegion
.
Equals
(
rRegion
)
)
if
(
pDir
->
msRegion
==
rRegion
)
{
std
::
vector
<
TemplateEntry
*>::
iterator
J
;
for
(
J
=
pDir
->
maEntries
.
begin
();
J
!=
pDir
->
maEntries
.
end
();
++
J
)
...
...
sd/source/ui/inc/TemplateScanner.hxx
Dosyayı görüntüle @
15b3fbf9
...
...
@@ -50,11 +50,11 @@ namespace sd {
class
TemplateEntry
{
public
:
TemplateEntry
(
const
String
&
rsTitle
,
const
String
&
rsPath
)
TemplateEntry
(
const
OUString
&
rsTitle
,
const
OU
String
&
rsPath
)
:
msTitle
(
rsTitle
),
msPath
(
rsPath
)
{}
String
msTitle
;
String
msPath
;
OU
String
msTitle
;
OU
String
msPath
;
};
...
...
@@ -80,12 +80,12 @@ private:
class
TemplateDir
{
public
:
TemplateDir
(
const
String
&
rsRegion
,
const
String
&
rsUrl
)
TemplateDir
(
const
OUString
&
rsRegion
,
const
OU
String
&
rsUrl
)
:
msRegion
(
rsRegion
),
msUrl
(
rsUrl
),
maEntries
(),
mbSortingEnabled
(
false
),
mpEntryCompare
(
NULL
)
{}
String
msRegion
;
String
msUrl
;
OU
String
msRegion
;
OU
String
msUrl
;
::
std
::
vector
<
TemplateEntry
*>
maEntries
;
void
EnableSorting
(
bool
bSortingEnabled
=
true
);
...
...
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