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
c13d1300
Kaydet (Commit)
c13d1300
authored
Tem 22, 2016
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
shell: loplugin:nullptr / staticanonymous / stringconstant
Change-Id: I67458301fb13601c5bf8d83c689fd861694ee460
üst
2a5a69de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
desktopbackend.cxx
shell/source/backends/desktopbe/desktopbackend.cxx
+7
-3
No files found.
shell/source/backends/desktopbe/desktopbackend.cxx
Dosyayı görüntüle @
c13d1300
...
...
@@ -151,7 +151,9 @@ void Default::setPropertyValue(OUString const &, css::uno::Any const &)
static_cast
<
cppu
::
OWeakObject
*
>
(
this
),
-
1
);
}
static
OUString
xdg_user_dir_lookup
(
const
char
*
type
)
namespace
{
OUString
xdg_user_dir_lookup
(
const
char
*
type
)
{
char
*
config_home
;
char
*
p
;
...
...
@@ -166,12 +168,12 @@ static OUString xdg_user_dir_lookup (const char *type)
if
(
!
aSecurity
.
getHomeDir
(
aHomeDirURL
)
)
{
osl
::
FileBase
::
getFileURLFromSystemPath
(
OUString
(
"/tmp"
)
,
aDocumentsDirURL
);
osl
::
FileBase
::
getFileURLFromSystemPath
(
"/tmp"
,
aDocumentsDirURL
);
return
aDocumentsDirURL
;
}
config_home
=
getenv
(
"XDG_CONFIG_HOME"
);
if
(
config_home
==
NULL
||
config_home
[
0
]
==
0
)
if
(
config_home
==
nullptr
||
config_home
[
0
]
==
0
)
{
aConfigFileURL
=
aHomeDirURL
+
"/.config/user-dirs.dirs"
;
}
...
...
@@ -250,6 +252,8 @@ static OUString xdg_user_dir_lookup (const char *type)
return
aHomeDirURL
+
"/"
+
OUString
::
createFromAscii
(
type
);
}
}
// namespace
css
::
uno
::
Any
Default
::
getPropertyValue
(
OUString
const
&
PropertyName
)
throw
(
css
::
beans
::
UnknownPropertyException
,
css
::
lang
::
WrappedTargetException
,
...
...
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