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
aa5429e1
Kaydet (Commit)
aa5429e1
authored
Eki 12, 2006
tarafından
Oliver Bolte
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS sb59 (1.5.62); FILE MERGED
2006/08/03 13:51:54 cl 1.5.62.1: removed compiler warnings
üst
8366b0f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
paralist.cxx
svx/source/outliner/paralist.cxx
+12
-11
No files found.
svx/source/outliner/paralist.cxx
Dosyayı görüntüle @
aa5429e1
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: paralist.cxx,v $
*
* $Revision: 1.
6
$
* $Revision: 1.
7
$
*
* last change: $Author: obo $ $Date: 2006-
09-17 05:31:56
$
* last change: $Author: obo $ $Date: 2006-
10-12 13:03:24
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -40,7 +40,7 @@
#include <outliner.hxx> // nur wegen Paragraph, muss geaendert werden!
#include <numdef.hxx>
DBG_NAME
(
Paragraph
)
;
DBG_NAME
(
Paragraph
)
Paragraph
::
Paragraph
(
USHORT
nDDepth
)
:
aBulSize
(
-
1
,
-
1
)
...
...
@@ -55,7 +55,8 @@ Paragraph::Paragraph( USHORT nDDepth )
}
Paragraph
::
Paragraph
(
const
Paragraph
&
rPara
)
:
aBulSize
(
rPara
.
aBulSize
),
aBulText
(
rPara
.
aBulText
)
:
aBulText
(
rPara
.
aBulText
)
,
aBulSize
(
rPara
.
aBulSize
)
{
DBG_CTOR
(
Paragraph
,
0
);
...
...
@@ -82,13 +83,13 @@ void ParagraphList::Clear( BOOL bDestroyParagraphs )
List
::
Clear
();
}
void
ParagraphList
::
MoveParagraphs
(
ULONG
nStart
,
ULONG
nDest
,
ULONG
nCount
)
void
ParagraphList
::
MoveParagraphs
(
ULONG
nStart
,
ULONG
nDest
,
ULONG
_
nCount
)
{
if
(
(
nDest
<
nStart
)
||
(
nDest
>=
(
nStart
+
nCount
)
)
)
if
(
(
nDest
<
nStart
)
||
(
nDest
>=
(
nStart
+
_
nCount
)
)
)
{
ULONG
n
;
ParagraphList
aParas
;
for
(
n
=
0
;
n
<
nCount
;
n
++
)
for
(
n
=
0
;
n
<
_
nCount
;
n
++
)
{
Paragraph
*
pPara
=
GetParagraph
(
nStart
);
aParas
.
Insert
(
pPara
,
LIST_APPEND
);
...
...
@@ -96,9 +97,9 @@ void ParagraphList::MoveParagraphs( ULONG nStart, ULONG nDest, ULONG nCount )
}
if
(
nDest
>
nStart
)
nDest
-=
nCount
;
nDest
-=
_
nCount
;
for
(
n
=
0
;
n
<
nCount
;
n
++
)
for
(
n
=
0
;
n
<
_
nCount
;
n
++
)
{
Paragraph
*
pPara
=
aParas
.
GetParagraph
(
n
);
Insert
(
pPara
,
nDest
++
);
...
...
@@ -228,8 +229,8 @@ ULONG ParagraphList::GetVisPos( Paragraph* pPara )
ULONG
nPos
=
GetAbsPos
(
pPara
);
for
(
ULONG
n
=
0
;
n
<
nPos
;
n
++
)
{
Paragraph
*
pPara
=
GetParagraph
(
n
);
if
(
pPara
->
IsVisible
()
)
Paragraph
*
_
pPara
=
GetParagraph
(
n
);
if
(
_
pPara
->
IsVisible
()
)
nVisPos
++
;
}
return
nVisPos
;
...
...
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