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
2ed1c696
Kaydet (Commit)
2ed1c696
authored
May 12, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: remove unused pFirstPaM variable in SwXText::convertToTable()
Change-Id: Ic7ddd39334c318ff2b966fe1ff04fb62aa3eed4b
üst
c74631a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
unotext.cxx
sw/source/core/unocore/unotext.cxx
+1
-9
No files found.
sw/source/core/unocore/unotext.cxx
Dosyayı görüntüle @
2ed1c696
...
@@ -112,7 +112,6 @@ public:
...
@@ -112,7 +112,6 @@ public:
void
ConvertCell
(
void
ConvertCell
(
const
uno
::
Sequence
<
uno
::
Reference
<
text
::
XTextRange
>
>
&
rCell
,
const
uno
::
Sequence
<
uno
::
Reference
<
text
::
XTextRange
>
>
&
rCell
,
::
std
::
vector
<
SwNodeRange
>
&
rRowNodes
,
::
std
::
vector
<
SwNodeRange
>
&
rRowNodes
,
::
std
::
unique_ptr
<
SwPaM
>
&
rpFirstPaM
,
SwNodeRange
*
const
pLastCell
,
SwNodeRange
*
const
pLastCell
,
bool
&
rbExcept
);
bool
&
rbExcept
);
...
@@ -1817,7 +1816,6 @@ static bool lcl_SimilarPosition( const sal_Int32 nPos1, const sal_Int32 nPos2 )
...
@@ -1817,7 +1816,6 @@ static bool lcl_SimilarPosition( const sal_Int32 nPos1, const sal_Int32 nPos2 )
void
SwXText
::
Impl
::
ConvertCell
(
void
SwXText
::
Impl
::
ConvertCell
(
const
uno
::
Sequence
<
uno
::
Reference
<
text
::
XTextRange
>
>
&
rCell
,
const
uno
::
Sequence
<
uno
::
Reference
<
text
::
XTextRange
>
>
&
rCell
,
::
std
::
vector
<
SwNodeRange
>
&
rRowNodes
,
::
std
::
vector
<
SwNodeRange
>
&
rRowNodes
,
::
std
::
unique_ptr
<
SwPaM
>
&
rpFirstPaM
,
SwNodeRange
*
const
pLastCell
,
SwNodeRange
*
const
pLastCell
,
bool
&
rbExcept
)
bool
&
rbExcept
)
{
{
...
@@ -1978,11 +1976,6 @@ void SwXText::Impl::ConvertCell(
...
@@ -1978,11 +1976,6 @@ void SwXText::Impl::ConvertCell(
SwNodeRange
aCellRange
(
aStartCellPam
.
Start
()
->
nNode
,
SwNodeRange
aCellRange
(
aStartCellPam
.
Start
()
->
nNode
,
aEndCellPam
.
End
()
->
nNode
);
aEndCellPam
.
End
()
->
nNode
);
rRowNodes
.
push_back
(
aCellRange
);
// note: invalidates pLastCell!
rRowNodes
.
push_back
(
aCellRange
);
// note: invalidates pLastCell!
if
(
!
pLastCell
)
{
assert
(
!
rpFirstPaM
);
rpFirstPaM
.
reset
(
new
SwPaM
(
*
aStartCellPam
.
Start
()));
}
}
}
typedef
uno
::
Sequence
<
text
::
TableColumnSeparator
>
TableColumnSeparators
;
typedef
uno
::
Sequence
<
text
::
TableColumnSeparator
>
TableColumnSeparators
;
...
@@ -2232,7 +2225,6 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
...
@@ -2232,7 +2225,6 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
//at first collect the text ranges as SwPaMs
//at first collect the text ranges as SwPaMs
const
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Reference
<
text
::
XTextRange
>
>
>*
const
uno
::
Sequence
<
uno
::
Sequence
<
uno
::
Reference
<
text
::
XTextRange
>
>
>*
pTableRanges
=
rTableRanges
.
getConstArray
();
pTableRanges
=
rTableRanges
.
getConstArray
();
std
::
unique_ptr
<
SwPaM
>
pFirstPaM
;
std
::
vector
<
std
::
vector
<
SwNodeRange
>
>
aTableNodes
;
std
::
vector
<
std
::
vector
<
SwNodeRange
>
>
aTableNodes
;
bool
bExcept
=
false
;
bool
bExcept
=
false
;
for
(
sal_Int32
nRow
=
0
;
!
bExcept
&&
(
nRow
<
rTableRanges
.
getLength
());
for
(
sal_Int32
nRow
=
0
;
!
bExcept
&&
(
nRow
<
rTableRanges
.
getLength
());
...
@@ -2250,7 +2242,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
...
@@ -2250,7 +2242,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
?
((
nRow
==
0
)
?
nullptr
:
&*
aTableNodes
.
rbegin
()
->
rbegin
())
?
((
nRow
==
0
)
?
nullptr
:
&*
aTableNodes
.
rbegin
()
->
rbegin
())
:
&*
aRowNodes
.
rbegin
());
:
&*
aRowNodes
.
rbegin
());
m_pImpl
->
ConvertCell
(
pRow
[
nCell
],
m_pImpl
->
ConvertCell
(
pRow
[
nCell
],
aRowNodes
,
p
FirstPaM
,
p
LastCell
,
bExcept
);
aRowNodes
,
pLastCell
,
bExcept
);
}
}
aTableNodes
.
push_back
(
aRowNodes
);
aTableNodes
.
push_back
(
aRowNodes
);
}
}
...
...
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