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
8993f87a
Kaydet (Commit)
8993f87a
authored
Nis 01, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove obsolete component_writeInfo methods
üst
a0f825b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
68 deletions
+1
-68
oleregister.cxx
embeddedobj/source/msole/oleregister.cxx
+0
-36
d.lst
fpicker/prj/d.lst
+1
-7
exports.cxx
framework/source/lomenubar/exports.cxx
+0
-25
No files found.
embeddedobj/source/msole/oleregister.cxx
Dosyayı görüntüle @
8993f87a
...
@@ -84,42 +84,6 @@ void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServic
...
@@ -84,42 +84,6 @@ void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServic
return
pRet
;
return
pRet
;
}
}
sal_Bool
SAL_CALL
component_writeInfo
(
void
*
/*pServiceManager*/
,
void
*
pRegistryKey
)
{
if
(
pRegistryKey
)
{
try
{
uno
::
Reference
<
registry
::
XRegistryKey
>
xKey
(
reinterpret_cast
<
registry
::
XRegistryKey
*
>
(
pRegistryKey
)
);
uno
::
Reference
<
registry
::
XRegistryKey
>
xNewKey
;
xNewKey
=
xKey
->
createKey
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/"
)
)
+
OleEmbeddedObjectFactory
::
impl_staticGetImplementationName
()
+
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/UNO/SERVICES"
)
)
);
uno
::
Sequence
<
::
rtl
::
OUString
>
rServices
=
OleEmbeddedObjectFactory
::
impl_staticGetSupportedServiceNames
();
for
(
sal_Int32
ind
=
0
;
ind
<
rServices
.
getLength
();
ind
++
)
xNewKey
->
createKey
(
rServices
.
getConstArray
()[
ind
]
);
#ifdef WNT
// the following service makes sence only on windows
xNewKey
=
xKey
->
createKey
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/"
)
)
+
MSOLEDialogObjectCreator
::
impl_staticGetImplementationName
()
+
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/UNO/SERVICES"
)
)
);
rServices
=
MSOLEDialogObjectCreator
::
impl_staticGetSupportedServiceNames
();
for
(
sal_Int32
ind
=
0
;
ind
<
rServices
.
getLength
();
ind
++
)
xNewKey
->
createKey
(
rServices
.
getConstArray
()[
ind
]
);
#endif
return
sal_True
;
}
catch
(
registry
::
InvalidRegistryException
&
)
{
OSL_FAIL
(
"### InvalidRegistryException!"
);
}
}
return
sal_False
;
}
}
// extern "C"
}
// extern "C"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
fpicker/prj/d.lst
Dosyayı görüntüle @
8993f87a
...
@@ -10,10 +10,4 @@ mkdir: %COMMON_DEST%\bin%_EXT%\hid
...
@@ -10,10 +10,4 @@ mkdir: %COMMON_DEST%\bin%_EXT%\hid
..\source\win32\filepicker\*.xml %_DEST%\xml%_EXT%\*.xml
..\source\win32\filepicker\*.xml %_DEST%\xml%_EXT%\*.xml
..\source\win32\folderpicker\*.xml %_DEST%\xml%_EXT%\*.xml
..\source\win32\folderpicker\*.xml %_DEST%\xml%_EXT%\*.xml
..\%__SRC%\misc\fop.component %_DEST%\xml%_EXT%\fop.component
..\%__SRC%\misc\*.component %_DEST%\xml%_EXT%\*.component
..\%__SRC%\misc\fpicker.component %_DEST%\xml%_EXT%\fpicker.component
..\%__SRC%\misc\fps.component %_DEST%\xml%_EXT%\fps.component
..\%__SRC%\misc\fps_aqua.component %_DEST%\xml%_EXT%\fps_aqua.component
..\%__SRC%\misc\fps_gnome.component %_DEST%\xml%_EXT%\fps_gnome.component
..\%__SRC%\misc\fps_kde4.component %_DEST%\xml%_EXT%\fps_kde4.component
..\%__SRC%\misc\fps_office.component %_DEST%\xml%_EXT%\fps_office.component
framework/source/lomenubar/exports.cxx
Dosyayı görüntüle @
8993f87a
...
@@ -53,37 +53,12 @@ static void writeInfo(const css::uno::Reference< css::registry::XRegistryKey >&
...
@@ -53,37 +53,12 @@ static void writeInfo(const css::uno::Reference< css::registry::XRegistryKey >&
extern
"C"
extern
"C"
{
{
//==================================================================================================
SAL_DLLPUBLIC_EXPORT
void
SAL_CALL
component_getImplementationEnvironment
(
const
sal_Char
**
ppEnvTypeName
,
SAL_DLLPUBLIC_EXPORT
void
SAL_CALL
component_getImplementationEnvironment
(
const
sal_Char
**
ppEnvTypeName
,
uno_Environment
**
/*ppEnv*/
)
uno_Environment
**
/*ppEnv*/
)
{
{
*
ppEnvTypeName
=
CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
*
ppEnvTypeName
=
CPPU_CURRENT_LANGUAGE_BINDING_NAME
;
}
}
//==================================================================================================
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
component_writeInfo
(
void
*
/*pServiceManager*/
,
void
*
pRegistryKey
)
{
if
(
!
pRegistryKey
)
return
sal_False
;
try
{
css
::
uno
::
Reference
<
css
::
registry
::
XRegistryKey
>
xKey
(
reinterpret_cast
<
css
::
registry
::
XRegistryKey
*
>
(
pRegistryKey
),
css
::
uno
::
UNO_QUERY
);
writeInfo
(
xKey
,
DESKTOPJOB_IMPLEMENTATION_NAME
,
DESKTOPJOB_SERVICE_NAME
);
writeInfo
(
xKey
,
FRAMEJOB_IMPLEMENTATION_NAME
,
FRAMEJOB_SERVICE_NAME
);
return
sal_True
;
}
catch
(
const
css
::
registry
::
InvalidRegistryException
&
)
{
OSL_ENSURE
(
sal_False
,
"### InvalidRegistryException!"
);
}
return
sal_False
;
}
//==================================================================================================
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
component_getFactory
(
const
sal_Char
*
pImplName
,
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
component_getFactory
(
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pServiceManager
,
void
*
/*pRegistryKey*/
)
void
*
/*pRegistryKey*/
)
...
...
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