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
5ab6a622
Kaydet (Commit)
5ab6a622
authored
Eyl 03, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/svx/dialcontrol.hxx from String to OUString
Change-Id: I6f35595305178ec10b19a9d5f499526d76e2b736
üst
40a210a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dialcontrol.hxx
include/svx/dialcontrol.hxx
+1
-1
dialcontrol.cxx
svx/source/dialog/dialcontrol.cxx
+2
-2
No files found.
include/svx/dialcontrol.hxx
Dosyayı görüntüle @
5ab6a622
...
@@ -43,7 +43,7 @@ public:
...
@@ -43,7 +43,7 @@ public:
void
CopyBackground
(
const
DialControlBmp
&
rSrc
);
void
CopyBackground
(
const
DialControlBmp
&
rSrc
);
void
DrawBackground
(
const
Size
&
rSize
,
bool
bEnabled
);
void
DrawBackground
(
const
Size
&
rSize
,
bool
bEnabled
);
virtual
void
DrawBackground
();
virtual
void
DrawBackground
();
virtual
void
DrawElements
(
const
String
&
rText
,
sal_Int32
nAngle
);
virtual
void
DrawElements
(
const
OU
String
&
rText
,
sal_Int32
nAngle
);
protected
:
protected
:
Rectangle
maRect
;
Rectangle
maRect
;
...
...
svx/source/dialog/dialcontrol.cxx
Dosyayı görüntüle @
5ab6a622
...
@@ -70,7 +70,7 @@ void DialControlBmp::DrawBackground( const Size& rSize, bool bEnabled )
...
@@ -70,7 +70,7 @@ void DialControlBmp::DrawBackground( const Size& rSize, bool bEnabled )
DrawBackground
();
DrawBackground
();
}
}
void
DialControlBmp
::
DrawElements
(
const
String
&
rText
,
sal_Int32
nAngle
)
void
DialControlBmp
::
DrawElements
(
const
OU
String
&
rText
,
sal_Int32
nAngle
)
{
{
double
fAngle
=
nAngle
*
F_PI180
/
100.0
;
double
fAngle
=
nAngle
*
F_PI180
/
100.0
;
double
fSin
=
sin
(
fAngle
);
double
fSin
=
sin
(
fAngle
);
...
@@ -78,7 +78,7 @@ void DialControlBmp::DrawElements( const String& rText, sal_Int32 nAngle )
...
@@ -78,7 +78,7 @@ void DialControlBmp::DrawElements( const String& rText, sal_Int32 nAngle )
double
fWidth
=
GetTextWidth
(
rText
)
/
2.0
;
double
fWidth
=
GetTextWidth
(
rText
)
/
2.0
;
double
fHeight
=
GetTextHeight
()
/
2.0
;
double
fHeight
=
GetTextHeight
()
/
2.0
;
if
(
rText
.
Len
()
>
0
)
if
(
!
rText
.
isEmpty
()
)
{
{
// rotated text
// rotated text
Font
aFont
(
GetFont
()
);
Font
aFont
(
GetFont
()
);
...
...
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