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
d13251f2
Kaydet (Commit)
d13251f2
authored
Agu 17, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix DBG_ASSERT post String->OUString conversion
Change-Id: I9ade42e97218449f7fef7d2582fbbe8d1063c2f6
üst
91da1772
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
texteng.cxx
vcl/source/edit/texteng.cxx
+4
-1
No files found.
vcl/source/edit/texteng.cxx
Dosyayı görüntüle @
d13251f2
...
...
@@ -1224,8 +1224,11 @@ sal_uLong TextEngine::CalcTextHeight()
sal_uLong
TextEngine
::
CalcTextWidth
(
sal_uLong
nPara
,
sal_uInt16
nPortionStart
,
sal_uInt16
nLen
,
const
Font
*
pFont
)
{
#ifdef DBG_UTIL
// within the text there must not be a Portion change (attribute/tab)!
DBG_ASSERT
(
mpDoc
->
GetNodes
().
GetObject
(
nPara
)
->
GetText
().
indexOf
(
'\t'
,
nPortionStart
)
>=
(
nPortionStart
+
nLen
),
"CalcTextWidth: Tab!"
);
sal_Int32
nTabPos
=
mpDoc
->
GetNodes
().
GetObject
(
nPara
)
->
GetText
().
indexOf
(
'\t'
,
nPortionStart
);
DBG_ASSERT
(
nTabPos
==
-
1
||
nTabPos
>=
(
nPortionStart
+
nLen
),
"CalcTextWidth: Tab!"
);
#endif
sal_uLong
nWidth
;
if
(
mnFixCharWidth100
)
...
...
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