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
378dd762
Kaydet (Commit)
378dd762
authored
Nis 27, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More loplugin:simplifybool
Change-Id: Ibfa82d0d397b87b1ca46f1edf9ad7609f8fa4167
üst
2339a5bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
titleconverter.cxx
oox/source/drawingml/chart/titleconverter.cxx
+1
-1
vmlinputstream.cxx
oox/source/vml/vmlinputstream.cxx
+5
-5
No files found.
oox/source/drawingml/chart/titleconverter.cxx
Dosyayı görüntüle @
378dd762
...
@@ -245,7 +245,7 @@ void LegendConverter::convertFromModel( const Reference< XDiagram >& rxDiagram )
...
@@ -245,7 +245,7 @@ void LegendConverter::convertFromModel( const Reference< XDiagram >& rxDiagram )
aPropSet
.
setProperty
(
PROP_AnchorPosition
,
eLegendPos
);
aPropSet
.
setProperty
(
PROP_AnchorPosition
,
eLegendPos
);
aPropSet
.
setProperty
(
PROP_Expansion
,
eLegendExpand
);
aPropSet
.
setProperty
(
PROP_Expansion
,
eLegendExpand
);
if
(
eLegendPos
==
LegendPosition_CUSTOM
&&
bTopRight
&&
bManualLayout
==
false
)
if
(
eLegendPos
==
LegendPosition_CUSTOM
&&
bTopRight
&&
!
bManualLayout
)
aPropSet
.
setProperty
(
PROP_RelativePosition
,
makeAny
(
eRelPos
));
aPropSet
.
setProperty
(
PROP_RelativePosition
,
makeAny
(
eRelPos
));
}
}
catch
(
Exception
&
)
catch
(
Exception
&
)
...
...
oox/source/vml/vmlinputstream.cxx
Dosyayı görüntüle @
378dd762
...
@@ -93,19 +93,19 @@ void lclProcessAttribs( OStringBuffer& rBuffer, const sal_Char* pcBeg, const sal
...
@@ -93,19 +93,19 @@ void lclProcessAttribs( OStringBuffer& rBuffer, const sal_Char* pcBeg, const sal
{
{
// pcNameBeg points to begin of attribute name, find equality sign
// pcNameBeg points to begin of attribute name, find equality sign
const
sal_Char
*
pcEqualSign
=
lclFindCharacter
(
pcNameBeg
,
pcEnd
,
'='
);
const
sal_Char
*
pcEqualSign
=
lclFindCharacter
(
pcNameBeg
,
pcEnd
,
'='
);
if
((
bOk
=
(
pcEqualSign
<
pcEnd
))
==
true
)
if
((
bOk
=
(
pcEqualSign
<
pcEnd
)))
{
{
// find end of attribute name (ignore whitespace between name and equality sign)
// find end of attribute name (ignore whitespace between name and equality sign)
const
sal_Char
*
pcNameEnd
=
lclTrimWhiteSpaceFromEnd
(
pcNameBeg
,
pcEqualSign
);
const
sal_Char
*
pcNameEnd
=
lclTrimWhiteSpaceFromEnd
(
pcNameBeg
,
pcEqualSign
);
if
(
(
bOk
=
(
pcNameBeg
<
pcNameEnd
))
==
true
)
if
(
(
bOk
=
(
pcNameBeg
<
pcNameEnd
))
)
{
{
// find begin of attribute value (must be single or double quote)
// find begin of attribute value (must be single or double quote)
const
sal_Char
*
pcValueBeg
=
lclFindNonWhiteSpace
(
pcEqualSign
+
1
,
pcEnd
);
const
sal_Char
*
pcValueBeg
=
lclFindNonWhiteSpace
(
pcEqualSign
+
1
,
pcEnd
);
if
(
(
bOk
=
(
pcValueBeg
<
pcEnd
)
&&
((
*
pcValueBeg
==
'\''
)
||
(
*
pcValueBeg
==
'"'
)))
==
true
)
if
(
(
bOk
=
(
pcValueBeg
<
pcEnd
)
&&
((
*
pcValueBeg
==
'\''
)
||
(
*
pcValueBeg
==
'"'
)))
)
{
{
// find end of attribute value (matching quote character)
// find end of attribute value (matching quote character)
const
sal_Char
*
pcValueEnd
=
lclFindCharacter
(
pcValueBeg
+
1
,
pcEnd
,
*
pcValueBeg
);
const
sal_Char
*
pcValueEnd
=
lclFindCharacter
(
pcValueBeg
+
1
,
pcEnd
,
*
pcValueBeg
);
if
(
(
bOk
=
(
pcValueEnd
<
pcEnd
))
==
true
)
if
(
(
bOk
=
(
pcValueEnd
<
pcEnd
))
)
{
{
++
pcValueEnd
;
++
pcValueEnd
;
OString
aAttribName
(
pcNameBeg
,
static_cast
<
sal_Int32
>
(
pcNameEnd
-
pcNameBeg
)
);
OString
aAttribName
(
pcNameBeg
,
static_cast
<
sal_Int32
>
(
pcNameEnd
-
pcNameBeg
)
);
...
@@ -120,7 +120,7 @@ void lclProcessAttribs( OStringBuffer& rBuffer, const sal_Char* pcBeg, const sal
...
@@ -120,7 +120,7 @@ void lclProcessAttribs( OStringBuffer& rBuffer, const sal_Char* pcBeg, const sal
aAttributes
[
pcNameBeg
]
=
aAttribData
;
aAttributes
[
pcNameBeg
]
=
aAttribData
;
// continue with next attribute (skip whitespace after this attribute)
// continue with next attribute (skip whitespace after this attribute)
pcNameBeg
=
pcValueEnd
;
pcNameBeg
=
pcValueEnd
;
if
(
(
pcNameBeg
<
pcEnd
)
&&
((
bOk
=
lclIsWhiteSpace
(
*
pcNameBeg
))
==
true
)
)
if
(
(
pcNameBeg
<
pcEnd
)
&&
((
bOk
=
lclIsWhiteSpace
(
*
pcNameBeg
)))
)
pcNameBeg
=
lclFindNonWhiteSpace
(
pcNameBeg
+
1
,
pcEnd
);
pcNameBeg
=
lclFindNonWhiteSpace
(
pcNameBeg
+
1
,
pcEnd
);
}
}
}
}
...
...
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