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
86de78ce
Kaydet (Commit)
86de78ce
authored
Tem 11, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: fdo#81147 check if colorlist is valid
Change-Id: Ifd48526974b7fcb10872d53d42e26add3fe878d1
üst
c62e854e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
tabarea.cxx
cui/source/tabpages/tabarea.cxx
+1
-1
tpcolor.cxx
cui/source/tabpages/tpcolor.cxx
+1
-3
No files found.
cui/source/tabpages/tabarea.cxx
Dosyayı görüntüle @
86de78ce
...
@@ -191,7 +191,7 @@ void SvxAreaTabDialog::SavePalettes()
...
@@ -191,7 +191,7 @@ void SvxAreaTabDialog::SavePalettes()
}
}
}
}
if
(
mnColorListState
&
CT_MODIFIED
)
if
(
mnColorListState
&
CT_MODIFIED
&&
mpColorList
.
is
()
)
{
{
mpColorList
->
SetPath
(
aPath
);
mpColorList
->
SetPath
(
aPath
);
mpColorList
->
Save
();
mpColorList
->
Save
();
...
...
cui/source/tabpages/tpcolor.cxx
Dosyayı görüntüle @
86de78ce
...
@@ -584,15 +584,13 @@ bool SvxColorTabPage::FillItemSet( SfxItemSet* rSet )
...
@@ -584,15 +584,13 @@ bool SvxColorTabPage::FillItemSet( SfxItemSet* rSet )
void
SvxColorTabPage
::
UpdateModified
()
void
SvxColorTabPage
::
UpdateModified
()
{
{
bool
bEnable
=
pColorList
->
Count
();
bool
bEnable
=
pColorList
.
is
()
&&
pColorList
->
Count
();
m_pBtnModify
->
Enable
(
bEnable
);
m_pBtnModify
->
Enable
(
bEnable
);
m_pBtnWorkOn
->
Enable
(
bEnable
);
m_pBtnWorkOn
->
Enable
(
bEnable
);
m_pBtnDelete
->
Enable
(
bEnable
);
m_pBtnDelete
->
Enable
(
bEnable
);
EnableSave
(
bEnable
);
EnableSave
(
bEnable
);
}
}
void
SvxColorTabPage
::
Reset
(
const
SfxItemSet
*
rSet
)
void
SvxColorTabPage
::
Reset
(
const
SfxItemSet
*
rSet
)
{
{
sal_uInt16
nState
=
rSet
->
GetItemState
(
XATTR_FILLCOLOR
);
sal_uInt16
nState
=
rSet
->
GetItemState
(
XATTR_FILLCOLOR
);
...
...
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