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
b8f0442f
Kaydet (Commit)
b8f0442f
authored
Kas 06, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I7cf9fe48cf1c38a4327290e9393a5f88f3d4a97d
üst
4ae8cd2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
desktopbackend.cxx
shell/source/backends/desktopbe/desktopbackend.cxx
+3
-6
No files found.
shell/source/backends/desktopbe/desktopbackend.cxx
Dosyayı görüntüle @
b8f0442f
...
@@ -212,18 +212,15 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(
...
@@ -212,18 +212,15 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(
if
(
desktop
==
"GNOME"
)
{
if
(
desktop
==
"GNOME"
)
{
backend
=
createBackend
(
backend
=
createBackend
(
context
,
context
,
OUString
(
"com.sun.star.configuration.backend.GconfBackend"
);
"com.sun.star.configuration.backend.GconfBackend"
));
}
else
if
(
desktop
==
"KDE"
)
{
}
else
if
(
desktop
==
"KDE"
)
{
backend
=
createBackend
(
backend
=
createBackend
(
context
,
context
,
OUString
(
"com.sun.star.configuration.backend.KDEBackend"
);
"com.sun.star.configuration.backend.KDEBackend"
));
}
else
if
(
desktop
==
"KDE4"
)
{
}
else
if
(
desktop
==
"KDE4"
)
{
backend
=
createBackend
(
backend
=
createBackend
(
context
,
context
,
OUString
(
"com.sun.star.configuration.backend.KDE4Backend"
);
"com.sun.star.configuration.backend.KDE4Backend"
));
}
}
return
backend
.
is
()
return
backend
.
is
()
?
backend
:
static_cast
<
cppu
::
OWeakObject
*
>
(
new
Default
);
?
backend
:
static_cast
<
cppu
::
OWeakObject
*
>
(
new
Default
);
...
...
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