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
b2f5850b
Kaydet (Commit)
b2f5850b
authored
Mar 11, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up previous commit
Change-Id: Ibb7d689bd175959a195d27130db1a29d30f423bf
üst
4653708b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
34 deletions
+6
-34
exceldetect.cxx
sc/source/ui/unoobj/exceldetect.cxx
+4
-15
exceldetect.hxx
sc/source/ui/unoobj/exceldetect.hxx
+0
-3
scdetect.cxx
sc/source/ui/unoobj/scdetect.cxx
+1
-11
scdetect.hxx
sc/source/ui/unoobj/scdetect.hxx
+0
-4
scd.component
sc/util/scd.component
+1
-1
No files found.
sc/source/ui/unoobj/exceldetect.cxx
Dosyayı görüntüle @
b2f5850b
...
...
@@ -29,7 +29,7 @@ ScExcelBiffDetect::~ScExcelBiffDetect() {}
OUString
ScExcelBiffDetect
::
getImplementationName
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
impl_getStaticImplementationName
(
);
return
OUString
(
"com.sun.star.comp.calc.ExcelBiffFormatDetector"
);
}
sal_Bool
ScExcelBiffDetect
::
supportsService
(
const
OUString
&
aName
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
...
...
@@ -39,7 +39,9 @@ sal_Bool ScExcelBiffDetect::supportsService( const OUString& aName ) throw (uno:
uno
::
Sequence
<
OUString
>
ScExcelBiffDetect
::
getSupportedServiceNames
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
impl_getStaticSupportedServiceNames
();
uno
::
Sequence
<
OUString
>
aNames
(
1
);
aNames
[
0
]
=
"com.sun.star.frame.ExtendedTypeDetection"
;
return
aNames
;
}
namespace
{
...
...
@@ -192,19 +194,6 @@ OUString ScExcelBiffDetect::detect( uno::Sequence<beans::PropertyValue>& lDescri
return
aType
;
}
uno
::
Sequence
<
OUString
>
ScExcelBiffDetect
::
impl_getStaticSupportedServiceNames
()
{
uno
::
Sequence
<
OUString
>
aNames
(
1
);
aNames
[
0
]
=
"com.sun.star.frame.ExtendedTypeDetection"
;
return
aNames
;
}
OUString
ScExcelBiffDetect
::
impl_getStaticImplementationName
()
{
return
OUString
(
"com.sun.star.comp.calc.ExcelBiffFormatDetector"
);
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
::
com
::
sun
::
star
::
uno
::
XInterface
*
SAL_CALL
com_sun_star_comp_calc_ExcelBiffFormatDetector_get_implementation
(
::
com
::
sun
::
star
::
uno
::
XComponentContext
*
context
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
...
...
sc/source/ui/unoobj/exceldetect.hxx
Dosyayı görüntüle @
b2f5850b
...
...
@@ -33,9 +33,6 @@ public:
// XExtendedFilterDetection
virtual
OUString
SAL_CALL
detect
(
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
lDescriptor
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
static
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
impl_getStaticSupportedServiceNames
();
static
OUString
impl_getStaticImplementationName
();
};
#endif
...
...
sc/source/ui/unoobj/scdetect.cxx
Dosyayı görüntüle @
b2f5850b
...
...
@@ -313,7 +313,7 @@ OUString SAL_CALL ScFilterDetect::detect( uno::Sequence<beans::PropertyValue>& l
OUString
SAL_CALL
ScFilterDetect
::
getImplementationName
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
impl_getStaticImplementationName
(
);
return
OUString
(
"com.sun.star.comp.calc.FormatDetector"
);
}
sal_Bool
ScFilterDetect
::
supportsService
(
const
OUString
&
sServiceName
)
...
...
@@ -324,22 +324,12 @@ sal_Bool ScFilterDetect::supportsService( const OUString& sServiceName )
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
ScFilterDetect
::
getSupportedServiceNames
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
impl_getStaticSupportedServiceNames
();
}
uno
::
Sequence
<
OUString
>
ScFilterDetect
::
impl_getStaticSupportedServiceNames
()
{
uno
::
Sequence
<
OUString
>
seqServiceNames
(
1
);
seqServiceNames
.
getArray
()[
0
]
=
"com.sun.star.frame.ExtendedTypeDetection"
;
return
seqServiceNames
;
}
OUString
ScFilterDetect
::
impl_getStaticImplementationName
()
{
return
OUString
(
"com.sun.star.comp.calc.FormatDetector"
);
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
::
com
::
sun
::
star
::
uno
::
XInterface
*
SAL_CALL
com_sun_star_comp_calc_FormatDetector_get_implementation
(
::
com
::
sun
::
star
::
uno
::
XComponentContext
*
context
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
...
...
sc/source/ui/unoobj/scdetect.hxx
Dosyayı görüntüle @
b2f5850b
...
...
@@ -47,10 +47,6 @@ public:
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
sServiceName
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
()
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
/* Helper for XServiceInfo */
static
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
impl_getStaticSupportedServiceNames
();
static
OUString
impl_getStaticImplementationName
();
// XExtendedFilterDetect
virtual
OUString
SAL_CALL
detect
(
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
lDescriptor
)
...
...
sc/util/scd.component
Dosyayı görüntüle @
b2f5850b
...
...
@@ -18,7 +18,7 @@
-->
<component
loader=
"com.sun.star.loader.SharedLibrary"
environment=
"@CPPU_ENV@"
prefix=
"scd"
xmlns=
"http://openoffice.org/2010/uno-components"
>
xmlns=
"http://openoffice.org/2010/uno-components"
>
<implementation
name=
"com.sun.star.comp.calc.FormatDetector"
constructor=
"com_sun_star_comp_calc_FormatDetector_get_implementation"
>
<service
name=
"com.sun.star.frame.ExtendedTypeDetection"
/>
...
...
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