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
82fa1361
Kaydet (Commit)
82fa1361
authored
May 31, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No need for additional pDlg variable
Change-Id: I161b49ee5c72c13372ca95ce9f9cc87d886354ae
üst
052f2542
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
fldwrap.cxx
sw/source/uibase/fldui/fldwrap.cxx
+10
-12
No files found.
sw/source/uibase/fldui/fldwrap.cxx
Dosyayı görüntüle @
82fa1361
...
@@ -81,11 +81,10 @@ SwFieldDlgWrapper::SwFieldDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId,
...
@@ -81,11 +81,10 @@ SwFieldDlgWrapper::SwFieldDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId,
{
{
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
assert
(
pFact
&&
"SwAbstractDialogFactory fail!"
);
assert
(
pFact
&&
"SwAbstractDialogFactory fail!"
);
VclPtr
<
AbstractSwFieldDlg
>
pDlg
=
pFact
->
CreateSwFieldDlg
(
pB
,
this
,
_pParent
);
pDlgInterface
=
pFact
->
CreateSwFieldDlg
(
pB
,
this
,
_pParent
);
assert
(
pDlg
&&
"Dialog creation failed!"
);
assert
(
pDlgInterface
&&
"Dialog creation failed!"
);
pDlgInterface
=
pDlg
;
SetWindow
(
pDlgInterface
->
GetWindow
()
);
SetWindow
(
pDlg
->
GetWindow
()
);
pDlgInterface
->
Start
();
pDlg
->
Start
();
}
}
// newly initialise dialog after Doc switch
// newly initialise dialog after Doc switch
...
@@ -124,14 +123,13 @@ SwFieldDataOnlyDlgWrapper::SwFieldDataOnlyDlgWrapper( vcl::Window* _pParent, sal
...
@@ -124,14 +123,13 @@ SwFieldDataOnlyDlgWrapper::SwFieldDataOnlyDlgWrapper( vcl::Window* _pParent, sal
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
SwAbstractDialogFactory
*
pFact
=
SwAbstractDialogFactory
::
Create
();
OSL_ENSURE
(
pFact
,
"SwAbstractDialogFactory fail!"
);
OSL_ENSURE
(
pFact
,
"SwAbstractDialogFactory fail!"
);
VclPtr
<
AbstractSwFieldDlg
>
pDlg
=
pFact
->
CreateSwFieldDlg
(
pB
,
this
,
_pParent
);
pDlgInterface
=
pFact
->
CreateSwFieldDlg
(
pB
,
this
,
_pParent
);
OSL_ENSURE
(
pDlg
,
"Dialog creation failed!"
);
OSL_ENSURE
(
pDlgInterface
,
"Dialog creation failed!"
);
pDlgInterface
=
pDlg
;
SetWindow
(
pDlg
->
GetWindow
()
);
SetWindow
(
pDlg
Interface
->
GetWindow
()
);
pDlg
->
ActivateDatabasePage
();
pDlg
Interface
->
ActivateDatabasePage
();
pDlg
->
Start
();
pDlg
Interface
->
Start
();
pDlg
->
Initialize
(
pInfo
);
pDlg
Interface
->
Initialize
(
pInfo
);
}
}
// re-init after doc activation
// re-init after doc activation
...
...
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