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
44755b5b
Kaydet (Commit)
44755b5b
authored
Haz 02, 2012
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
targeted string re-work
Change-Id: Ibd7142f49d1a42ebab3bed02ea269a3c850197e6
üst
61345105
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
30 deletions
+29
-30
DocTokAnalyzeService.cxx
...nocomponent/debugservices/doctok/DocTokAnalyzeService.cxx
+6
-6
DocTokTestService.cxx
...r/unocomponent/debugservices/doctok/DocTokTestService.cxx
+5
-5
OOXMLAnalyzeService.cxx
.../unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
+6
-7
OOXMLTestService.cxx
...ter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
+4
-4
XMLScanner.cxx
...erfilter/unocomponent/debugservices/rtftok/XMLScanner.cxx
+8
-8
No files found.
writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService.cxx
Dosyayı görüntüle @
44755b5b
...
...
@@ -96,8 +96,8 @@ public:
xContext
),
uno
::
UNO_QUERY_THROW
);
xInputStream
=
xFileAccess
->
openFileRead
(
absFileUrl
)
;
mLF
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
\n
"
)
);
mCRLF
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
\r\n
"
)
);
mLF
=
rtl
::
OUString
(
"
\n
"
);
mCRLF
=
rtl
::
OUString
(
"
\r\n
"
);
}
rtl
::
OUString
getURL
()
...
...
@@ -154,9 +154,9 @@ sal_Int32 SAL_CALL AnalyzeService::run
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
uno
::
Any
>
aUcbInitSequence
(
2
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Local"
)
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
"Local"
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Office"
)
);
rtl
::
OUString
(
"Office"
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
lang
::
XMultiComponentFactory
>
...
...
@@ -267,7 +267,7 @@ sal_Int32 SAL_CALL AnalyzeService::run
::
rtl
::
OUString
AnalyzeService_getImplementationName
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
AnalyzeService
::
IMPLEMENTATION_NAME
)
);
return
rtl
::
OUString
(
AnalyzeService
::
IMPLEMENTATION_NAME
);
}
sal_Bool
SAL_CALL
AnalyzeService_supportsService
(
const
::
rtl
::
OUString
&
ServiceName
)
...
...
@@ -278,7 +278,7 @@ uno::Sequence< rtl::OUString > SAL_CALL AnalyzeService_getSupportedServiceNames(
{
uno
::
Sequence
<
rtl
::
OUString
>
aRet
(
1
);
rtl
::
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
AnalyzeService
::
SERVICE_NAME
)
);
pArray
[
0
]
=
rtl
::
OUString
(
AnalyzeService
::
SERVICE_NAME
);
return
aRet
;
}
...
...
writerfilter/unocomponent/debugservices/doctok/DocTokTestService.cxx
Dosyayı görüntüle @
44755b5b
...
...
@@ -76,8 +76,8 @@ xContext( xContext_ )
sal_Int32
SAL_CALL
ScannerTestService
::
run
(
const
uno
::
Sequence
<
rtl
::
OUString
>&
aArguments
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
uno
::
Any
>
aUcbInitSequence
(
2
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Local"
)
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Office"
)
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
"Local"
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
"Office"
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
lang
::
XMultiComponentFactory
>
xFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
if
(
::
ucbhelper
::
ContentBroker
::
initialize
(
xServiceFactory
,
aUcbInitSequence
))
...
...
@@ -86,7 +86,7 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
uno
::
Reference
<
com
::
sun
::
star
::
ucb
::
XSimpleFileAccess
>
xFileAccess
(
xFactory
->
createInstanceWithContext
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ucb.SimpleFileAccess"
)
),
::
rtl
::
OUString
(
"com.sun.star.ucb.SimpleFileAccess"
),
xContext
),
uno
::
UNO_QUERY_THROW
);
rtl_uString
*
dir
=
NULL
;
...
...
@@ -123,14 +123,14 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
::
rtl
::
OUString
ScannerTestService_getImplementationName
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
ScannerTestService
::
IMPLEMENTATION_NAME
)
);
return
rtl
::
OUString
(
ScannerTestService
::
IMPLEMENTATION_NAME
);
}
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
ScannerTestService_getSupportedServiceNames
(
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
rtl
::
OUString
>
aRet
(
1
);
rtl
::
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
ScannerTestService
::
SERVICE_NAME
)
);
pArray
[
0
]
=
rtl
::
OUString
(
ScannerTestService
::
SERVICE_NAME
);
return
aRet
;
}
...
...
writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
Dosyayı görüntüle @
44755b5b
...
...
@@ -97,8 +97,8 @@ public:
xContext
),
uno
::
UNO_QUERY_THROW
);
xInputStream
=
xFileAccess
->
openFileRead
(
absFileUrl
)
;
mLF
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
\n
"
)
);
mCRLF
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
\r\n
"
)
);
mLF
=
rtl
::
OUString
(
"
\n
"
);
mCRLF
=
rtl
::
OUString
(
"
\r\n
"
);
}
rtl
::
OUString
getURL
()
...
...
@@ -155,9 +155,8 @@ sal_Int32 SAL_CALL AnalyzeService::run
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
uno
::
Any
>
aUcbInitSequence
(
2
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Local"
));
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Office"
));
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
"Local"
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
"Office"
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
lang
::
XMultiComponentFactory
>
...
...
@@ -265,7 +264,7 @@ sal_Int32 SAL_CALL AnalyzeService::run
::
rtl
::
OUString
AnalyzeService_getImplementationName
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
AnalyzeService
::
IMPLEMENTATION_NAME
)
);
return
rtl
::
OUString
(
AnalyzeService
::
IMPLEMENTATION_NAME
);
}
sal_Bool
SAL_CALL
AnalyzeService_supportsService
(
const
::
rtl
::
OUString
&
ServiceName
)
...
...
@@ -276,7 +275,7 @@ uno::Sequence< rtl::OUString > SAL_CALL AnalyzeService_getSupportedServiceNames(
{
uno
::
Sequence
<
rtl
::
OUString
>
aRet
(
1
);
rtl
::
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
AnalyzeService
::
SERVICE_NAME
)
);
pArray
[
0
]
=
rtl
::
OUString
(
AnalyzeService
::
SERVICE_NAME
);
return
aRet
;
}
...
...
writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
Dosyayı görüntüle @
44755b5b
...
...
@@ -83,8 +83,8 @@ xContext( xContext_ )
sal_Int32
SAL_CALL
ScannerTestService
::
run
(
const
uno
::
Sequence
<
rtl
::
OUString
>&
aArguments
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
uno
::
Any
>
aUcbInitSequence
(
2
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Local"
)
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Office"
)
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
"Local"
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
"Office"
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
lang
::
XMultiComponentFactory
>
xFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
if
(
::
ucbhelper
::
ContentBroker
::
initialize
(
xServiceFactory
,
aUcbInitSequence
))
...
...
@@ -155,14 +155,14 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
::
rtl
::
OUString
ScannerTestService_getImplementationName
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
ScannerTestService
::
IMPLEMENTATION_NAME
)
);
return
rtl
::
OUString
(
ScannerTestService
::
IMPLEMENTATION_NAME
);
}
uno
::
Sequence
<
rtl
::
OUString
>
SAL_CALL
ScannerTestService_getSupportedServiceNames
(
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
rtl
::
OUString
>
aRet
(
1
);
rtl
::
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
ScannerTestService
::
SERVICE_NAME
)
);
pArray
[
0
]
=
rtl
::
OUString
(
ScannerTestService
::
SERVICE_NAME
);
return
aRet
;
}
...
...
writerfilter/unocomponent/debugservices/rtftok/XMLScanner.cxx
Dosyayı görüntüle @
44755b5b
...
...
@@ -200,7 +200,7 @@ public:
bytesTotal
=
xSeekable
->
getLength
();
if
(
xStatusIndicator
.
is
()
&&
xSeekable
.
is
())
{
xStatusIndicator
->
start
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Converting"
)
),
100
);
xStatusIndicator
->
start
(
::
rtl
::
OUString
(
"Converting"
),
100
);
}
}
...
...
@@ -249,8 +249,8 @@ xContext( xContext_ )
sal_Int32
SAL_CALL
XMLScanner
::
run
(
const
uno
::
Sequence
<
rtl
::
OUString
>&
aArguments
)
throw
(
uno
::
RuntimeException
)
{
uno
::
Sequence
<
uno
::
Any
>
aUcbInitSequence
(
2
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Local"
)
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Office"
)
);
aUcbInitSequence
[
0
]
<<=
rtl
::
OUString
(
"Local"
);
aUcbInitSequence
[
1
]
<<=
rtl
::
OUString
(
"Office"
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xServiceFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
lang
::
XMultiComponentFactory
>
xFactory
(
xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
if
(
::
ucbhelper
::
ContentBroker
::
initialize
(
xServiceFactory
,
aUcbInitSequence
))
...
...
@@ -259,7 +259,7 @@ sal_Int32 SAL_CALL XMLScanner::run( const uno::Sequence< rtl::OUString >& aArgum
uno
::
Reference
<
com
::
sun
::
star
::
ucb
::
XSimpleFileAccess
>
xFileAccess
(
xFactory
->
createInstanceWithContext
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.ucb.SimpleFileAccess"
)
),
::
rtl
::
OUString
(
"com.sun.star.ucb.SimpleFileAccess"
),
xContext
),
uno
::
UNO_QUERY_THROW
);
rtl_uString
*
dir
=
NULL
;
...
...
@@ -269,7 +269,7 @@ sal_Int32 SAL_CALL XMLScanner::run( const uno::Sequence< rtl::OUString >& aArgum
rtl_uString_release
(
dir
);
uno
::
Reference
<
lang
::
XSingleServiceFactory
>
xStorageFactory
(
xServiceFactory
->
createInstance
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.embed.StorageFactory"
)
)),
uno
::
UNO_QUERY_THROW
);
xServiceFactory
->
createInstance
(
rtl
::
OUString
(
"com.sun.star.embed.StorageFactory"
)),
uno
::
UNO_QUERY_THROW
);
#if 0
rtl::OUString outFileUrl;
...
...
@@ -285,7 +285,7 @@ sal_Int32 SAL_CALL XMLScanner::run( const uno::Sequence< rtl::OUString >& aArgum
aArgs[1] <<= embed::ElementModes::READWRITE | embed::ElementModes::TRUNCATE;
uno::Reference<embed::XStorage> xStorage(xStorageFactory->createInstanceWithArguments(aArgs), uno::UNO_QUERY_THROW);
uno::Reference<beans::XPropertySet> xPropSet(xStorage, uno::UNO_QUERY_THROW);
xPropSet->setPropertyValue(rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("MediaType")), uno::makeAny(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("application/vnd.oasis.opendocument.text")
)));
xPropSet->setPropertyValue(rtl::OUString(
"MediaType"), uno::makeAny(rtl::OUString("application/vnd.oasis.opendocument.text"
)));
#endif
uno
::
Reference
<
io
::
XInputStream
>
xInputStream
=
xFileAccess
->
openFileRead
(
absFileUrl
);
uno
::
Reference
<
task
::
XStatusIndicator
>
xStatusIndicator
;
...
...
@@ -310,7 +310,7 @@ sal_Int32 SAL_CALL XMLScanner::run( const uno::Sequence< rtl::OUString >& aArgum
::
rtl
::
OUString
XMLScanner_getImplementationName
()
{
return
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
XMLScanner
::
IMPLEMENTATION_NAME
)
);
return
rtl
::
OUString
(
XMLScanner
::
IMPLEMENTATION_NAME
);
}
sal_Bool
SAL_CALL
XMLScanner_supportsService
(
const
::
rtl
::
OUString
&
ServiceName
)
...
...
@@ -321,7 +321,7 @@ uno::Sequence< rtl::OUString > SAL_CALL XMLScanner_getSupportedServiceNames( )
{
uno
::
Sequence
<
rtl
::
OUString
>
aRet
(
1
);
rtl
::
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
XMLScanner
::
SERVICE_NAME
)
);
pArray
[
0
]
=
rtl
::
OUString
(
XMLScanner
::
SERVICE_NAME
);
return
aRet
;
}
...
...
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