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
721f688b
Kaydet (Commit)
721f688b
authored
Ock 06, 2014
tarafından
Philipp Riemer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove visual noise in sw/source/core/text/wrong.cxx
Change-Id: I8069602fd9d1fe127213bae118fd6ff358703eb3
üst
4b4a870b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
wrong.cxx
sw/source/core/text/wrong.cxx
+0
-28
No files found.
sw/source/core/text/wrong.cxx
Dosyayı görüntüle @
721f688b
...
@@ -22,10 +22,6 @@
...
@@ -22,10 +22,6 @@
#include "SwGrammarMarkUp.hxx"
#include "SwGrammarMarkUp.hxx"
/*************************************************************************
*SwWrongArea::SwWrongArea
*************************************************************************/
SwWrongArea
::
SwWrongArea
(
const
rtl
::
OUString
&
rType
,
WrongListType
listType
,
SwWrongArea
::
SwWrongArea
(
const
rtl
::
OUString
&
rType
,
WrongListType
listType
,
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XStringKeyMap
>
xPropertyBag
,
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XStringKeyMap
>
xPropertyBag
,
sal_Int32
nPos
,
sal_Int32
nPos
,
...
@@ -50,9 +46,6 @@ SwWrongArea::SwWrongArea( const rtl::OUString& rType,
...
@@ -50,9 +46,6 @@ SwWrongArea::SwWrongArea( const rtl::OUString& rType,
}
}
}
}
/*************************************************************************
* SwWrongList::SwWrongList()
*************************************************************************/
SwWrongList
::
SwWrongList
(
WrongListType
eType
)
:
SwWrongList
::
SwWrongList
(
WrongListType
eType
)
:
meType
(
eType
),
meType
(
eType
),
nBeginInvalid
(
STRING_LEN
),
// everything correct... (the invalid area starts beyond the string)
nBeginInvalid
(
STRING_LEN
),
// everything correct... (the invalid area starts beyond the string)
...
@@ -66,10 +59,6 @@ SwWrongList::~SwWrongList()
...
@@ -66,10 +59,6 @@ SwWrongList::~SwWrongList()
ClearList
();
ClearList
();
}
}
/*************************************************************************
* SwWrongList* SwWrongList::Clone()
*************************************************************************/
SwWrongList
*
SwWrongList
::
Clone
()
SwWrongList
*
SwWrongList
::
Clone
()
{
{
SwWrongList
*
pClone
=
new
SwWrongList
(
meType
);
SwWrongList
*
pClone
=
new
SwWrongList
(
meType
);
...
@@ -77,10 +66,6 @@ SwWrongList* SwWrongList::Clone()
...
@@ -77,10 +66,6 @@ SwWrongList* SwWrongList::Clone()
return
pClone
;
return
pClone
;
}
}
/*************************************************************************
* void SwWrongList::CopyFrom( const SwWrongList& rCopy )
*************************************************************************/
void
SwWrongList
::
CopyFrom
(
const
SwWrongList
&
rCopy
)
void
SwWrongList
::
CopyFrom
(
const
SwWrongList
&
rCopy
)
{
{
maList
=
rCopy
.
maList
;
maList
=
rCopy
.
maList
;
...
@@ -94,9 +79,6 @@ void SwWrongList::CopyFrom( const SwWrongList& rCopy )
...
@@ -94,9 +79,6 @@ void SwWrongList::CopyFrom( const SwWrongList& rCopy )
}
}
}
}
/*************************************************************************
* SwWrongList::ClearList()
*************************************************************************/
void
SwWrongList
::
ClearList
()
void
SwWrongList
::
ClearList
()
{
{
for
(
size_t
i
=
0
;
i
<
maList
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
maList
.
size
();
++
i
)
...
@@ -252,10 +234,6 @@ sal_uInt16 SwWrongList::GetWrongPos( sal_Int32 nValue ) const
...
@@ -252,10 +234,6 @@ sal_uInt16 SwWrongList::GetWrongPos( sal_Int32 nValue ) const
return
nUnten
;
return
nUnten
;
}
}
/*************************************************************************
* void SwWrongList::_Invalidate()
*************************************************************************/
void
SwWrongList
::
_Invalidate
(
sal_Int32
nBegin
,
sal_Int32
nEnd
)
void
SwWrongList
::
_Invalidate
(
sal_Int32
nBegin
,
sal_Int32
nEnd
)
{
{
if
(
nBegin
<
GetBeginInv
()
)
if
(
nBegin
<
GetBeginInv
()
)
...
@@ -518,7 +496,6 @@ void SwWrongList::JoinList( SwWrongList* pNext, sal_Int32 nInsertPos )
...
@@ -518,7 +496,6 @@ void SwWrongList::JoinList( SwWrongList* pNext, sal_Int32 nInsertPos )
Invalidate
(
nInsertPos
?
nInsertPos
-
1
:
nInsertPos
,
nInsertPos
+
1
);
Invalidate
(
nInsertPos
?
nInsertPos
-
1
:
nInsertPos
,
nInsertPos
+
1
);
}
}
void
SwWrongList
::
InsertSubList
(
sal_Int32
nNewPos
,
sal_Int32
nNewLen
,
sal_uInt16
nWhere
,
SwWrongList
*
pSubList
)
void
SwWrongList
::
InsertSubList
(
sal_Int32
nNewPos
,
sal_Int32
nNewLen
,
sal_uInt16
nWhere
,
SwWrongList
*
pSubList
)
{
{
if
(
pSubList
)
if
(
pSubList
)
...
@@ -533,7 +510,6 @@ void SwWrongList::InsertSubList( sal_Int32 nNewPos, sal_Int32 nNewLen, sal_uInt1
...
@@ -533,7 +510,6 @@ void SwWrongList::InsertSubList( sal_Int32 nNewPos, sal_Int32 nNewLen, sal_uInt1
maList
.
insert
(
i
,
SwWrongArea
(
OUString
(),
0
,
nNewPos
,
nNewLen
,
pSubList
)
);
maList
.
insert
(
i
,
SwWrongArea
(
OUString
(),
0
,
nNewPos
,
nNewLen
,
pSubList
)
);
}
}
// New functions: Necessary because SwWrongList has been changed to use std::vector
// New functions: Necessary because SwWrongList has been changed to use std::vector
void
SwWrongList
::
Insert
(
sal_uInt16
nWhere
,
std
::
vector
<
SwWrongArea
>::
iterator
startPos
,
std
::
vector
<
SwWrongArea
>::
iterator
endPos
)
void
SwWrongList
::
Insert
(
sal_uInt16
nWhere
,
std
::
vector
<
SwWrongArea
>::
iterator
startPos
,
std
::
vector
<
SwWrongArea
>::
iterator
endPos
)
{
{
...
@@ -647,18 +623,14 @@ void SwWrongList::Insert( const OUString& rType,
...
@@ -647,18 +623,14 @@ void SwWrongList::Insert( const OUString& rType,
// insert at current position
// insert at current position
break
;
break
;
}
}
++
aIter
;
++
aIter
;
}
}
break
;
break
;
}
}
++
aIter
;
++
aIter
;
}
}
maList
.
insert
(
aIter
,
SwWrongArea
(
rType
,
meType
,
xPropertyBag
,
nNewPos
,
nNewLen
)
);
maList
.
insert
(
aIter
,
SwWrongArea
(
rType
,
meType
,
xPropertyBag
,
nNewPos
,
nNewLen
)
);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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