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
26671ac0
Kaydet (Commit)
26671ac0
authored
Mar 04, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Mar 04, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
adapt script to use setProperty instead of <<=
üst
43ff7882
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
generatePresetsCXX.pl
oox/source/drawingml/customshapes/generatePresetsCXX.pl
+1
-1
propertymap.cxx
oox/source/helper/propertymap.cxx
+3
-3
No files found.
oox/source/drawingml/customshapes/generatePresetsCXX.pl
Dosyayı görüntüle @
26671ac0
...
...
@@ -130,7 +130,7 @@ sub generateSource
print
OUT
" {\n"
;
print
OUT
" PropertyMap aPropertyMap;\n\n"
;
print
OUT
@
{
$sources
->
{
$shape
}};
print
OUT
" aPropertyMap
[ PROP_Type ] <<= OUString(\"ooxml-"
,
$shape
,
"\"
);\n\n"
;
print
OUT
" aPropertyMap
.setProperty( PROP_Type, OUString(\"ooxml-"
,
$shape
,
"\")
);\n\n"
;
print
OUT
" return aPropertyMap;\n"
;
print
OUT
" }\n"
;
print
OUT
"};\n"
;
...
...
oox/source/helper/propertymap.cxx
Dosyayı görüntüle @
26671ac0
...
...
@@ -767,9 +767,9 @@ static const char* lclDumpAnyValueCode( Any value, int level = 0)
fprintf
(
stderr
,
"%f
\n
"
,
floatValue
);
else
if
(
value
>>=
boolValue
)
{
if
(
boolValue
)
return
"
Any ((sal_Bool) sal_True)
"
;
return
"
(sal_Bool) sal_True
"
;
else
return
"
Any ((sal_Bool) sal_False)
"
;
return
"
(sal_Bool) sal_False
"
;
}
else
if
(
value
>>=
xNumRule
)
{
fprintf
(
stderr
,
"XIndexReplace
\n
"
);
...
...
@@ -882,7 +882,7 @@ void PropertyMap::dumpCode( Reference< XPropertySet > rXPropSet )
fprintf
(
stderr
,
"{
\n
"
);
const
char
*
var
=
lclDumpAnyValueCode
(
rXPropSet
->
getPropertyValue
(
props
[
i
].
Name
),
level
+
1
);
printLevel
(
level
+
1
);
fprintf
(
stderr
,
"aPropertyMap
[PROP_%s] <<= %s
;
\n
"
,
name
.
getStr
(),
var
);
fprintf
(
stderr
,
"aPropertyMap
.setProperty(PROP_%s, %s)
;
\n
"
,
name
.
getStr
(),
var
);
printLevel
(
level
);
fprintf
(
stderr
,
"}
\n
"
);
}
catch
(
const
Exception
&
)
{
...
...
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