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
a3229880
Kaydet (Commit)
a3229880
authored
May 14, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor raw use of ScHFEditDlg to use ScAbstractDialogFactory
Change-Id: Id9591bef0845b65d496103f82b0af5a828c4eaac
üst
c4f46a2c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
scdlgfact.cxx
sc/source/ui/attrdlg/scdlgfact.cxx
+1
-1
tphf.cxx
sc/source/ui/pagedlg/tphf.cxx
+8
-3
No files found.
sc/source/ui/attrdlg/scdlgfact.cxx
Dosyayı görüntüle @
a3229880
...
...
@@ -1240,7 +1240,7 @@ SfxAbstractTabDialog * ScAbstractDialogFactory_Impl::CreateScHFEditDlg( SfxViewF
const
String
&
rPageStyle
,
sal_uInt16
nResId
)
{
SfxTabDialog
*
pDlg
=
new
ScHFEditDlg
(
pFrame
,
pParent
,
rCoreSet
,
rPageStyle
,
nResId
);
SfxTabDialog
*
pDlg
=
new
ScHFEditDlg
(
pFrame
,
pParent
,
rCoreSet
,
rPageStyle
,
nResId
);
return
new
ScAbstractTabDialog_Impl
(
pDlg
);
}
...
...
sc/source/ui/pagedlg/tphf.cxx
Dosyayı görüntüle @
a3229880
...
...
@@ -33,6 +33,7 @@
#include "tphf.hxx"
#include "sc.hrc"
#include "scabstdlg.hxx"
#include "globstr.hrc"
#include "tabvwsh.hxx"
#include "viewdata.hxx"
...
...
@@ -204,10 +205,14 @@ IMPL_LINK_NOARG(ScHFPage, HFEditHdl)
?
RID_SCDLG_HFED_HEADER
:
RID_SCDLG_HFED_FOOTER
;
ScHFEditDlg
*
pDlg
=
new
ScHFEditDlg
(
pViewSh
->
GetViewFrame
(),
this
,
aDataSet
,
aStrPageStyle
,
nResId
);
ScAbstractDialogFactory
*
pFact
=
ScAbstractDialogFactory
::
Create
();
OSL_ENSURE
(
pFact
,
"ScAbstractFactory create fail!"
);
SfxAbstractTabDialog
*
pDlg
=
pFact
->
CreateScHFEditDlg
(
pViewSh
->
GetViewFrame
(),
this
,
aDataSet
,
aStrPageStyle
,
nResId
);
OSL_ENSURE
(
pDlg
,
"Dialog create fail!"
);
if
(
pDlg
->
Execute
()
==
RET_OK
)
{
aDataSet
.
Put
(
*
pDlg
->
GetOutputItemSet
()
);
...
...
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