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
8b6c9009
Kaydet (Commit)
8b6c9009
authored
Ock 23, 2018
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Various loplugin in --enable-gtk3-kde5 code
Change-Id: I5d5bb6b57a9e9ed2c66d304c18fe7ef233aae072
üst
b07e38b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
kde5access.cxx
shell/source/backends/kde5be/kde5access.cxx
+3
-3
kde5backend.cxx
shell/source/backends/kde5be/kde5backend.cxx
+7
-8
No files found.
shell/source/backends/kde5be/kde5access.cxx
Dosyayı görüntüle @
8b6c9009
...
...
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include
"sal/config.h"
#include
<sal/config.h>
#include "kde5access.hxx"
...
...
@@ -290,7 +290,7 @@ css::beans::Optional<css::uno::Any> getValue(OUString const& id)
}
else
if
(
id
==
"ooInetProxyType"
)
{
int
nProxyType
;
sal_Int32
nProxyType
;
switch
(
KProtocolManager
::
proxyType
())
{
case
KProtocolManager
:
:
ManualProxy
:
// Proxies are manually configured
...
...
@@ -303,7 +303,7 @@ css::beans::Optional<css::uno::Any> getValue(OUString const& id)
default
:
// No proxy is used
nProxyType
=
0
;
}
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
(
sal_Int32
)
nProxyType
));
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
nProxyType
));
}
else
{
...
...
shell/source/backends/kde5be/kde5backend.cxx
Dosyayı görüntüle @
8b6c9009
...
...
@@ -56,12 +56,12 @@
namespace
{
OUString
SAL_CALL
getServiceImplementationName
()
OUString
getServiceImplementationName
()
{
return
OUString
(
"com.sun.star.comp.configuration.backend.KDE5Backend"
);
}
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getServiceSupportedServiceNames
()
css
::
uno
::
Sequence
<
OUString
>
getServiceSupportedServiceNames
()
{
OUString
name
(
"com.sun.star.configuration.backend.KDE5Backend"
);
return
css
::
uno
::
Sequence
<
OUString
>
(
&
name
,
1
);
...
...
@@ -74,7 +74,7 @@ public:
Service
();
private
:
virtual
~
Service
()
{}
virtual
~
Service
()
override
{}
virtual
OUString
SAL_CALL
getImplementationName
()
override
{
...
...
@@ -204,7 +204,7 @@ Service::Service()
void
Service
::
setPropertyValue
(
OUString
const
&
,
css
::
uno
::
Any
const
&
)
{
throw
css
::
lang
::
IllegalArgumentException
(
OUString
(
"setPropertyValue not supported"
)
,
throw
css
::
lang
::
IllegalArgumentException
(
"setPropertyValue not supported"
,
static_cast
<
cppu
::
OWeakObject
*>
(
this
),
-
1
);
}
...
...
@@ -231,7 +231,7 @@ css::uno::Any Service::getPropertyValue(OUString const& PropertyName)
}
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
createInstance
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
)
createInstance
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
)
{
return
static_cast
<
cppu
::
OWeakObject
*>
(
new
Service
);
}
...
...
@@ -242,9 +242,8 @@ static cppu::ImplementationEntry const services[]
{
nullptr
,
nullptr
,
nullptr
,
nullptr
,
nullptr
,
0
}
};
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
kde5be1_component_getFactory
(
char
const
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
extern
"C"
SAL_DLLPUBLIC_EXPORT
void
*
kde5be1_component_getFactory
(
char
const
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
{
return
cppu
::
component_getFactoryHelper
(
pImplName
,
pServiceManager
,
pRegistryKey
,
services
);
}
...
...
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