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
72f34874
Kaydet (Commit)
72f34874
authored
Eki 08, 2012
tarafından
Tor Lillqvist
Kaydeden (comit)
Tor Lillqvist
Eki 08, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
There is no ExportCGM
Change-Id: I1251c25e14636fea96aba08f90dfe3d16978a270
üst
29b8f729
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
sdcgmfilter.cxx
sd/source/filter/cgm/sdcgmfilter.cxx
+6
-14
No files found.
sd/source/filter/cgm/sdcgmfilter.cxx
Dosyayı görüntüle @
72f34874
...
@@ -73,7 +73,6 @@ typedef sal_Bool ( __LOADONCALLAPI *ExportCGMPointer )( ::rtl::OUString&, Refere
...
@@ -73,7 +73,6 @@ typedef sal_Bool ( __LOADONCALLAPI *ExportCGMPointer )( ::rtl::OUString&, Refere
#ifdef DISABLE_DYNLOADING
#ifdef DISABLE_DYNLOADING
extern
"C"
sal_uInt32
ImportCGM
(
::
rtl
::
OUString
&
,
Reference
<
XModel
>&
,
sal_uInt32
,
Reference
<
XStatusIndicator
>&
);
extern
"C"
sal_uInt32
ImportCGM
(
::
rtl
::
OUString
&
,
Reference
<
XModel
>&
,
sal_uInt32
,
Reference
<
XStatusIndicator
>&
);
extern
"C"
sal_Bool
ExportCGM
(
::
rtl
::
OUString
&
,
Reference
<
XModel
>&
,
Reference
<
XStatusIndicator
>&
,
void
*
);
#endif
#endif
...
@@ -150,22 +149,16 @@ sal_Bool SdCGMFilter::Import()
...
@@ -150,22 +149,16 @@ sal_Bool SdCGMFilter::Import()
sal_Bool
SdCGMFilter
::
Export
()
sal_Bool
SdCGMFilter
::
Export
()
{
{
#ifndef DISABLE_DYNLOADING
#ifdef DISABLE_DYNLOADING
// No ExportCGM function exists(!)
return
sal_False
;
#else
::
osl
::
Module
*
pLibrary
=
OpenLibrary
(
mrMedium
.
GetFilter
()
->
GetUserData
()
);
::
osl
::
Module
*
pLibrary
=
OpenLibrary
(
mrMedium
.
GetFilter
()
->
GetUserData
()
);
#endif
sal_Bool
bRet
=
sal_False
;
sal_Bool
bRet
=
sal_False
;
if
(
if
(
pLibrary
&&
mxModel
.
is
()
)
#ifndef DISABLE_DYNLOADING
pLibrary
&&
#endif
mxModel
.
is
()
)
{
{
#ifndef DISABLE_DYNLOADING
ExportCGMPointer
FncCGMExport
=
reinterpret_cast
<
ExportCGMPointer
>
(
pLibrary
->
getFunctionSymbol
(
"ExportCGM"
)
);
ExportCGMPointer
FncCGMExport
=
reinterpret_cast
<
ExportCGMPointer
>
(
pLibrary
->
getFunctionSymbol
(
"ExportCGM"
)
);
#else
ExportCGMPointer
FncCGMExport
=
ExportCGM
;
#endif
if
(
FncCGMExport
)
if
(
FncCGMExport
)
{
{
...
@@ -176,10 +169,9 @@ sal_Bool SdCGMFilter::Export()
...
@@ -176,10 +169,9 @@ sal_Bool SdCGMFilter::Export()
}
}
}
}
#ifndef DISABLE_DYNLOADING
delete
pLibrary
;
delete
pLibrary
;
#endif
return
bRet
;
return
bRet
;
#endif
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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