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
d1649c52
Kaydet (Commit)
d1649c52
authored
Eyl 17, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sc/inc/servuno.hxx from String to OUString
Change-Id: I199f60167d39b5e079fe429a3c787aad03a446ec
üst
d109f166
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
servuno.hxx
sc/inc/servuno.hxx
+1
-2
servuno.cxx
sc/source/ui/unoobj/servuno.cxx
+4
-4
No files found.
sc/inc/servuno.hxx
Dosyayı görüntüle @
d1649c52
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Sequence.hxx>
class
String
;
class
ScDocShell
;
class
ScDocShell
;
...
@@ -102,7 +101,7 @@ public:
...
@@ -102,7 +101,7 @@ public:
static
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
static
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>
MakeInstance
(
sal_uInt16
nType
,
ScDocShell
*
pDocShell
);
MakeInstance
(
sal_uInt16
nType
,
ScDocShell
*
pDocShell
);
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
GetAllServiceNames
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
GetAllServiceNames
();
static
sal_uInt16
GetProviderType
(
const
String
&
rServiceName
);
static
sal_uInt16
GetProviderType
(
const
OU
String
&
rServiceName
);
};
};
...
...
sc/source/ui/unoobj/servuno.cxx
Dosyayı görüntüle @
d1649c52
...
@@ -384,15 +384,15 @@ static const sal_Char* aOldNames[SC_SERVICE_COUNT] =
...
@@ -384,15 +384,15 @@ static const sal_Char* aOldNames[SC_SERVICE_COUNT] =
// alles static
// alles static
sal_uInt16
ScServiceProvider
::
GetProviderType
(
const
String
&
rServiceName
)
sal_uInt16
ScServiceProvider
::
GetProviderType
(
const
OU
String
&
rServiceName
)
{
{
if
(
rServiceName
.
Len
())
if
(
!
rServiceName
.
isEmpty
())
{
{
const
sal_uInt16
nEntries
=
const
sal_uInt16
nEntries
=
sizeof
(
aProvNamesId
)
/
sizeof
(
aProvNamesId
[
0
]);
sizeof
(
aProvNamesId
)
/
sizeof
(
aProvNamesId
[
0
]);
for
(
sal_uInt16
i
=
0
;
i
<
nEntries
;
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
nEntries
;
i
++
)
{
{
if
(
rServiceName
.
E
qualsAscii
(
aProvNamesId
[
i
].
pName
))
if
(
rServiceName
.
e
qualsAscii
(
aProvNamesId
[
i
].
pName
))
{
{
return
aProvNamesId
[
i
].
nType
;
return
aProvNamesId
[
i
].
nType
;
}
}
...
@@ -402,7 +402,7 @@ sal_uInt16 ScServiceProvider::GetProviderType(const String& rServiceName)
...
@@ -402,7 +402,7 @@ sal_uInt16 ScServiceProvider::GetProviderType(const String& rServiceName)
for
(
i
=
0
;
i
<
SC_SERVICE_COUNT
;
i
++
)
for
(
i
=
0
;
i
<
SC_SERVICE_COUNT
;
i
++
)
{
{
OSL_ENSURE
(
aOldNames
[
i
],
"ScServiceProvider::GetProviderType: no oldname => crash"
);
OSL_ENSURE
(
aOldNames
[
i
],
"ScServiceProvider::GetProviderType: no oldname => crash"
);
if
(
rServiceName
.
E
qualsAscii
(
aOldNames
[
i
]
))
if
(
rServiceName
.
e
qualsAscii
(
aOldNames
[
i
]
))
{
{
OSL_FAIL
(
"old service name used"
);
OSL_FAIL
(
"old service name used"
);
return
i
;
return
i
;
...
...
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