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
9c6c53db
Kaydet (Commit)
9c6c53db
authored
Eki 07, 2012
tarafından
Ricardo Montania
Kaydeden (comit)
Muthu Subramanian
Eki 09, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
::rtl::OUString to OUString in basctl
Change-Id: If6a53fd69f8a99bafc7fc324911132dd51e67266
üst
d3e08f25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
linenumberwindow.cxx
basctl/source/basicide/linenumberwindow.cxx
+3
-3
localizationmgr.cxx
basctl/source/basicide/localizationmgr.cxx
+0
-0
No files found.
basctl/source/basicide/linenumberwindow.cxx
Dosyayı görüntüle @
9c6c53db
...
...
@@ -41,7 +41,7 @@ LineNumberWindow::LineNumberWindow (Window* pParent, ModulWindow* pModulWindow)
m_nCurYOffset
(
0
)
{
SetBackground
(
Wallpaper
(
GetSettings
().
GetStyleSettings
().
GetFieldColor
()));
m_nBaseWidth
=
GetTextWidth
(
rtl
::
OUString
(
'8'
)
);
m_nBaseWidth
=
GetTextWidth
(
'8'
);
m_nWidth
=
m_nBaseWidth
*
3
+
m_nBaseWidth
/
2
;
}
...
...
@@ -75,7 +75,7 @@ void LineNumberWindow::Paint( const Rectangle& )
// FIXME: it would be best if we could get notified of a font change
// rather than doing that re-calculation at each Paint event
m_nBaseWidth
=
GetTextWidth
(
rtl
::
OUString
(
'8'
));
m_nBaseWidth
=
GetTextWidth
(
OUString
(
'8'
));
// reserve enough for 3 sigit minimum, with a bit to spare for confort
m_nWidth
=
m_nBaseWidth
*
3
+
m_nBaseWidth
/
2
;
...
...
@@ -88,7 +88,7 @@ void LineNumberWindow::Paint( const Rectangle& )
sal_Int64
y
=
(
nStartLine
-
1
)
*
nLineHeight
;
for
(
sal_Int32
n
=
nStartLine
;
n
<=
nEndLine
;
++
n
,
y
+=
nLineHeight
)
DrawText
(
Point
(
0
,
y
-
m_nCurYOffset
),
rtl
::
OUString
::
valueOf
(
n
));
DrawText
(
Point
(
0
,
y
-
m_nCurYOffset
),
OUString
::
valueOf
(
n
));
}
void
LineNumberWindow
::
DataChanged
(
DataChangedEvent
const
&
rDCEvt
)
...
...
basctl/source/basicide/localizationmgr.cxx
Dosyayı görüntüle @
9c6c53db
This diff is collapsed.
Click to expand it.
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