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
6a73e43b
Kaydet (Commit)
6a73e43b
authored
Eki 29, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
MetaCommentAction now using rtl::OString
üst
67cf9cbe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
metafileprimitive2d.cxx
drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+2
-2
svdfmtf.cxx
svx/source/svdraw/svdfmtf.cxx
+2
-2
xmlgrhlp.cxx
svx/source/xml/xmlgrhlp.cxx
+1
-2
No files found.
drawinglayer/source/primitive2d/metafileprimitive2d.cxx
Dosyayı görüntüle @
6a73e43b
...
@@ -3107,7 +3107,7 @@ namespace
...
@@ -3107,7 +3107,7 @@ namespace
// and makes the code less dependent from those Metafile Add-Ons
// and makes the code less dependent from those Metafile Add-Ons
const
MetaCommentAction
*
pA
=
(
const
MetaCommentAction
*
)
pAction
;
const
MetaCommentAction
*
pA
=
(
const
MetaCommentAction
*
)
pAction
;
if
(
COMPARE_EQUAL
==
pA
->
GetComment
().
CompareIgnoreCaseToAscii
(
"XGRAD_SEQ_BEGIN"
))
if
(
pA
->
GetComment
().
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"XGRAD_SEQ_BEGIN"
)
))
{
{
// XGRAD_SEQ_BEGIN, XGRAD_SEQ_END should be supported since the
// XGRAD_SEQ_BEGIN, XGRAD_SEQ_END should be supported since the
// pure recorded paint of the gradients uses the XOR paint functionality
// pure recorded paint of the gradients uses the XOR paint functionality
...
@@ -3127,7 +3127,7 @@ namespace
...
@@ -3127,7 +3127,7 @@ namespace
}
}
else
if
(
META_COMMENT_ACTION
==
pAction
->
GetType
())
else
if
(
META_COMMENT_ACTION
==
pAction
->
GetType
())
{
{
if
(
COMPARE_EQUAL
==
((
const
MetaCommentAction
*
)
pAction
)
->
GetComment
().
CompareIgnoreCaseToAscii
(
"XGRAD_SEQ_END"
))
if
(((
const
MetaCommentAction
*
)
pAction
)
->
GetComment
().
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"XGRAD_SEQ_END"
)
))
{
{
bDone
=
true
;
bDone
=
true
;
}
}
...
...
svx/source/svdraw/svdfmtf.cxx
Dosyayı görüntüle @
6a73e43b
...
@@ -956,7 +956,7 @@ void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pM
...
@@ -956,7 +956,7 @@ void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pM
{
{
ByteString
aSkipComment
;
ByteString
aSkipComment
;
if
(
rAct
.
GetComment
().
CompareIgnoreCaseToAscii
(
"XGRAD_SEQ_BEGIN"
)
==
COMPARE_EQUAL
)
if
(
rAct
.
GetComment
().
equalsIgnoreAsciiCaseAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"XGRAD_SEQ_BEGIN"
))
)
{
{
MetaGradientExAction
*
pAct
=
(
MetaGradientExAction
*
)
pMtf
->
NextAction
();
MetaGradientExAction
*
pAct
=
(
MetaGradientExAction
*
)
pMtf
->
NextAction
();
...
@@ -1019,7 +1019,7 @@ void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pM
...
@@ -1019,7 +1019,7 @@ void ImpSdrGDIMetaFileImport::DoAction( MetaCommentAction& rAct, GDIMetaFile* pM
while
(
pSkipAct
while
(
pSkipAct
&&
((
pSkipAct
->
GetType
()
!=
META_COMMENT_ACTION
)
&&
((
pSkipAct
->
GetType
()
!=
META_COMMENT_ACTION
)
||
(((
MetaCommentAction
*
)
pSkipAct
)
->
GetComment
().
CompareIgnoreCaseToAscii
(
aSkipComment
.
GetBuffer
())
!=
COMPARE_EQUAL
)))
||
!
(((
MetaCommentAction
*
)
pSkipAct
)
->
GetComment
().
equalsIgnoreAsciiCase
(
aSkipComment
)
)))
{
{
pSkipAct
=
pMtf
->
NextAction
();
pSkipAct
=
pMtf
->
NextAction
();
}
}
...
...
svx/source/xml/xmlgrhlp.cxx
Dosyayı görüntüle @
6a73e43b
...
@@ -72,13 +72,12 @@ using ::com::sun::star::lang::XMultiServiceFactory;
...
@@ -72,13 +72,12 @@ using ::com::sun::star::lang::XMultiServiceFactory;
const
MetaCommentAction
*
ImplCheckForEPS
(
GDIMetaFile
&
rMtf
)
const
MetaCommentAction
*
ImplCheckForEPS
(
GDIMetaFile
&
rMtf
)
{
{
static
ByteString
aComment
(
(
const
sal_Char
*
)
"EPSReplacementGraphic"
);
const
MetaCommentAction
*
pComment
=
NULL
;
const
MetaCommentAction
*
pComment
=
NULL
;
if
(
(
rMtf
.
GetActionSize
()
>=
2
)
if
(
(
rMtf
.
GetActionSize
()
>=
2
)
&&
(
rMtf
.
FirstAction
()
->
GetType
()
==
META_EPS_ACTION
)
&&
(
rMtf
.
FirstAction
()
->
GetType
()
==
META_EPS_ACTION
)
&&
(
((
const
MetaAction
*
)
rMtf
.
GetAction
(
1
))
->
GetType
()
==
META_COMMENT_ACTION
)
&&
(
((
const
MetaAction
*
)
rMtf
.
GetAction
(
1
))
->
GetType
()
==
META_COMMENT_ACTION
)
&&
(
((
const
MetaCommentAction
*
)
rMtf
.
GetAction
(
1
))
->
GetComment
()
==
aComment
)
)
&&
(
((
const
MetaCommentAction
*
)
rMtf
.
GetAction
(
1
))
->
GetComment
()
.
equalsL
(
RTL_CONSTASCII_STRINGPARAM
(
"EPSReplacementGraphic"
))
)
)
pComment
=
(
const
MetaCommentAction
*
)
rMtf
.
GetAction
(
1
);
pComment
=
(
const
MetaCommentAction
*
)
rMtf
.
GetAction
(
1
);
return
pComment
;
return
pComment
;
...
...
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