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
c0725487
Kaydet (Commit)
c0725487
authored
Ock 19, 2014
tarafından
Tsutomu Uchino
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i56998# add space separator between zoom value and percent on zoom statusbar item
üst
fc6fc5b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
zoomctrl.cxx
svx/source/stbctrls/zoomctrl.cxx
+3
-3
No files found.
svx/source/stbctrls/zoomctrl.cxx
Dosyayı görüntüle @
c0725487
...
@@ -132,7 +132,7 @@ void SvxZoomStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState,
...
@@ -132,7 +132,7 @@ void SvxZoomStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState,
const
SfxUInt16Item
*
pItem
=
(
const
SfxUInt16Item
*
)
pState
;
const
SfxUInt16Item
*
pItem
=
(
const
SfxUInt16Item
*
)
pState
;
nZoom
=
pItem
->
GetValue
();
nZoom
=
pItem
->
GetValue
();
String
aStr
(
String
::
CreateFromInt32
(
nZoom
)
);
String
aStr
(
String
::
CreateFromInt32
(
nZoom
)
);
aStr
+=
'%'
;
aStr
.
AppendAscii
(
" %"
)
;
GetStatusBar
().
SetItemText
(
GetId
(),
aStr
);
GetStatusBar
().
SetItemText
(
GetId
(),
aStr
);
if
(
pState
->
ISA
(
SvxZoomItem
)
)
if
(
pState
->
ISA
(
SvxZoomItem
)
)
...
@@ -168,7 +168,7 @@ void SvxZoomStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState,
...
@@ -168,7 +168,7 @@ void SvxZoomStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState,
void
SvxZoomStatusBarControl
::
Paint
(
const
UserDrawEvent
&
)
void
SvxZoomStatusBarControl
::
Paint
(
const
UserDrawEvent
&
)
{
{
String
aStr
(
String
::
CreateFromInt32
(
nZoom
));
String
aStr
(
String
::
CreateFromInt32
(
nZoom
));
aStr
+=
'%'
;
aStr
.
AppendAscii
(
" %"
)
;
GetStatusBar
().
SetItemText
(
GetId
(),
aStr
);
GetStatusBar
().
SetItemText
(
GetId
(),
aStr
);
}
}
...
@@ -212,7 +212,7 @@ void SvxZoomStatusBarControl::Command( const CommandEvent& rCEvt )
...
@@ -212,7 +212,7 @@ void SvxZoomStatusBarControl::Command( const CommandEvent& rCEvt )
sal_uIntPtr
SvxZoomStatusBarControl
::
GetDefItemWidth
(
const
StatusBar
&
rStb
)
sal_uIntPtr
SvxZoomStatusBarControl
::
GetDefItemWidth
(
const
StatusBar
&
rStb
)
{
{
long
nWidth1
=
rStb
.
GetTextWidth
(
String
::
CreateFromAscii
(
"XXXXX%"
));
long
nWidth1
=
rStb
.
GetTextWidth
(
String
::
CreateFromAscii
(
"XXXXX
%"
));
return
nWidth1
;
return
nWidth1
;
}
}
...
...
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