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
89f08dce
Kaydet (Commit)
89f08dce
authored
Tem 27, 2012
tarafından
Michael Stahl
Kaydeden (comit)
Michael Stahl
Tem 27, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sd, sfx2, writerfilter, xmloff: fix some warnings
üst
4c3501cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 deletions
+17
-5
sdpage.cxx
sd/source/core/sdpage.cxx
+3
-3
pptanimations.hxx
sd/source/filter/ppt/pptanimations.hxx
+1
-1
OOXMLFastTokenHandler.cxx
writerfilter/source/ooxml/OOXMLFastTokenHandler.cxx
+12
-0
weighhdl.cxx
xmloff/source/style/weighhdl.cxx
+1
-1
No files found.
sd/source/core/sdpage.cxx
Dosyayı görüntüle @
89f08dce
...
...
@@ -1384,7 +1384,7 @@ void findAutoLayoutShapesImpl( SdPage& rPage, const LayoutDescriptor& rDescripto
bool
bMissing
=
false
;
// for each entry in the layoutdescriptor, arrange a presentation shape
for
(
i
=
0
;
(
i
<
PRESOBJ_MAX
)
&&
(
rDescriptor
.
meKind
[
i
]
!=
PRESOBJ_NONE
);
i
++
)
for
(
i
=
0
;
(
i
<
MAX_PRESOBJS
)
&&
(
rDescriptor
.
meKind
[
i
]
!=
PRESOBJ_NONE
);
i
++
)
{
PresObjKind
eKind
=
rDescriptor
.
meKind
[
i
];
SdrObject
*
pObj
=
0
;
...
...
@@ -1406,7 +1406,7 @@ void findAutoLayoutShapesImpl( SdPage& rPage, const LayoutDescriptor& rDescripto
if
(
bMissing
&&
bInit
)
{
// for each entry in the layoutdescriptor, look for an alternative shape
for
(
i
=
0
;
(
i
<
PRESOBJ_MAX
)
&&
(
rDescriptor
.
meKind
[
i
]
!=
PRESOBJ_NONE
);
i
++
)
for
(
i
=
0
;
(
i
<
MAX_PRESOBJS
)
&&
(
rDescriptor
.
meKind
[
i
]
!=
PRESOBJ_NONE
);
i
++
)
{
if
(
rShapes
[
i
]
)
continue
;
...
...
@@ -1566,7 +1566,7 @@ void SdPage::SetAutoLayout(AutoLayout eLayout, sal_Bool bInit, sal_Bool bCreate
int
i
;
// for each entry in the layoutdescriptor, arrange a presentation shape
for
(
i
=
0
;
(
i
<
PRESOBJ_MAX
)
&&
(
aDescriptor
.
meKind
[
i
]
!=
PRESOBJ_NONE
);
i
++
)
for
(
i
=
0
;
(
i
<
MAX_PRESOBJS
)
&&
(
aDescriptor
.
meKind
[
i
]
!=
PRESOBJ_NONE
);
i
++
)
{
PresObjKind
eKind
=
aDescriptor
.
meKind
[
i
];
SdrObject
*
pObj
=
InsertAutoLayoutShape
(
aLayoutShapes
[
i
],
eKind
,
aDescriptor
.
mbVertical
[
i
],
aRectangle
[
i
],
bInit
);
...
...
sd/source/filter/ppt/pptanimations.hxx
Dosyayı görüntüle @
89f08dce
...
...
@@ -112,7 +112,7 @@ namespace ppt
#define DFF_ANIM_GROUP_ID 19
#define DFF_ANIM_NODE_TYPE 20
#define DFF_ANIM_VOLUME 22
#define DFF_ANIM_PROPERTY_ID_COUNT
DFF_ANIM_VOLUME
#define DFF_ANIM_PROPERTY_ID_COUNT
(DFF_ANIM_VOLUME + 1)
// property types
#define DFF_ANIM_PROP_TYPE_BYTE 0
...
...
writerfilter/source/ooxml/OOXMLFastTokenHandler.cxx
Dosyayı görüntüle @
89f08dce
...
...
@@ -63,6 +63,8 @@ OUString SAL_CALL OOXMLFastTokenHandler::getIdentifier(::sal_Int32 Token)
{
OUString
sResult
;
#if 0
//FIXME this is broken: tokenmap::wordlist is not indexed by Token!
if ( Token >= 0 || Token < OOXML_FAST_TOKENS_END )
{
static OUString aTokens[OOXML_FAST_TOKENS_END];
...
...
@@ -71,6 +73,9 @@ OUString SAL_CALL OOXMLFastTokenHandler::getIdentifier(::sal_Int32 Token)
aTokens[Token] = OUString::createFromAscii
(tokenmap::wordlist[Token].name);
}
#else
(
void
)
Token
;
#endif
return
sResult
;
}
...
...
@@ -78,10 +83,17 @@ OUString SAL_CALL OOXMLFastTokenHandler::getIdentifier(::sal_Int32 Token)
css
::
uno
::
Sequence
<
::
sal_Int8
>
SAL_CALL
OOXMLFastTokenHandler
::
getUTF8Identifier
(
::
sal_Int32
Token
)
throw
(
css
::
uno
::
RuntimeException
)
{
#if 0
if ( Token < 0 || Token >= OOXML_FAST_TOKENS_END )
#endif
return
css
::
uno
::
Sequence
<
::
sal_Int8
>
();
#if 0
//FIXME this is broken: tokenmap::wordlist is not indexed by Token!
return css::uno::Sequence< ::sal_Int8 >(reinterpret_cast< const sal_Int8 *>(tokenmap::wordlist[Token].name), strlen(tokenmap::wordlist[Token].name));
#else
(
void
)
Token
;
#endif
}
::
sal_Int32
SAL_CALL
OOXMLFastTokenHandler
::
getTokenFromUTF8
...
...
xmloff/source/style/weighhdl.cxx
Dosyayı görüntüle @
89f08dce
...
...
@@ -109,7 +109,7 @@ sal_Bool XMLFontWeightPropHdl::importXML( const OUString& rStrImpValue, Any& rVa
{
bRet
=
sal_False
;
static
int
nCount
=
sizeof
(
aFontWeightMap
)
/
sizeof
(
FontWeightMapper
);
for
(
int
i
=
0
;
i
<
nCount
;
i
++
)
for
(
int
i
=
0
;
i
<
(
nCount
-
1
);
++
i
)
{
if
(
(
nWeight
>=
aFontWeightMap
[
i
].
nValue
)
&&
(
nWeight
<=
aFontWeightMap
[
i
+
1
].
nValue
)
)
{
...
...
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