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
9acf5eab
Kaydet (Commit)
9acf5eab
authored
Kas 06, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I779e46c9c0db80485d213117028896a7e5b9e943
üst
a86b41ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
mimeconfighelper.cxx
comphelper/source/misc/mimeconfighelper.cxx
+3
-3
ofopxmlhelper.cxx
comphelper/source/xml/ofopxmlhelper.cxx
+4
-4
No files found.
comphelper/source/misc/mimeconfighelper.cxx
Dosyayı görüntüle @
9acf5eab
...
@@ -150,7 +150,7 @@ uno::Reference< container::XNameAccess > MimeConfigurationHelper::GetObjConfigur
...
@@ -150,7 +150,7 @@ uno::Reference< container::XNameAccess > MimeConfigurationHelper::GetObjConfigur
if
(
!
m_xObjectConfig
.
is
()
)
if
(
!
m_xObjectConfig
.
is
()
)
m_xObjectConfig
=
GetConfigurationByPath
(
m_xObjectConfig
=
GetConfigurationByPath
(
OUString
(
"/org.openoffice.Office.Embedding/Objects"
)
);
"/org.openoffice.Office.Embedding/Objects"
);
return
m_xObjectConfig
;
return
m_xObjectConfig
;
}
}
...
@@ -162,7 +162,7 @@ uno::Reference< container::XNameAccess > MimeConfigurationHelper::GetVerbsConfig
...
@@ -162,7 +162,7 @@ uno::Reference< container::XNameAccess > MimeConfigurationHelper::GetVerbsConfig
if
(
!
m_xVerbsConfig
.
is
()
)
if
(
!
m_xVerbsConfig
.
is
()
)
m_xVerbsConfig
=
GetConfigurationByPath
(
m_xVerbsConfig
=
GetConfigurationByPath
(
OUString
(
"/org.openoffice.Office.Embedding/Verbs"
)
);
"/org.openoffice.Office.Embedding/Verbs"
);
return
m_xVerbsConfig
;
return
m_xVerbsConfig
;
}
}
...
@@ -174,7 +174,7 @@ uno::Reference< container::XNameAccess > MimeConfigurationHelper::GetMediaTypeCo
...
@@ -174,7 +174,7 @@ uno::Reference< container::XNameAccess > MimeConfigurationHelper::GetMediaTypeCo
if
(
!
m_xMediaTypeConfig
.
is
()
)
if
(
!
m_xMediaTypeConfig
.
is
()
)
m_xMediaTypeConfig
=
GetConfigurationByPath
(
m_xMediaTypeConfig
=
GetConfigurationByPath
(
OUString
(
"/org.openoffice.Office.Embedding/MimeTypeClassIDRelations"
)
);
"/org.openoffice.Office.Embedding/MimeTypeClassIDRelations"
);
return
m_xMediaTypeConfig
;
return
m_xMediaTypeConfig
;
}
}
...
...
comphelper/source/xml/ofopxmlhelper.cxx
Dosyayı görüntüle @
9acf5eab
...
@@ -139,9 +139,9 @@ void WriteRelationsInfoSequence(
...
@@ -139,9 +139,9 @@ void WriteRelationsInfoSequence(
AttributeList
*
pRootAttrList
=
new
AttributeList
;
AttributeList
*
pRootAttrList
=
new
AttributeList
;
uno
::
Reference
<
xml
::
sax
::
XAttributeList
>
xRootAttrList
(
pRootAttrList
);
uno
::
Reference
<
xml
::
sax
::
XAttributeList
>
xRootAttrList
(
pRootAttrList
);
pRootAttrList
->
AddAttribute
(
pRootAttrList
->
AddAttribute
(
OUString
(
"xmlns"
)
,
"xmlns"
,
aCDATAString
,
aCDATAString
,
OUString
(
"http://schemas.openxmlformats.org/package/2006/relationships"
)
);
"http://schemas.openxmlformats.org/package/2006/relationships"
);
xWriter
->
startDocument
();
xWriter
->
startDocument
();
xWriter
->
startElement
(
aRelListElement
,
xRootAttrList
);
xWriter
->
startElement
(
aRelListElement
,
xRootAttrList
);
...
@@ -204,9 +204,9 @@ void WriteContentSequence(
...
@@ -204,9 +204,9 @@ void WriteContentSequence(
AttributeList
*
pRootAttrList
=
new
AttributeList
;
AttributeList
*
pRootAttrList
=
new
AttributeList
;
uno
::
Reference
<
xml
::
sax
::
XAttributeList
>
xRootAttrList
(
pRootAttrList
);
uno
::
Reference
<
xml
::
sax
::
XAttributeList
>
xRootAttrList
(
pRootAttrList
);
pRootAttrList
->
AddAttribute
(
pRootAttrList
->
AddAttribute
(
OUString
(
"xmlns"
)
,
"xmlns"
,
aCDATAString
,
aCDATAString
,
OUString
(
"http://schemas.openxmlformats.org/package/2006/content-types"
)
);
"http://schemas.openxmlformats.org/package/2006/content-types"
);
xWriter
->
startDocument
();
xWriter
->
startDocument
();
xWriter
->
startElement
(
aTypesElement
,
xRootAttrList
);
xWriter
->
startElement
(
aTypesElement
,
xRootAttrList
);
...
...
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