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
4a9ba965
Kaydet (Commit)
4a9ba965
authored
Mar 27, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement one more method
Change-Id: I3483b2004c0afb8bea651d9eec35d1cbf9aff2a1
üst
c40a4290
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
conditio.hxx
sc/inc/conditio.hxx
+1
-0
conditio.cxx
sc/source/core/data/conditio.cxx
+9
-0
condformatuno.cxx
sc/source/ui/unoobj/condformatuno.cxx
+6
-1
No files found.
sc/inc/conditio.hxx
Dosyayı görüntüle @
4a9ba965
...
...
@@ -392,6 +392,7 @@ public:
ScConditionalFormat
*
Clone
(
ScDocument
*
pNewDoc
=
NULL
)
const
;
void
AddEntry
(
ScFormatEntry
*
pNew
);
void
RemoveEntry
(
size_t
nIndex
);
void
SetRange
(
const
ScRangeList
&
rRanges
);
const
ScRangeList
&
GetRange
()
const
{
return
maRanges
;
}
// don't use the same name as for the const version
...
...
sc/source/core/data/conditio.cxx
Dosyayı görüntüle @
4a9ba965
...
...
@@ -1853,6 +1853,15 @@ void ScConditionalFormat::AddEntry( ScFormatEntry* pNew )
pNew
->
SetParent
(
this
);
}
void
ScConditionalFormat
::
RemoveEntry
(
size_t
n
)
{
if
(
n
<
maEntries
.
size
())
{
maEntries
.
erase
(
maEntries
.
begin
()
+
n
);
DoRepaint
(
NULL
);
}
}
bool
ScConditionalFormat
::
IsEmpty
()
const
{
return
maEntries
.
empty
();
...
...
sc/source/ui/unoobj/condformatuno.cxx
Dosyayı görüntüle @
4a9ba965
...
...
@@ -323,9 +323,14 @@ void ScCondFormatObj::addEntry(const uno::Reference<sheet::XConditionEntry>& /*x
{
}
void
ScCondFormatObj
::
removeByIndex
(
const
sal_Int32
/*nIndex*/
)
void
ScCondFormatObj
::
removeByIndex
(
const
sal_Int32
nIndex
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
if
(
getCoreObject
()
->
size
()
>=
size_t
(
nIndex
))
throw
lang
::
IllegalArgumentException
();
getCoreObject
()
->
RemoveEntry
(
nIndex
);
}
uno
::
Type
ScCondFormatObj
::
getElementType
()
...
...
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