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
ab731b19
Kaydet (Commit)
ab731b19
authored
Kas 08, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
no need to use endsWithAsciiL like this anymore
Change-Id: Ie59d001816661ac19ce19ddae36efd8d880a987f
üst
4948daa1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
PanelFactory.cxx
sd/source/ui/sidebar/PanelFactory.cxx
+9
-11
No files found.
sd/source/ui/sidebar/PanelFactory.cxx
Dosyayı görüntüle @
ab731b19
...
@@ -113,26 +113,24 @@ Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
...
@@ -113,26 +113,24 @@ Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
the entries in officecfg/registry/data/org/openoffice/Office/Impress.xcu
the entries in officecfg/registry/data/org/openoffice/Office/Impress.xcu
for the TaskPanelFactory.
for the TaskPanelFactory.
*/
*/
#define EndsWith(s,t) s.endsWithAsciiL(t,strlen(t))
if
(
rsUIElementResourceURL
.
endsWith
(
"/CustomAnimations"
))
if
(
EndsWith
(
rsUIElementResourceURL
,
"/CustomAnimations"
))
pControl
=
VclPtr
<
CustomAnimationPanel
>::
Create
(
pParentWindow
,
*
pBase
,
xFrame
);
pControl
=
VclPtr
<
CustomAnimationPanel
>::
Create
(
pParentWindow
,
*
pBase
,
xFrame
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/Layouts"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/Layouts"
))
pControl
=
VclPtr
<
LayoutMenu
>::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
pControl
=
VclPtr
<
LayoutMenu
>::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/AllMasterPages"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/AllMasterPages"
))
pControl
=
AllMasterPagesSelector
::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
pControl
=
AllMasterPagesSelector
::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/RecentMasterPages"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/RecentMasterPages"
))
pControl
=
RecentMasterPagesSelector
::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
pControl
=
RecentMasterPagesSelector
::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/UsedMasterPages"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/UsedMasterPages"
))
pControl
=
CurrentMasterPagesSelector
::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
pControl
=
CurrentMasterPagesSelector
::
Create
(
pParentWindow
,
*
pBase
,
xSidebar
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/SlideTransitions"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/SlideTransitions"
))
pControl
=
VclPtr
<
SlideTransitionPanel
>::
Create
(
pParentWindow
,
*
pBase
,
xFrame
);
pControl
=
VclPtr
<
SlideTransitionPanel
>::
Create
(
pParentWindow
,
*
pBase
,
xFrame
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/TableDesign"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/TableDesign"
))
pControl
=
VclPtr
<
TableDesignPanel
>::
Create
(
pParentWindow
,
*
pBase
);
pControl
=
VclPtr
<
TableDesignPanel
>::
Create
(
pParentWindow
,
*
pBase
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/NavigatorPanel"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/NavigatorPanel"
))
pControl
=
VclPtr
<
NavigatorWrapper
>::
Create
(
pParentWindow
,
*
pBase
,
pBindings
);
pControl
=
VclPtr
<
NavigatorWrapper
>::
Create
(
pParentWindow
,
*
pBase
,
pBindings
);
else
if
(
EndsWith
(
rsUIElementResourceURL
,
"/SlideBackgroundPanel"
))
else
if
(
rsUIElementResourceURL
.
endsWith
(
"/SlideBackgroundPanel"
))
pControl
=
VclPtr
<
SlideBackground
>::
Create
(
pParentWindow
,
*
pBase
,
xFrame
,
pBindings
);
pControl
=
VclPtr
<
SlideBackground
>::
Create
(
pParentWindow
,
*
pBase
,
xFrame
,
pBindings
);
#undef EndsWith
if
(
!
pControl
)
if
(
!
pControl
)
throw
lang
::
IllegalArgumentException
();
throw
lang
::
IllegalArgumentException
();
...
...
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