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
63b90217
Kaydet (Commit)
63b90217
authored
Haz 01, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid temporary OUStrings
Change-Id: I02f26228f0f9068ce7f497913fb36ac8945e785b
üst
2932e45b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
unocoll.cxx
sw/source/core/unocore/unocoll.cxx
+3
-4
No files found.
sw/source/core/unocore/unocoll.cxx
Dosyayı görüntüle @
63b90217
...
...
@@ -608,7 +608,7 @@ uno::Reference< uno::XInterface > SwXServiceProvider::MakeInstance(sal_uInt16
{
uno
::
Sequence
<
uno
::
Any
>
aArgs
(
1
);
aArgs
[
0
]
<<=
pDoc
->
GetDocShell
()
->
GetModel
();
aGlobs
<<=
::
comphelper
::
getProcessServiceFactory
()
->
createInstanceWithArguments
(
OUString
(
"ooo.vba.word.Globals"
)
,
aArgs
);
aGlobs
<<=
::
comphelper
::
getProcessServiceFactory
()
->
createInstanceWithArguments
(
"ooo.vba.word.Globals"
,
aArgs
);
pDoc
->
GetDocShell
()
->
GetBasicManager
()
->
SetGlobalUNOConstant
(
"VBAGlobals"
,
aGlobs
);
}
aGlobs
>>=
xRet
;
...
...
@@ -1465,21 +1465,20 @@ uno::Any SwXTextSections::getByIndex(sal_Int32 nIndex)
return
makeAny
(
xRet
);
}
uno
::
Any
SwXTextSections
::
getByName
(
const
OUString
&
Name
)
uno
::
Any
SwXTextSections
::
getByName
(
const
OUString
&
r
Name
)
throw
(
NoSuchElementException
,
WrappedTargetException
,
uno
::
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
uno
::
Any
aRet
;
if
(
IsValid
())
{
OUString
aName
(
Name
);
SwSectionFmts
&
rFmts
=
GetDoc
()
->
GetSections
();
uno
::
Reference
<
XTextSection
>
xSect
;
for
(
size_t
i
=
0
;
i
<
rFmts
.
size
();
++
i
)
{
SwSectionFmt
*
pFmt
=
rFmts
[
i
];
if
(
pFmt
->
IsInNodesArr
()
&&
(
a
Name
==
pFmt
->
GetSection
()
->
GetSectionName
()))
&&
(
r
Name
==
pFmt
->
GetSection
()
->
GetSectionName
()))
{
xSect
=
GetObject
(
*
pFmt
);
aRet
.
setValue
(
&
xSect
,
cppu
::
UnoType
<
XTextSection
>::
get
());
...
...
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