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
a9c5c89f
Kaydet (Commit)
a9c5c89f
authored
Eyl 03, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/svx/pszctrl.hxx from String to OUString
Change-Id: I9ed9781b3beb16b680206dcfcb8eb63b7f31ecb7
üst
0a76e567
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
pszctrl.hxx
include/svx/pszctrl.hxx
+1
-1
pszctrl.cxx
svx/source/stbctrls/pszctrl.cxx
+5
-5
No files found.
include/svx/pszctrl.hxx
Dosyayı görüntüle @
a9c5c89f
...
...
@@ -33,7 +33,7 @@ class SVX_DLLPUBLIC SvxPosSizeStatusBarControl : public SfxStatusBarControl
{
private
:
SvxPosSizeStatusBarControl_Impl
*
pImp
;
SVX_DLLPRIVATE
String
GetMetricStr_Impl
(
long
nVal
);
SVX_DLLPRIVATE
OU
String
GetMetricStr_Impl
(
long
nVal
);
public
:
SFX_DECL_STATUSBAR_CONTROL
();
...
...
svx/source/stbctrls/pszctrl.cxx
Dosyayı görüntüle @
a9c5c89f
...
...
@@ -59,29 +59,29 @@
<SvxPosSizeStatusBarControl::Paint(const UserDrawEvent&)>
*/
String
SvxPosSizeStatusBarControl
::
GetMetricStr_Impl
(
long
nVal
)
OU
String
SvxPosSizeStatusBarControl
::
GetMetricStr_Impl
(
long
nVal
)
{
// deliver and set the Metric of the application
FieldUnit
eOutUnit
=
SfxModule
::
GetModuleFieldUnit
(
getFrameInterface
()
);
FieldUnit
eInUnit
=
FUNIT_100TH_MM
;
String
sMetric
;
OU
String
sMetric
;
const
sal_Unicode
cSep
=
Application
::
GetSettings
().
GetLocaleDataWrapper
().
getNumDecimalSep
()[
0
];
sal_Int64
nConvVal
=
MetricField
::
ConvertValue
(
nVal
*
100
,
0L
,
0
,
eInUnit
,
eOutUnit
);
if
(
nConvVal
<
0
&&
(
nConvVal
/
100
==
0
)
)
sMetric
+=
'-'
;
sMetric
+=
"-"
;
sMetric
+=
OUString
::
number
(
nConvVal
/
100
);
if
(
FUNIT_NONE
!=
eOutUnit
)
{
sMetric
+=
cSep
;
sMetric
+=
OUString
(
cSep
)
;
sal_Int64
nFract
=
nConvVal
%
100
;
if
(
nFract
<
0
)
nFract
*=
-
1
;
if
(
nFract
<
10
)
sMetric
+=
'0'
;
sMetric
+=
"0"
;
sMetric
+=
OUString
::
number
(
nFract
);
}
...
...
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