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
14ca2a85
Kaydet (Commit)
14ca2a85
authored
Tem 05, 2012
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin RTL_CONSTASCII_USTRINGPARAM
Change-Id: Idba2f900f962da57f9e9254b71b68f9b64f6ba6c
üst
b25385a6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
24 deletions
+24
-24
CDRImportFilter.cxx
writerperfect/source/draw/CDRImportFilter.cxx
+6
-6
CMXImportFilter.cxx
writerperfect/source/draw/CMXImportFilter.cxx
+6
-6
MSPUBImportFilter.cxx
writerperfect/source/draw/MSPUBImportFilter.cxx
+6
-6
VisioImportFilter.cxx
writerperfect/source/draw/VisioImportFilter.cxx
+6
-6
No files found.
writerperfect/source/draw/CDRImportFilter.cxx
Dosyayı görüntüle @
14ca2a85
...
...
@@ -86,7 +86,7 @@ throw (RuntimeException)
sFileName
=
OUStringToOString
(
sURL
,
RTL_TEXTENCODING_INFO_ASCII
);
// An XML import service: what we push sax messages to..
OUString
sXMLImportService
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.XMLOasisImporter"
)
);
OUString
sXMLImportService
(
"com.sun.star.comp.Draw.XMLOasisImporter"
);
Reference
<
XDocumentHandler
>
xInternalHandler
(
comphelper
::
ComponentContext
(
mxContext
).
createComponent
(
sXMLImportService
),
UNO_QUERY
);
// The XImporter sets up an empty target document for XDocumentHandler to write to..
...
...
@@ -145,14 +145,14 @@ throw( com::sun::star::uno::RuntimeException )
WPXSvInputStream
input
(
xInputStream
);
if
(
libcdr
::
CDRDocument
::
isSupported
(
&
input
))
sTypeName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"draw_CorelDraw_Document"
)
);
sTypeName
=
OUString
(
"draw_CorelDraw_Document"
);
if
(
sTypeName
.
getLength
())
{
if
(
location
==
Descriptor
.
getLength
()
)
{
Descriptor
.
realloc
(
nLength
+
1
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TypeName"
)
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
"TypeName"
);
}
Descriptor
[
location
].
Value
<<=
sTypeName
;
...
...
@@ -190,7 +190,7 @@ throw (RuntimeException)
#ifdef DEBUG
std
::
cerr
<<
"CDRImportFilter_getImplementationName"
<<
std
::
endl
;
#endif
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.CDRImportFilter"
)
);
return
OUString
(
"com.sun.star.comp.Draw.CDRImportFilter"
);
}
#define SERVICE_NAME1 "com.sun.star.document.ImportFilter"
...
...
@@ -211,8 +211,8 @@ throw (RuntimeException)
#endif
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME1
)
);
pArray
[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME2
)
);
pArray
[
0
]
=
OUString
(
SERVICE_NAME1
);
pArray
[
1
]
=
OUString
(
SERVICE_NAME2
);
return
aRet
;
}
#undef SERVICE_NAME2
...
...
writerperfect/source/draw/CMXImportFilter.cxx
Dosyayı görüntüle @
14ca2a85
...
...
@@ -86,7 +86,7 @@ throw (RuntimeException)
sFileName
=
OUStringToOString
(
sURL
,
RTL_TEXTENCODING_INFO_ASCII
);
// An XML import service: what we push sax messages to..
OUString
sXMLImportService
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.XMLOasisImporter"
)
);
OUString
sXMLImportService
(
"com.sun.star.comp.Draw.XMLOasisImporter"
);
Reference
<
XDocumentHandler
>
xInternalHandler
(
comphelper
::
ComponentContext
(
mxContext
).
createComponent
(
sXMLImportService
),
UNO_QUERY
);
// The XImporter sets up an empty target document for XDocumentHandler to write to..
...
...
@@ -145,14 +145,14 @@ throw( com::sun::star::uno::RuntimeException )
WPXSvInputStream
input
(
xInputStream
);
if
(
libcdr
::
CMXDocument
::
isSupported
(
&
input
))
sTypeName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"draw_Corel_Presentation_Exchange"
)
);
sTypeName
=
OUString
(
"draw_Corel_Presentation_Exchange"
);
if
(
sTypeName
.
getLength
())
{
if
(
location
==
Descriptor
.
getLength
()
)
{
Descriptor
.
realloc
(
nLength
+
1
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TypeName"
)
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
"TypeName"
);
}
Descriptor
[
location
].
Value
<<=
sTypeName
;
...
...
@@ -190,7 +190,7 @@ throw (RuntimeException)
#ifdef DEBUG
std
::
cerr
<<
"CMXImportFilter_getImplementationName"
<<
std
::
endl
;
#endif
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.CMXImportFilter"
)
);
return
OUString
(
"com.sun.star.comp.Draw.CMXImportFilter"
);
}
#define SERVICE_NAME1 "com.sun.star.document.ImportFilter"
...
...
@@ -211,8 +211,8 @@ throw (RuntimeException)
#endif
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME1
)
);
pArray
[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME2
)
);
pArray
[
0
]
=
OUString
(
SERVICE_NAME1
);
pArray
[
1
]
=
OUString
(
SERVICE_NAME2
);
return
aRet
;
}
#undef SERVICE_NAME2
...
...
writerperfect/source/draw/MSPUBImportFilter.cxx
Dosyayı görüntüle @
14ca2a85
...
...
@@ -82,7 +82,7 @@ throw (RuntimeException)
sFileName
=
OUStringToOString
(
sURL
,
RTL_TEXTENCODING_INFO_ASCII
);
// An XML import service: what we push sax messages to..
OUString
sXMLImportService
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.XMLOasisImporter"
)
);
OUString
sXMLImportService
(
"com.sun.star.comp.Draw.XMLOasisImporter"
);
Reference
<
XDocumentHandler
>
xInternalHandler
(
comphelper
::
ComponentContext
(
mxContext
).
createComponent
(
sXMLImportService
),
UNO_QUERY
);
// The XImporter sets up an empty target document for XDocumentHandler to write to..
...
...
@@ -141,14 +141,14 @@ throw( com::sun::star::uno::RuntimeException )
WPXSvInputStream
input
(
xInputStream
);
if
(
libmspub
::
MSPUBDocument
::
isSupported
(
&
input
))
sTypeName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"draw_Publisher_Document"
)
);
sTypeName
=
OUString
(
"draw_Publisher_Document"
);
if
(
sTypeName
.
getLength
())
{
if
(
location
==
Descriptor
.
getLength
()
)
{
Descriptor
.
realloc
(
nLength
+
1
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TypeName"
)
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
"TypeName"
);
}
Descriptor
[
location
].
Value
<<=
sTypeName
;
...
...
@@ -186,7 +186,7 @@ throw (RuntimeException)
#ifdef DEBUG
std
::
cerr
<<
"MSPUBImportFilter_getImplementationName"
<<
std
::
endl
;
#endif
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.MSPUBImportFilter"
)
);
return
OUString
(
"com.sun.star.comp.Draw.MSPUBImportFilter"
);
}
#define SERVICE_NAME1 "com.sun.star.document.ImportFilter"
...
...
@@ -207,8 +207,8 @@ throw (RuntimeException)
#endif
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME1
)
);
pArray
[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME2
)
);
pArray
[
0
]
=
OUString
(
SERVICE_NAME1
);
pArray
[
1
]
=
OUString
(
SERVICE_NAME2
);
return
aRet
;
}
#undef SERVICE_NAME2
...
...
writerperfect/source/draw/VisioImportFilter.cxx
Dosyayı görüntüle @
14ca2a85
...
...
@@ -82,7 +82,7 @@ throw (RuntimeException)
sFileName
=
OUStringToOString
(
sURL
,
RTL_TEXTENCODING_INFO_ASCII
);
// An XML import service: what we push sax messages to..
OUString
sXMLImportService
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.XMLOasisImporter"
)
);
OUString
sXMLImportService
(
"com.sun.star.comp.Draw.XMLOasisImporter"
);
Reference
<
XDocumentHandler
>
xInternalHandler
(
comphelper
::
ComponentContext
(
mxContext
).
createComponent
(
sXMLImportService
),
UNO_QUERY
);
// The XImporter sets up an empty target document for XDocumentHandler to write to..
...
...
@@ -141,14 +141,14 @@ throw( com::sun::star::uno::RuntimeException )
WPXSvInputStream
input
(
xInputStream
);
if
(
libvisio
::
VisioDocument
::
isSupported
(
&
input
))
sTypeName
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"draw_Visio_Document"
)
);
sTypeName
=
OUString
(
"draw_Visio_Document"
);
if
(
!
sTypeName
.
isEmpty
())
{
if
(
location
==
Descriptor
.
getLength
()
)
{
Descriptor
.
realloc
(
nLength
+
1
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TypeName"
)
);
Descriptor
[
location
].
Name
=
::
rtl
::
OUString
(
"TypeName"
);
}
Descriptor
[
location
].
Value
<<=
sTypeName
;
...
...
@@ -186,7 +186,7 @@ throw (RuntimeException)
#ifdef DEBUG
std
::
cerr
<<
"VisioImportFilter_getImplementationName"
<<
std
::
endl
;
#endif
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Draw.VisioImportFilter"
)
);
return
OUString
(
"com.sun.star.comp.Draw.VisioImportFilter"
);
}
#define SERVICE_NAME1 "com.sun.star.document.ImportFilter"
...
...
@@ -207,8 +207,8 @@ throw (RuntimeException)
#endif
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME1
)
);
pArray
[
1
]
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
SERVICE_NAME2
)
);
pArray
[
0
]
=
OUString
(
SERVICE_NAME1
);
pArray
[
1
]
=
OUString
(
SERVICE_NAME2
);
return
aRet
;
}
#undef SERVICE_NAME2
...
...
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