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
501b1f5c
Kaydet (Commit)
501b1f5c
authored
Nis 29, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix dubious casts post VclPtr-ing
Change-Id: I6269eacb7ed1eb5ebd03a9a1b549a3e25e5f00c3
üst
d01810b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
dp_gui_theextmgr.cxx
desktop/source/deployment/gui/dp_gui_theextmgr.cxx
+2
-2
dp_gui_theextmgr.hxx
desktop/source/deployment/gui/dp_gui_theextmgr.hxx
+12
-2
No files found.
desktop/source/deployment/gui/dp_gui_theextmgr.cxx
Dosyayı görüntüle @
501b1f5c
...
...
@@ -114,7 +114,7 @@ void TheExtensionManager::createDialog( const bool bCreateUpdDlg )
{
m_pUpdReqDialog
=
VclPtr
<
UpdateRequiredDialog
>::
Create
(
nullptr
,
this
);
delete
m_pExecuteCmdQueue
;
m_pExecuteCmdQueue
=
new
ExtensionCmdQueue
(
(
DialogHelper
*
)
m_pUpdReqDialog
,
this
,
m_xContext
);
m_pExecuteCmdQueue
=
new
ExtensionCmdQueue
(
m_pUpdReqDialog
.
get
()
,
this
,
m_xContext
);
createPackageList
();
}
}
...
...
@@ -122,7 +122,7 @@ void TheExtensionManager::createDialog( const bool bCreateUpdDlg )
{
m_pExtMgrDialog
=
VclPtr
<
ExtMgrDialog
>::
Create
(
m_pParent
,
this
);
delete
m_pExecuteCmdQueue
;
m_pExecuteCmdQueue
=
new
ExtensionCmdQueue
(
(
DialogHelper
*
)
m_pExtMgrDialog
,
this
,
m_xContext
);
m_pExecuteCmdQueue
=
new
ExtensionCmdQueue
(
m_pExtMgrDialog
.
get
()
,
this
,
m_xContext
);
m_pExtMgrDialog
->
setGetExtensionsURL
(
m_sGetExtensionsURL
);
createPackageList
();
}
...
...
desktop/source/deployment/gui/dp_gui_theextmgr.hxx
Dosyayı görüntüle @
501b1f5c
...
...
@@ -70,8 +70,18 @@ public:
void
createDialog
(
const
bool
bCreateUpdDlg
);
sal_Int16
execute
();
Dialog
*
getDialog
()
{
return
m_pExtMgrDialog
?
(
Dialog
*
)
m_pExtMgrDialog
:
(
Dialog
*
)
m_pUpdReqDialog
;
}
DialogHelper
*
getDialogHelper
()
{
return
m_pExtMgrDialog
?
(
DialogHelper
*
)
m_pExtMgrDialog
:
(
DialogHelper
*
)
m_pUpdReqDialog
;
}
Dialog
*
getDialog
()
{
if
(
m_pExtMgrDialog
)
return
m_pExtMgrDialog
.
get
();
return
m_pUpdReqDialog
.
get
();
}
DialogHelper
*
getDialogHelper
()
{
if
(
m_pExtMgrDialog
)
return
m_pExtMgrDialog
.
get
();
return
m_pUpdReqDialog
.
get
();
}
ExtensionCmdQueue
*
getCmdQueue
()
const
{
return
m_pExecuteCmdQueue
;
}
void
SetText
(
const
OUString
&
rTitle
);
...
...
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