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
9f3aaa5c
Kaydet (Commit)
9f3aaa5c
authored
Nis 02, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify
Change-Id: I1b1f9d544e00e7900232ff9416a99fc0c5faa4e5
üst
b137dfce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
unotbl.cxx
sw/source/core/unocore/unotbl.cxx
+4
-12
No files found.
sw/source/core/unocore/unotbl.cxx
Dosyayı görüntüle @
9f3aaa5c
...
@@ -1088,24 +1088,16 @@ void SwXCell::setPropertyValue(const OUString& rPropertyName, const uno::Any& aV
...
@@ -1088,24 +1088,16 @@ void SwXCell::setPropertyValue(const OUString& rPropertyName, const uno::Any& aV
{
{
auto
pEntry
(
m_pPropSet
->
getPropertyMap
().
getByName
(
rPropertyName
));
auto
pEntry
(
m_pPropSet
->
getPropertyMap
().
getByName
(
rPropertyName
));
if
(
!
pEntry
)
if
(
!
pEntry
)
{
throw
beans
::
UnknownPropertyException
(
rPropertyName
,
static_cast
<
cppu
::
OWeakObject
*>
(
this
));
beans
::
UnknownPropertyException
aEx
;
if
(
pEntry
->
nWID
!=
FN_UNO_CELL_ROW_SPAN
)
aEx
.
Message
=
rPropertyName
;
throw
(
aEx
);
}
if
(
pEntry
->
nWID
==
FN_UNO_CELL_ROW_SPAN
)
{
sal_Int32
nRowSpan
=
0
;
if
(
aValue
>>=
nRowSpan
)
pBox
->
setRowSpan
(
nRowSpan
);
}
else
{
{
SwFrmFmt
*
pBoxFmt
=
pBox
->
ClaimFrmFmt
();
SwFrmFmt
*
pBoxFmt
=
pBox
->
ClaimFrmFmt
();
SwAttrSet
aSet
(
pBoxFmt
->
GetAttrSet
());
SwAttrSet
aSet
(
pBoxFmt
->
GetAttrSet
());
m_pPropSet
->
setPropertyValue
(
rPropertyName
,
aValue
,
aSet
);
m_pPropSet
->
setPropertyValue
(
rPropertyName
,
aValue
,
aSet
);
pBoxFmt
->
GetDoc
()
->
SetAttr
(
aSet
,
*
pBoxFmt
);
pBoxFmt
->
GetDoc
()
->
SetAttr
(
aSet
,
*
pBoxFmt
);
}
}
else
if
(
aValue
.
isExtractableTo
(
cppu
::
UnoType
<
sal_Int32
>::
get
()))
pBox
->
setRowSpan
(
aValue
.
get
<
sal_Int32
>
());
}
}
}
}
...
...
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