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
fd0ede6f
Kaydet (Commit)
fd0ede6f
authored
Haz 04, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
XubString->rtl::OUStringBuffer
Change-Id: I8304092154b74727a67e197a673949e18d6a1ab4
üst
0382959a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
TestPanel.cxx
sd/source/ui/toolpanel/TestPanel.cxx
+7
-9
No files found.
sd/source/ui/toolpanel/TestPanel.cxx
Dosyayı görüntüle @
fd0ede6f
...
...
@@ -118,24 +118,22 @@ TestPanel::TestPanel (::Window& i_rParent)
ListBox
*
pBox
=
new
ListBox
(
pScrollPanel
->
GetWindow
());
for
(
sal_Int32
i
=
1
;
i
<=
20
;
i
++
)
{
XubString
aString
(
XubString
::
CreateFromAscii
(
"Text "
));
aString
.
Append
(
XubString
::
CreateFromInt32
(
i
));
aString
.
Append
(
XubString
::
CreateFromAscii
(
"/20"
));
pBox
->
InsertEntry
(
aString
);
rtl
::
OUStringBuffer
aString
(
"Text "
);
aString
.
append
(
i
).
append
(
"/20"
);
pBox
->
InsertEntry
(
aString
.
makeStringAndClear
());
}
pScrollPanel
->
AddControl
(
::
std
::
auto_ptr
<
TreeNode
>
(
new
Wrapper
(
pScrollPanel
,
Size
(
200
,
300
),
pBox
,
true
)),
String
::
CreateFromAscii
(
"First ListBox"
),
rtl
::
OUString
(
"First ListBox"
),
""
);
pBox
=
new
ListBox
(
pScrollPanel
->
GetWindow
());
for
(
sal_Int32
i
=
1
;
i
<=
20
;
i
++
)
{
XubString
aString
(
XubString
::
CreateFromAscii
(
"More Text "
));
aString
.
Append
(
XubString
::
CreateFromInt32
(
i
));
aString
.
Append
(
XubString
::
CreateFromAscii
(
"/20"
));
pBox
->
InsertEntry
(
aString
);
rtl
::
OUStringBuffer
aString
(
"More Text "
);
aString
.
append
(
i
).
append
(
"/20"
);
pBox
->
InsertEntry
(
aString
.
makeStringAndClear
());
}
pScrollPanel
->
AddControl
(
::
std
::
auto_ptr
<
TreeNode
>
(
new
Wrapper
(
...
...
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