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
a4b01a34
Kaydet (Commit)
a4b01a34
authored
May 28, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704341 Logically dead code
Change-Id: I1986daab3ec6576ac1b7d65f5944bbf21cd450b3
üst
77a58dbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
tablecontroller.cxx
svx/source/table/tablecontroller.cxx
+1
-18
No files found.
svx/source/table/tablecontroller.cxx
Dosyayı görüntüle @
a4b01a34
...
@@ -2680,20 +2680,6 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo
...
@@ -2680,20 +2680,6 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo
aAttr
.
ClearItem
(
SDRATTR_TABLE_BORDER_INNER
);
aAttr
.
ClearItem
(
SDRATTR_TABLE_BORDER_INNER
);
}
}
const
sal_uInt16
*
pRanges
=
rFormatSet
.
GetRanges
();
bool
bTextOnly
=
true
;
while
(
*
pRanges
)
{
if
(
(
*
pRanges
!=
EE_PARA_START
)
&&
(
*
pRanges
!=
EE_CHAR_START
)
)
{
bTextOnly
=
true
;
break
;
}
pRanges
+=
2
;
}
const
bool
bReplaceAll
=
false
;
for
(
sal_Int32
nRow
=
aStart
.
mnRow
;
nRow
<=
aEnd
.
mnRow
;
nRow
++
)
for
(
sal_Int32
nRow
=
aStart
.
mnRow
;
nRow
<=
aEnd
.
mnRow
;
nRow
++
)
{
{
for
(
sal_Int32
nCol
=
aStart
.
mnCol
;
nCol
<=
aEnd
.
mnCol
;
nCol
++
)
for
(
sal_Int32
nCol
=
aStart
.
mnCol
;
nCol
<=
aEnd
.
mnCol
;
nCol
++
)
...
@@ -2701,11 +2687,8 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo
...
@@ -2701,11 +2687,8 @@ bool SvxTableController::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNo
CellRef
xCell
(
dynamic_cast
<
Cell
*
>
(
mxTable
->
getCellByPosition
(
nCol
,
nRow
).
get
()
)
);
CellRef
xCell
(
dynamic_cast
<
Cell
*
>
(
mxTable
->
getCellByPosition
(
nCol
,
nRow
).
get
()
)
);
if
(
xCell
.
is
()
)
if
(
xCell
.
is
()
)
{
{
if
(
bUndo
)
if
(
bUndo
)
xCell
->
AddUndo
();
xCell
->
AddUndo
();
if
(
!
bTextOnly
)
xCell
->
SetMergedItemSetAndBroadcast
(
aAttr
,
bReplaceAll
);
SdrText
*
pText
=
static_cast
<
SdrText
*
>
(
xCell
.
get
()
);
SdrText
*
pText
=
static_cast
<
SdrText
*
>
(
xCell
.
get
()
);
SdrObjEditView
::
ApplyFormatPaintBrushToText
(
rFormatSet
,
*
pTableObj
,
pText
,
bNoCharacterFormats
,
bNoParagraphFormats
);
SdrObjEditView
::
ApplyFormatPaintBrushToText
(
rFormatSet
,
*
pTableObj
,
pText
,
bNoCharacterFormats
,
bNoParagraphFormats
);
}
}
...
...
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