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
4dead7b1
Kaydet (Commit)
4dead7b1
authored
Ara 03, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
hide the manage cond format dialog when opening the cond format dlg
Change-Id: Iee1e8344610e42f22c405c698fdfd82d59ca836e
üst
2b9ba386
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
condformatmgr.cxx
sc/source/ui/condformat/condformatmgr.cxx
+4
-4
dialog.hxx
vcl/inc/vcl/dialog.hxx
+3
-1
No files found.
sc/source/ui/condformat/condformatmgr.cxx
Dosyayı görüntüle @
4dead7b1
...
...
@@ -226,7 +226,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, EditBtnHdl)
pScMod
->
SetRefDialog
(
nId
,
true
);
boost
::
scoped_ptr
<
ScCondFormatDlg
>
pDlg
(
new
ScCondFormatDlg
(
this
,
mpDoc
,
pFormat
,
pFormat
->
GetRange
(),
pFormat
->
GetRange
().
GetTopLeftCorner
(),
condformat
::
dialog
::
NONE
));
Disable
(
);
Show
(
false
,
0
);
if
(
pDlg
->
Execute
()
==
RET_OK
)
{
sal_Int32
nKey
=
pFormat
->
GetKey
();
...
...
@@ -241,7 +241,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, EditBtnHdl)
maCtrlManager
.
Update
();
mbModified
=
true
;
}
Enable
(
);
Show
(
true
,
0
);
pScMod
->
SetRefDialog
(
nId
,
false
);
...
...
@@ -272,7 +272,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, AddBtnHdl)
pScMod
->
SetRefDialog
(
nId
,
true
);
boost
::
scoped_ptr
<
ScCondFormatDlg
>
pDlg
(
new
ScCondFormatDlg
(
this
,
mpDoc
,
NULL
,
ScRangeList
(),
maPos
,
condformat
::
dialog
::
CONDITION
));
Disable
(
);
Show
(
false
,
0
);
if
(
pDlg
->
Execute
()
==
RET_OK
)
{
ScConditionalFormat
*
pNewFormat
=
pDlg
->
GetConditionalFormat
();
...
...
@@ -285,7 +285,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, AddBtnHdl)
mbModified
=
true
;
}
Enable
(
);
Show
(
true
,
0
);
pScMod
->
SetRefDialog
(
nId
,
false
);
return
0
;
...
...
vcl/inc/vcl/dialog.hxx
Dosyayı görüntüle @
4dead7b1
...
...
@@ -154,12 +154,14 @@ public:
ModalDialog
(
Window
*
pParent
,
const
rtl
::
OString
&
rID
,
const
rtl
::
OUString
&
rUIXMLDescription
);
ModalDialog
(
Window
*
pParent
,
const
ResId
&
rResId
);
pr
ivate
:
pr
otected
:
using
Window
::
Show
;
void
Show
(
sal_Bool
bVisible
=
sal_True
);
using
Window
::
Hide
;
void
Hide
();
private
:
// Copy assignment is forbidden and not implemented.
SAL_DLLPRIVATE
ModalDialog
(
const
ModalDialog
&
);
SAL_DLLPRIVATE
ModalDialog
&
operator
=
(
const
ModalDialog
&
);
...
...
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