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
c471556c
Kaydet (Commit)
c471556c
authored
Şub 26, 2012
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid temporary rtl::OUString in sd
üst
996f44c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
sddetect.cxx
sd/source/ui/unoidl/sddetect.cxx
+11
-11
unomodel.cxx
sd/source/ui/unoidl/unomodel.cxx
+2
-2
No files found.
sd/source/ui/unoidl/sddetect.cxx
Dosyayı görüntüle @
c471556c
...
...
@@ -128,42 +128,42 @@ SdFilterDetect::~SdFilterDetect()
for
(
sal_Int32
nProperty
=
0
;
nProperty
<
nPropertyCount
;
++
nProperty
)
{
// extract properties
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"URL"
))
)
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"URL"
))
)
{
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aURL
=
sTemp
;
}
else
if
(
!
aURL
.
Len
()
&&
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"FileName"
))
)
else
if
(
!
aURL
.
Len
()
&&
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"FileName"
))
)
{
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aURL
=
sTemp
;
}
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"TypeName"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"TypeName"
))
)
{
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aTypeName
=
sTemp
;
}
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"FilterName"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"FilterName"
))
)
{
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aPreselectedFilterName
=
sTemp
;
}
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"InputStream"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"InputStream"
))
)
nIndexOfInputStream
=
nProperty
;
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"ReadOnly"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"ReadOnly"
))
)
nIndexOfReadOnlyFlag
=
nProperty
;
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"UCBContent"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"UCBContent"
))
)
nIndexOfContent
=
nProperty
;
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"AsTemplate"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"AsTemplate"
))
)
{
lDescriptor
[
nProperty
].
Value
>>=
bOpenAsTemplate
;
nIndexOfTemplateFlag
=
nProperty
;
}
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"InteractionHandler"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"InteractionHandler"
))
)
lDescriptor
[
nProperty
].
Value
>>=
xInteraction
;
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"RepairPackage"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"RepairPackage"
))
)
lDescriptor
[
nProperty
].
Value
>>=
bRepairPackage
;
else
if
(
lDescriptor
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_U
STRINGPARAM
(
"DocumentTitle"
))
)
else
if
(
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_
STRINGPARAM
(
"DocumentTitle"
))
)
nIndexOfDocumentTitle
=
nProperty
;
}
...
...
sd/source/ui/unoidl/unomodel.cxx
Dosyayı görüntüle @
c471556c
...
...
@@ -1804,9 +1804,9 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
for
(
sal_Int32
nProperty
=
0
,
nPropertyCount
=
rxOptions
.
getLength
();
nProperty
<
nPropertyCount
;
++
nProperty
)
{
if
(
rxOptions
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"RenderDevice"
)
)
)
if
(
rxOptions
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"RenderDevice"
)
)
)
rxOptions
[
nProperty
].
Value
>>=
xRenderDevice
;
else
if
(
rxOptions
[
nProperty
].
Name
==
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ExportNotesPages"
)
)
)
else
if
(
rxOptions
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"ExportNotesPages"
)
)
)
{
rxOptions
[
nProperty
].
Value
>>=
bExportNotesPages
;
if
(
bExportNotesPages
)
...
...
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