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
e6303636
Kaydet (Commit)
e6303636
authored
May 26, 2016
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr
Change-Id: Ic0802a92e857b427bd95840b16078f8f3c308a52
üst
cc12a1b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
PageMarginPanel.cxx
sw/source/uibase/sidebar/PageMarginPanel.cxx
+6
-6
No files found.
sw/source/uibase/sidebar/PageMarginPanel.cxx
Dosyayı görüntüle @
e6303636
...
...
@@ -42,12 +42,12 @@ VclPtr<vcl::Window> PageMarginPanel::Create(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>&
rxFrame
,
SfxBindings
*
pBindings
)
{
if
(
pParent
==
NULL
)
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
(
"no parent window given to PageMarginPanel::Create"
,
NULL
,
0
);
if
(
!
pParent
)
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
(
"no parent window given to PageMarginPanel::Create"
,
nullptr
,
0
);
if
(
!
rxFrame
.
is
()
)
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
(
"no XFrame given to PageMarginPanel::Create"
,
NULL
,
0
);
if
(
pBindings
==
NULL
)
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
(
"no SfxBindings given to PageMarginPanel::Create"
,
NULL
,
0
);
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
(
"no XFrame given to PageMarginPanel::Create"
,
nullptr
,
0
);
if
(
!
pBindings
)
throw
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
(
"no SfxBindings given to PageMarginPanel::Create"
,
nullptr
,
0
);
return
VclPtr
<
PageMarginPanel
>::
Create
(
pParent
,
rxFrame
,
pBindings
);
}
...
...
@@ -119,7 +119,7 @@ void PageMarginPanel::MetricState( SfxItemState eState, const SfxPoolItem* pStat
else
{
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
Current
();
SfxObjectShell
*
pSh
=
NULL
;
SfxObjectShell
*
pSh
=
nullptr
;
if
(
pFrame
)
pSh
=
pFrame
->
GetObjectShell
();
if
(
pSh
)
...
...
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