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
c5d4e2cf
Kaydet (Commit)
c5d4e2cf
authored
Eyl 28, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fetime of mpCondFormat is more complex, fdo#55379
Change-Id: I2b34f9fefdfdfa245ab73f8691090cbde8bcd34e
üst
a705c6ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
xmlstyli.cxx
sc/source/filter/xml/xmlstyli.cxx
+5
-6
xmlstyli.hxx
sc/source/filter/xml/xmlstyli.hxx
+1
-0
No files found.
sc/source/filter/xml/xmlstyli.cxx
Dosyayı görüntüle @
c5d4e2cf
...
...
@@ -390,12 +390,15 @@ XMLTableStyleContext::XMLTableStyleContext( ScXMLImport& rImport,
nNumberFormat
(
-
1
),
nLastSheet
(
-
1
),
bParentSet
(
false
),
mpCondFormat
(
NULL
)
mpCondFormat
(
NULL
),
mbDeleteCondFormat
(
true
)
{
}
XMLTableStyleContext
::~
XMLTableStyleContext
()
{
if
(
mbDeleteCondFormat
)
delete
mpCondFormat
;
}
SvXMLImportContext
*
XMLTableStyleContext
::
CreateChildContext
(
...
...
@@ -442,11 +445,6 @@ void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddres
{
if
(
itr
->
EqualEntries
(
*
mpCondFormat
))
{
// we don't need the new cond format entry now
// the found one is the same and we just need to add the range to it
delete
mpCondFormat
;
mpCondFormat
=
NULL
;
ScRangeList
&
rRangeList
=
itr
->
GetRangeList
();
sal_uInt32
nCondId
=
itr
->
GetKey
();
size_t
n
=
rRange
.
size
();
...
...
@@ -468,6 +466,7 @@ void XMLTableStyleContext::ApplyCondFormat( uno::Sequence<table::CellRangeAddres
if
(
mpCondFormat
)
{
mbDeleteCondFormat
=
false
;
sal_uLong
nIndex
=
pDoc
->
AddCondFormat
(
mpCondFormat
,
nTab
);
mpCondFormat
->
SetKey
(
nIndex
);
mpCondFormat
->
AddRange
(
rRange
);
...
...
sc/source/filter/xml/xmlstyli.hxx
Dosyayı görüntüle @
c5d4e2cf
...
...
@@ -101,6 +101,7 @@ class XMLTableStyleContext : public XMLPropStyleContext
SCTAB
nLastSheet
;
bool
bParentSet
;
ScConditionalFormat
*
mpCondFormat
;
bool
mbDeleteCondFormat
;
const
ScXMLImport
&
GetScImport
()
const
{
return
(
const
ScXMLImport
&
)
GetImport
();
}
ScXMLImport
&
GetScImport
()
{
return
(
ScXMLImport
&
)
GetImport
();
}
...
...
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