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
4fd8c28f
Kaydet (Commit)
4fd8c28f
authored
Ock 24, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove NIE directive. 'Nie' means 'never' in German.
üst
ddbf08e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
77 deletions
+0
-77
txtdrop.cxx
sw/source/core/text/txtdrop.cxx
+0
-11
ndhints.cxx
sw/source/core/txtnode/ndhints.cxx
+0
-66
No files found.
sw/source/core/text/txtdrop.cxx
Dosyayı görüntüle @
4fd8c28f
...
...
@@ -687,17 +687,6 @@ void SwTxtPainter::PaintDropPortion()
}
Point
aLineOrigin
(
GetTopLeft
()
);
#ifdef NIE
// Retusche nachholen...
if
(
nX
)
{
const
Point
aPoint
(
Left
(),
Y
()
);
const
Size
aSize
(
nX
-
1
,
GetDropHeight
()
+
GetDropDescent
()
);
SwRect
aRetouche
(
aPoint
,
aSize
);
GetInfo
().
DrawRect
(
aRetouche
);
}
#endif
aLineOrigin
.
X
()
+=
nX
;
KSHORT
nTmpAscent
,
nTmpHeight
;
CalcAscentAndHeight
(
nTmpAscent
,
nTmpHeight
);
...
...
sw/source/core/txtnode/ndhints.cxx
Dosyayı görüntüle @
4fd8c28f
...
...
@@ -29,8 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
#include "txatbase.hxx"
#include "ndhints.hxx"
#include <txtatr.hxx>
...
...
@@ -43,40 +41,7 @@
_SV_IMPL_SORTAR_ALG
(
SwpHtStart
,
SwTxtAttr
*
)
_SV_IMPL_SORTAR_ALG
(
SwpHtEnd
,
SwTxtAttr
*
)
#ifdef NIE
void
DumpHints
(
const
SwpHtStart
&
rHtStart
,
const
SwpHtEnd
&
rHtEnd
)
{
#if OSL_DEBUG_LEVEL > 1
aDbstream
<<
"DumpHints:"
<<
endl
;
(
aDbstream
<<
"
\t
Starts:"
).
WriteNumber
(
rHtStart
.
Count
())
<<
endl
;
for
(
USHORT
i
=
0
;
i
<
rHtStart
.
Count
();
++
i
)
{
const
SwTxtAttr
*
pHt
=
rHtStart
[
i
];
((((
aDbstream
<<
'\t'
).
WriteNumber
(
i
)
<<
" ["
).
WriteNumber
(
pHt
->
Which
()
)
<<
']'
<<
'\t'
).
WriteNumber
(
long
(
pHt
)
)
<<
'\t'
).
WriteNumber
(
*
pHt
->
GetStart
()
);
if
(
pHt
->
GetEnd
()
)
(
aDbstream
<<
" -> "
).
WriteNumber
(
*
pHt
->
GetEnd
()
);
aDbstream
<<
endl
;
}
(
aDbstream
<<
"
\t
Ends:"
).
WriteNumber
(
rHtEnd
.
Count
()
)
<<
endl
;
for
(
i
=
0
;
i
<
rHtEnd
.
Count
();
++
i
)
{
const
SwTxtAttr
*
pHt
=
rHtEnd
[
i
];
(((
aDbstream
<<
'\t'
).
WriteNumber
(
i
)
<<
" ["
).
WriteNumber
(
pHt
->
Which
()
)
<<
']'
<<
'\t'
).
WriteNumber
(
long
(
pHt
)
);
if
(
pHt
->
GetEnd
()
)
(
aDbstream
<<
'\t'
).
WriteNumber
(
*
pHt
->
GetEnd
()
)
<<
" <- "
;
aDbstream
.
WriteNumber
(
*
pHt
->
GetStart
()
)
<<
endl
;
}
aDbstream
<<
endl
;
#endif
}
#else
inline
void
DumpHints
(
const
SwpHtStart
&
,
const
SwpHtEnd
&
)
{
}
#endif
/*************************************************************************
* inline IsEqual()
...
...
@@ -254,12 +219,6 @@ void SwpHintsArray::Insert( const SwTxtAttr *pHt )
#endif
m_HintStarts
.
Insert
(
pHt
);
m_HintEnds
.
Insert
(
pHt
);
#if OSL_DEBUG_LEVEL > 1
#ifdef NIE
(
aDbstream
<<
"Insert: "
).
WriteNumber
(
long
(
pHt
)
)
<<
endl
;
DumpHints
(
m_HintStarts
,
m_HintEnds
);
#endif
#endif
}
void
SwpHintsArray
::
DeleteAtPos
(
const
USHORT
nPos
)
...
...
@@ -273,12 +232,6 @@ void SwpHintsArray::DeleteAtPos( const USHORT nPos )
USHORT
nEndPos
;
m_HintEnds
.
Seek_Entry
(
pHt
,
&
nEndPos
);
m_HintEnds
.
Remove
(
nEndPos
);
#if OSL_DEBUG_LEVEL > 1
#ifdef NIE
(
aDbstream
<<
"DeleteAtPos: "
).
WriteNumber
(
long
(
pHt
)
)
<<
endl
;
DumpHints
(
m_HintStarts
,
m_HintEnds
);
#endif
#endif
}
#if OSL_DEBUG_LEVEL > 1
...
...
@@ -446,13 +399,6 @@ bool SwpHintsArray::Resort()
const
SwTxtAttr
*
pHt
=
m_HintStarts
[
i
];
if
(
pLast
&&
!
lcl_IsLessStart
(
*
pLast
,
*
pHt
)
)
{
#ifdef NIE
#if OSL_DEBUG_LEVEL > 1
// OSL_ENSURE( bResort, "!Resort/Start: correcting hints-array" );
aDbstream
<<
"Resort: Starts"
<<
endl
;
DumpHints
(
m_HintStarts
,
m_HintEnds
);
#endif
#endif
m_HintStarts
.
Remove
(
i
);
m_HintStarts
.
Insert
(
pHt
);
pHt
=
m_HintStarts
[
i
];
...
...
@@ -469,12 +415,6 @@ bool SwpHintsArray::Resort()
const
SwTxtAttr
*
pHt
=
m_HintEnds
[
i
];
if
(
pLast
&&
!
lcl_IsLessEnd
(
*
pLast
,
*
pHt
)
)
{
#ifdef NIE
#if OSL_DEBUG_LEVEL > 1
aDbstream
<<
"Resort: Ends"
<<
endl
;
DumpHints
(
m_HintStarts
,
m_HintEnds
);
#endif
#endif
m_HintEnds
.
Remove
(
i
);
m_HintEnds
.
Insert
(
pHt
);
pHt
=
m_HintEnds
[
i
];
// normalerweise == pLast
...
...
@@ -486,12 +426,6 @@ bool SwpHintsArray::Resort()
}
pLast
=
pHt
;
}
#if OSL_DEBUG_LEVEL > 1
#ifdef NIE
aDbstream
<<
"Resorted:"
<<
endl
;
DumpHints
(
m_HintStarts
,
m_HintEnds
);
#endif
#endif
return
bResort
;
}
...
...
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