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
0f867ad0
Kaydet (Commit)
0f867ad0
authored
Ara 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dtrans: Use appropriate OUString functions on string constants
Change-Id: I47f5431483f3dfce3bb4d1e956cbe3ab226a1cfc
üst
1322c224
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
mcnttype.cxx
dtrans/source/cnttype/mcnttype.cxx
+2
-2
mctfentry.cxx
dtrans/source/cnttype/mctfentry.cxx
+1
-4
No files found.
dtrans/source/cnttype/mcnttype.cxx
Dosyayı görüntüle @
0f867ad0
...
@@ -290,7 +290,7 @@ OUString SAL_CALL CMimeContentType::quotedPValue( )
...
@@ -290,7 +290,7 @@ OUString SAL_CALL CMimeContentType::quotedPValue( )
{
{
break
;
break
;
}
}
else
if
(
isInRange
(
m_nxtSym
,
OUString
(
TOKEN
)
+
OUString
(
TSPECIALS
)
+
OUString
(
SPACE
)
)
)
else
if
(
isInRange
(
m_nxtSym
,
OUString
Literal
(
TOKEN
)
+
TSPECIALS
+
SPACE
)
)
{
{
pvalue
+=
m_nxtSym
;
pvalue
+=
m_nxtSym
;
if
(
m_nxtSym
==
"
\"
"
)
if
(
m_nxtSym
==
"
\"
"
)
...
@@ -329,7 +329,7 @@ void SAL_CALL CMimeContentType::comment( void )
...
@@ -329,7 +329,7 @@ void SAL_CALL CMimeContentType::comment( void )
{
{
while
(
!
m_nxtSym
.
isEmpty
(
)
)
while
(
!
m_nxtSym
.
isEmpty
(
)
)
{
{
if
(
isInRange
(
m_nxtSym
,
OUString
(
TOKEN
)
+
OUString
(
SPACE
)
)
)
if
(
isInRange
(
m_nxtSym
,
OUString
Literal
(
TOKEN
)
+
SPACE
)
)
getSym
(
);
getSym
(
);
else
if
(
m_nxtSym
==
")"
)
else
if
(
m_nxtSym
==
")"
)
break
;
break
;
...
...
dtrans/source/cnttype/mctfentry.cxx
Dosyayı görüntüle @
0f867ad0
...
@@ -25,9 +25,6 @@
...
@@ -25,9 +25,6 @@
// some defines
// some defines
// the service names
#define MIMECONTENTTYPEFACTORY_SERVICE_NAME "com.sun.star.datatransfer.MimeContentTypeFactory"
// the implementation names
// the implementation names
#define MIMECONTENTTYPEFACTORY_IMPL_NAME "com.sun.star.datatransfer.MimeCntTypeFactory"
#define MIMECONTENTTYPEFACTORY_IMPL_NAME "com.sun.star.datatransfer.MimeCntTypeFactory"
...
@@ -67,7 +64,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL mcnttype_component_getFactory( const sal_Cha
...
@@ -67,7 +64,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL mcnttype_component_getFactory( const sal_Cha
if
(
pSrvManager
&&
(
0
==
rtl_str_compare
(
pImplName
,
MIMECONTENTTYPEFACTORY_IMPL_NAME
)
)
)
if
(
pSrvManager
&&
(
0
==
rtl_str_compare
(
pImplName
,
MIMECONTENTTYPEFACTORY_IMPL_NAME
)
)
)
{
{
Sequence
<
OUString
>
aSNS
(
1
);
Sequence
<
OUString
>
aSNS
(
1
);
aSNS
.
getArray
(
)[
0
]
=
OUString
(
MIMECONTENTTYPEFACTORY_SERVICE_NAME
)
;
aSNS
.
getArray
(
)[
0
]
=
"com.sun.star.datatransfer.MimeContentTypeFactory"
;
Reference
<
XSingleServiceFactory
>
xFactory
(
createSingleFactory
(
Reference
<
XSingleServiceFactory
>
xFactory
(
createSingleFactory
(
reinterpret_cast
<
XMultiServiceFactory
*
>
(
pSrvManager
),
reinterpret_cast
<
XMultiServiceFactory
*
>
(
pSrvManager
),
...
...
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