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
a434c523
Kaydet (Commit)
a434c523
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove EDITDEBUG
üst
e19c00ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
textdoc.cxx
svtools/source/edit/textdoc.cxx
+0
-16
texteng.cxx
svtools/source/edit/texteng.cxx
+0
-14
No files found.
svtools/source/edit/textdoc.cxx
Dosyayı görüntüle @
a434c523
...
...
@@ -307,10 +307,6 @@ void TextNode::ExpandAttribs( sal_uInt16 nIndex, sal_uInt16 nNew )
if
(
bResort
)
maCharAttribs
.
ResortAttribs
();
#ifdef EDITDEBUG
DBG_ASSERT
(
CheckOrderedList
(
(
TextCharAttribs
*
)
&
maCharAttribs
),
"Expand: Start-Liste verdreht"
);
#endif
}
void
TextNode
::
CollapsAttribs
(
sal_uInt16
nIndex
,
sal_uInt16
nDeleted
)
...
...
@@ -374,10 +370,6 @@ void TextNode::CollapsAttribs( sal_uInt16 nIndex, sal_uInt16 nDeleted )
if
(
bResort
)
maCharAttribs
.
ResortAttribs
();
#ifdef EDITDEBUG
DBG_ASSERT
(
CheckOrderedList
(
(
TextCharAttribs
)
&
maCharAttribs
),
"Collaps: Start-Liste verdreht"
);
#endif
}
void
TextNode
::
InsertText
(
sal_uInt16
nPos
,
const
String
&
rText
)
...
...
@@ -460,10 +452,6 @@ void TextNode::Append( const TextNode& rNode )
maText
+=
rNode
.
GetText
();
#ifdef EDITDEBUG
DBG_ASSERT
(
maCharAttribs
.
DbgCheckAttribs
(),
"Attribute VOR AppendAttribs kaputt"
);
#endif
const
sal_uInt16
nAttribs
=
rNode
.
GetCharAttribs
().
Count
();
for
(
sal_uInt16
nAttr
=
0
;
nAttr
<
nAttribs
;
nAttr
++
)
{
...
...
@@ -499,10 +487,6 @@ void TextNode::Append( const TextNode& rNode )
maCharAttribs
.
InsertAttrib
(
pNewAttrib
);
}
}
#ifdef EDITDEBUG
DBG_ASSERT
(
maCharAttribs
.
DbgCheckAttribs
(),
"Attribute NACH AppendAttribs kaputt"
);
#endif
}
// -------------------------------------------------------------------------
...
...
svtools/source/edit/texteng.cxx
Dosyayı görüntüle @
a434c523
...
...
@@ -1953,9 +1953,6 @@ void TextEngine::CreateTextPortions( sal_uLong nPara, sal_uInt16 nStartPos )
}
DBG_ASSERT
(
pTEParaPortion
->
GetTextPortions
().
Count
(),
"Keine Portions?!"
);
#ifdef EDITDEBUG
DBG_ASSERT
(
pTEParaPortion
->
DbgCheckTextPortions
(),
"Portions kaputt?"
);
#endif
}
void
TextEngine
::
RecalcTextPortion
(
sal_uLong
nPara
,
sal_uInt16
nStartPos
,
short
nNewChars
)
...
...
@@ -2048,10 +2045,6 @@ void TextEngine::RecalcTextPortion( sal_uLong nPara, sal_uInt16 nStartPos, short
}
DBG_ASSERT
(
pTEParaPortion
->
GetTextPortions
().
Count
(),
"RecalcTextPortions: Keine mehr da!"
);
}
#ifdef EDITDEBUG
DBG_ASSERT
(
pTEParaPortion
->
DbgCheckTextPortions
(),
"Portions kaputt?"
);
#endif
}
void
TextEngine
::
ImpPaint
(
OutputDevice
*
pOutDev
,
const
Point
&
rStartPos
,
Rectangle
const
*
pPaintArea
,
TextSelection
const
*
pPaintRange
,
TextSelection
const
*
pSelection
)
...
...
@@ -2242,13 +2235,6 @@ void TextEngine::ImpPaint( OutputDevice* pOutDev, const Point& rStartPos, Rectan
pOutDev
->
Erase
(
aTabArea
);
}
}
#ifdef EDITDEBUG
Rectangle
aTabArea
(
aTmpPos
,
Point
(
aTmpPos
.
X
()
+
nTxtWidth
,
aTmpPos
.
Y
()
+
mnCharHeight
-
1
)
);
Color
aOldColor
=
pOutDev
->
GetFillColor
();
pOutDev
->
SetFillColor
(
(
y
%
2
)
?
COL_RED
:
COL_GREEN
);
pOutDev
->
DrawRect
(
aTabArea
);
pOutDev
->
SetFillColor
(
aOldColor
);
#endif
}
break
;
default
:
OSL_FAIL
(
"ImpPaint: Unknown Portion-Type !"
);
...
...
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