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
71c60f8f
Kaydet (Commit)
71c60f8f
authored
Ara 25, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#982279 Resource leak in object
Change-Id: I8a616dee5795c3614baa69840b3a8808ef89b650
üst
faace681
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
condformatbuffer.hxx
sc/source/filter/inc/condformatbuffer.hxx
+1
-1
condformatbuffer.cxx
sc/source/filter/oox/condformatbuffer.cxx
+6
-6
No files found.
sc/source/filter/inc/condformatbuffer.hxx
Dosyayı görüntüle @
71c60f8f
...
@@ -133,7 +133,7 @@ public:
...
@@ -133,7 +133,7 @@ public:
private
:
private
:
std
::
vector
<
ColorScaleRuleModelEntry
>
maEntries
;
std
::
vector
<
ColorScaleRuleModelEntry
>
maEntries
;
ScIconSetFormatData
*
mp
FormatData
;
std
::
unique_ptr
<
ScIconSetFormatData
>
mx
FormatData
;
OUString
maIconSetType
;
OUString
maIconSetType
;
};
};
...
...
sc/source/filter/oox/condformatbuffer.cxx
Dosyayı görüntüle @
71c60f8f
...
@@ -287,7 +287,7 @@ void DataBarRule::SetData( ScDataBarFormat* pFormat, ScDocument* pDoc, const ScA
...
@@ -287,7 +287,7 @@ void DataBarRule::SetData( ScDataBarFormat* pFormat, ScDocument* pDoc, const ScA
IconSetRule
::
IconSetRule
(
const
CondFormat
&
rFormat
)
:
IconSetRule
::
IconSetRule
(
const
CondFormat
&
rFormat
)
:
WorksheetHelper
(
rFormat
),
WorksheetHelper
(
rFormat
),
m
p
FormatData
(
new
ScIconSetFormatData
)
m
x
FormatData
(
new
ScIconSetFormatData
)
{
{
}
}
...
@@ -302,8 +302,8 @@ void IconSetRule::importCfvo( const AttributeList& rAttribs )
...
@@ -302,8 +302,8 @@ void IconSetRule::importCfvo( const AttributeList& rAttribs )
void
IconSetRule
::
importAttribs
(
const
AttributeList
&
rAttribs
)
void
IconSetRule
::
importAttribs
(
const
AttributeList
&
rAttribs
)
{
{
maIconSetType
=
rAttribs
.
getString
(
XML_iconSet
,
OUString
(
"3TrafficLights1"
)
);
maIconSetType
=
rAttribs
.
getString
(
XML_iconSet
,
OUString
(
"3TrafficLights1"
)
);
m
p
FormatData
->
mbShowValue
=
rAttribs
.
getBool
(
XML_showValue
,
true
);
m
x
FormatData
->
mbShowValue
=
rAttribs
.
getBool
(
XML_showValue
,
true
);
m
p
FormatData
->
mbReverse
=
rAttribs
.
getBool
(
XML_reverse
,
false
);
m
x
FormatData
->
mbReverse
=
rAttribs
.
getBool
(
XML_reverse
,
false
);
}
}
void
IconSetRule
::
SetData
(
ScIconSetFormat
*
pFormat
,
ScDocument
*
pDoc
,
const
ScAddress
&
rPos
)
void
IconSetRule
::
SetData
(
ScIconSetFormat
*
pFormat
,
ScDocument
*
pDoc
,
const
ScAddress
&
rPos
)
...
@@ -311,7 +311,7 @@ void IconSetRule::SetData( ScIconSetFormat* pFormat, ScDocument* pDoc, const ScA
...
@@ -311,7 +311,7 @@ void IconSetRule::SetData( ScIconSetFormat* pFormat, ScDocument* pDoc, const ScA
for
(
size_t
i
=
0
;
i
<
maEntries
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
maEntries
.
size
();
++
i
)
{
{
ScColorScaleEntry
*
pModelEntry
=
ConvertToModel
(
maEntries
[
i
],
pDoc
,
rPos
);
ScColorScaleEntry
*
pModelEntry
=
ConvertToModel
(
maEntries
[
i
],
pDoc
,
rPos
);
m
p
FormatData
->
maEntries
.
push_back
(
pModelEntry
);
m
x
FormatData
->
maEntries
.
push_back
(
pModelEntry
);
}
}
ScIconSetType
eIconSetType
=
IconSet_3TrafficLights1
;
ScIconSetType
eIconSetType
=
IconSet_3TrafficLights1
;
...
@@ -324,8 +324,8 @@ void IconSetRule::SetData( ScIconSetFormat* pFormat, ScDocument* pDoc, const ScA
...
@@ -324,8 +324,8 @@ void IconSetRule::SetData( ScIconSetFormat* pFormat, ScDocument* pDoc, const ScA
break
;
break
;
}
}
}
}
m
p
FormatData
->
eIconSetType
=
eIconSetType
;
m
x
FormatData
->
eIconSetType
=
eIconSetType
;
pFormat
->
SetIconSetData
(
m
pFormatData
);
pFormat
->
SetIconSetData
(
m
xFormatData
.
release
()
);
}
}
CondFormatRuleModel
::
CondFormatRuleModel
()
:
CondFormatRuleModel
::
CondFormatRuleModel
()
:
...
...
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