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
c6e44b87
Kaydet (Commit)
c6e44b87
authored
Eki 05, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix crash in cond format dialog with new range edit
Change-Id: Ie19038046fa9121cc234546a9891685153be5646
üst
fa02cce6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
condformatdlg.cxx
sc/source/ui/condformat/condformatdlg.cxx
+5
-5
condformatdlg.hxx
sc/source/ui/inc/condformatdlg.hxx
+1
-1
No files found.
sc/source/ui/condformat/condformatdlg.cxx
Dosyayı görüntüle @
c6e44b87
...
@@ -1103,7 +1103,7 @@ ScCondFormatDlg::ScCondFormatDlg(Window* pParent, ScDocument* pDoc, const ScCond
...
@@ -1103,7 +1103,7 @@ ScCondFormatDlg::ScCondFormatDlg(Window* pParent, ScDocument* pDoc, const ScCond
SetText
(
aTitle
.
makeStringAndClear
());
SetText
(
aTitle
.
makeStringAndClear
());
maBtnAdd
.
SetClickHdl
(
LINK
(
&
maCondFormList
,
ScCondFormatList
,
AddBtnHdl
)
);
maBtnAdd
.
SetClickHdl
(
LINK
(
&
maCondFormList
,
ScCondFormatList
,
AddBtnHdl
)
);
maBtnRemove
.
SetClickHdl
(
LINK
(
&
maCondFormList
,
ScCondFormatList
,
RemoveBtnHdl
)
);
maBtnRemove
.
SetClickHdl
(
LINK
(
&
maCondFormList
,
ScCondFormatList
,
RemoveBtnHdl
)
);
maEdRange
.
SetModifyHdl
(
LINK
(
&
maEdRange
,
ScCondFormatDlg
,
EdRangeModifyHdl
)
);
maEdRange
.
SetModifyHdl
(
LINK
(
this
,
ScCondFormatDlg
,
EdRangeModifyHdl
)
);
FreeResource
();
FreeResource
();
maEdRange
.
SetText
(
aRangeString
);
maEdRange
.
SetText
(
aRangeString
);
...
@@ -1166,15 +1166,15 @@ IMPL_LINK_NOARG( ScCondFormatList, ScrollHdl )
...
@@ -1166,15 +1166,15 @@ IMPL_LINK_NOARG( ScCondFormatList, ScrollHdl )
return
0
;
return
0
;
}
}
IMPL_LINK
_NOARG
(
ScCondFormatDlg
,
EdRangeModifyHdl
)
IMPL_LINK
(
ScCondFormatDlg
,
EdRangeModifyHdl
,
Edit
*
,
pEdit
)
{
{
rtl
::
OUString
aRangeStr
=
maEdRange
.
GetText
();
rtl
::
OUString
aRangeStr
=
pEdit
->
GetText
();
ScRangeList
aRange
;
ScRangeList
aRange
;
sal_uInt16
nFlags
=
aRange
.
Parse
(
aRangeStr
,
mpDoc
,
SCA_VALID
,
mpDoc
->
GetAddressConvention
());
sal_uInt16
nFlags
=
aRange
.
Parse
(
aRangeStr
,
mpDoc
,
SCA_VALID
,
mpDoc
->
GetAddressConvention
());
if
(
nFlags
&
SCA_VALID
)
if
(
nFlags
&
SCA_VALID
)
maEdRange
.
SetControlBackground
(
GetSettings
().
GetStyleSettings
().
GetWindowColor
());
pEdit
->
SetControlBackground
(
GetSettings
().
GetStyleSettings
().
GetWindowColor
());
else
else
maEdRange
.
SetControlBackground
(
COL_LIGHTRED
);
pEdit
->
SetControlBackground
(
COL_LIGHTRED
);
return
0
;
return
0
;
}
}
...
...
sc/source/ui/inc/condformatdlg.hxx
Dosyayı görüntüle @
c6e44b87
...
@@ -185,7 +185,7 @@ private:
...
@@ -185,7 +185,7 @@ private:
ScAddress
maPos
;
ScAddress
maPos
;
ScDocument
*
mpDoc
;
ScDocument
*
mpDoc
;
DECL_LINK
(
EdRangeModifyHdl
,
void
*
);
DECL_LINK
(
EdRangeModifyHdl
,
Edit
*
);
public
:
public
:
ScCondFormatDlg
(
Window
*
pWindow
,
ScDocument
*
pDoc
,
const
ScConditionalFormat
*
pFormat
,
const
ScRangeList
&
rRange
,
const
ScAddress
&
rPos
);
ScCondFormatDlg
(
Window
*
pWindow
,
ScDocument
*
pDoc
,
const
ScConditionalFormat
*
pFormat
,
const
ScRangeList
&
rRange
,
const
ScAddress
&
rPos
);
...
...
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