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
4d20c0d5
Kaydet (Commit)
4d20c0d5
authored
Haz 02, 2012
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
targeted string re-work
Change-Id: I73abfa24f5bb7f25afddef820bb4725bf7cee359
üst
343bd286
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
canvasdemo.cxx
canvas/workben/canvasdemo.cxx
+5
-5
No files found.
canvas/workben/canvasdemo.cxx
Dosyayı görüntüle @
4d20c0d5
...
...
@@ -90,7 +90,7 @@ class TestWindow : public Dialog
public
:
TestWindow
()
:
Dialog
(
(
Window
*
)
NULL
)
{
SetText
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Canvas test"
)
)
);
SetText
(
rtl
::
OUString
(
"Canvas test"
)
);
SetSizePixel
(
Size
(
600
,
450
)
);
EnablePaint
(
true
);
Show
();
...
...
@@ -150,8 +150,8 @@ class DemoRenderer
lang
::
Locale
aLocale
;
rendering
::
FontInfo
aFontInfo
;
aFontInfo
.
FamilyName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Swiss"
)
);
aFontInfo
.
StyleName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"SansSerif"
)
);
aFontInfo
.
FamilyName
=
::
rtl
::
OUString
(
"Swiss"
);
aFontInfo
.
StyleName
=
::
rtl
::
OUString
(
"SansSerif"
);
geometry
::
Matrix2D
aFontMatrix
(
1
,
0
,
0
,
1
);
rendering
::
FontRequest
aFontRequest
(
aFontInfo
,
12.0
,
0.0
,
aLocale
);
...
...
@@ -688,8 +688,8 @@ void DemoApp::Main()
// Create UCB.
uno
::
Sequence
<
uno
::
Any
>
aArgs
(
2
);
aArgs
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UCB_CONFIGURATION_KEY1_LOCAL
)
);
aArgs
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UCB_CONFIGURATION_KEY2_OFFICE
)
);
aArgs
[
0
]
<<=
rtl
::
OUString
(
UCB_CONFIGURATION_KEY1_LOCAL
);
aArgs
[
1
]
<<=
rtl
::
OUString
(
UCB_CONFIGURATION_KEY2_OFFICE
);
::
ucbhelper
::
ContentBroker
::
initialize
(
xFactory
,
aArgs
);
InitVCL
(
xFactory
);
...
...
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