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
d8ba942b
Kaydet (Commit)
d8ba942b
authored
Haz 02, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Id45e303225602e401a5c3b640185bf476c94a0bb
üst
8c8bdc60
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
kde4access.cxx
shell/source/backends/kde4be/kde4access.cxx
+7
-7
kdeaccess.cxx
shell/source/backends/kdebe/kdeaccess.cxx
+7
-7
macbackend.mm
shell/source/backends/macbe/macbackend.mm
+1
-1
No files found.
shell/source/backends/kde4be/kde4access.cxx
Dosyayı görüntüle @
d8ba942b
...
...
@@ -57,7 +57,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
aClientProgram
=
"kmail"
;
else
aClientProgram
=
aClientProgram
.
section
(
SPACE
,
0
,
0
);
sClientProgram
=
(
const
sal_Unicode
*
)
aClientProgram
.
utf16
(
);
sClientProgram
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aClientProgram
.
utf16
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sClientProgram
)
);
}
else
if
(
id
==
"SourceViewFontHeight"
)
...
...
@@ -77,7 +77,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
aFixedFont
=
KGlobalSettings
::
fixedFont
();
aFontName
=
aFixedFont
.
family
();
sFontName
=
(
const
sal_Unicode
*
)
aFontName
.
utf16
(
);
sFontName
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aFontName
.
utf16
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sFontName
)
);
}
else
if
(
id
==
"EnableATToolSupport"
)
...
...
@@ -93,7 +93,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
OUString
sDocumentsURL
;
if
(
aDocumentsDir
.
endsWith
(
QChar
(
'/'
))
)
aDocumentsDir
.
truncate
(
aDocumentsDir
.
length
()
-
1
);
sDocumentsDir
=
(
const
sal_Unicode
*
)
aDocumentsDir
.
utf16
(
);
sDocumentsDir
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aDocumentsDir
.
utf16
()
);
osl_getFileURLFromSystemPath
(
sDocumentsDir
.
pData
,
&
sDocumentsURL
.
pData
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sDocumentsURL
)
);
...
...
@@ -119,7 +119,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
if
(
!
aFTPProxy
.
isEmpty
()
)
{
KUrl
aProxy
(
aFTPProxy
);
OUString
sProxy
=
(
const
sal_Unicode
*
)
aProxy
.
host
().
utf16
(
);
OUString
sProxy
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aProxy
.
host
().
utf16
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sProxy
)
);
}
...
...
@@ -171,7 +171,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
if
(
!
aHTTPProxy
.
isEmpty
()
)
{
KUrl
aProxy
(
aHTTPProxy
);
OUString
sProxy
=
(
const
sal_Unicode
*
)
aProxy
.
host
().
utf16
(
);
OUString
sProxy
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aProxy
.
host
().
utf16
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sProxy
)
);
}
...
...
@@ -223,7 +223,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
if
(
!
aHTTPSProxy
.
isEmpty
()
)
{
KUrl
aProxy
(
aHTTPSProxy
);
OUString
sProxy
=
(
const
sal_Unicode
*
)
aProxy
.
host
().
utf16
(
);
OUString
sProxy
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aProxy
.
host
().
utf16
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sProxy
)
);
}
...
...
@@ -271,7 +271,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
OUString
sNoProxyFor
;
aNoProxyFor
=
aNoProxyFor
.
replace
(
COMMA
,
SEMI_COLON
);
sNoProxyFor
=
(
const
sal_Unicode
*
)
aNoProxyFor
.
utf16
(
);
sNoProxyFor
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aNoProxyFor
.
utf16
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sNoProxyFor
)
);
}
...
...
shell/source/backends/kdebe/kdeaccess.cxx
Dosyayı görüntüle @
d8ba942b
...
...
@@ -53,7 +53,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
aClientProgram
=
"kmail"
;
else
aClientProgram
=
aClientProgram
.
section
(
SPACE
,
0
,
0
);
sClientProgram
=
(
const
sal_Unicode
*
)
aClientProgram
.
ucs2
(
);
sClientProgram
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aClientProgram
.
ucs2
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sClientProgram
)
);
}
else
if
(
id
==
"SourceViewFontHeight"
)
...
...
@@ -73,7 +73,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
aFixedFont
=
KGlobalSettings
::
fixedFont
();
aFontName
=
aFixedFont
.
family
();
sFontName
=
(
const
sal_Unicode
*
)
aFontName
.
ucs2
(
);
sFontName
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aFontName
.
ucs2
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sFontName
)
);
}
else
if
(
id
==
"EnableATToolSupport"
)
...
...
@@ -89,7 +89,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
OUString
sDocumentsURL
;
if
(
aDocumentsDir
.
endsWith
(
QChar
(
'/'
))
)
aDocumentsDir
.
truncate
(
aDocumentsDir
.
length
()
-
1
);
sDocumentsDir
=
(
const
sal_Unicode
*
)
aDocumentsDir
.
ucs2
(
);
sDocumentsDir
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aDocumentsDir
.
ucs2
()
);
osl_getFileURLFromSystemPath
(
sDocumentsDir
.
pData
,
&
sDocumentsURL
.
pData
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sDocumentsURL
)
);
...
...
@@ -115,7 +115,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
if
(
!
aFTPProxy
.
isEmpty
()
)
{
KURL
aProxy
(
aFTPProxy
);
OUString
sProxy
=
(
const
sal_Unicode
*
)
aProxy
.
host
().
ucs2
(
);
OUString
sProxy
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aProxy
.
host
().
ucs2
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sProxy
)
);
}
...
...
@@ -167,7 +167,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
if
(
!
aHTTPProxy
.
isEmpty
()
)
{
KURL
aProxy
(
aHTTPProxy
);
OUString
sProxy
=
(
const
sal_Unicode
*
)
aProxy
.
host
().
ucs2
(
);
OUString
sProxy
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aProxy
.
host
().
ucs2
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sProxy
)
);
}
...
...
@@ -219,7 +219,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
if
(
!
aHTTPSProxy
.
isEmpty
()
)
{
KURL
aProxy
(
aHTTPSProxy
);
OUString
sProxy
=
(
const
sal_Unicode
*
)
aProxy
.
host
().
ucs2
(
);
OUString
sProxy
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aProxy
.
host
().
ucs2
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sProxy
)
);
}
...
...
@@ -267,7 +267,7 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
OUString
sNoProxyFor
;
aNoProxyFor
=
aNoProxyFor
.
replace
(
COMMA
,
SEMI_COLON
);
sNoProxyFor
=
(
const
sal_Unicode
*
)
aNoProxyFor
.
ucs2
(
);
sNoProxyFor
=
reinterpret_cast
<
const
sal_Unicode
*>
(
aNoProxyFor
.
ucs2
()
);
return
css
::
beans
::
Optional
<
css
::
uno
::
Any
>
(
true
,
uno
::
makeAny
(
sNoProxyFor
)
);
}
...
...
shell/source/backends/macbe/macbackend.mm
Dosyayı görüntüle @
d8ba942b
...
...
@@ -184,7 +184,7 @@ rtl::OUString CFStringToOUString(const CFStringRef sOrig) {
CFRelease(sOrig);
return rtl::OUString::createFromAscii(
(sal_Char*)
sBuffer);
return rtl::OUString::createFromAscii(sBuffer);
}
rtl::OUString GetOUString( NSString* pStr )
...
...
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