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
b6f069aa
Kaydet (Commit)
b6f069aa
authored
Mar 24, 2011
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't flag inline function __declspec(dllexport/import)
üst
772193b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vbaaccesshelper.hxx
vbahelper/inc/vbahelper/vbaaccesshelper.hxx
+4
-4
No files found.
vbahelper/inc/vbahelper/vbaaccesshelper.hxx
Dosyayı görüntüle @
b6f069aa
...
@@ -51,7 +51,7 @@ namespace ooo
...
@@ -51,7 +51,7 @@ namespace ooo
return
xVBAFactory
;
return
xVBAFactory
;
}
}
VBAHELPER_DLLP
UBLIC
inline
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
createVBAUnoAPIServiceWithArgs
(
SfxObjectShell
*
pShell
,
const
sal_Char
*
_pAsciiName
,
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
aArgs
)
throw
(
css
::
uno
::
RuntimeException
)
VBAHELPER_DLLP
RIVATE
inline
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
createVBAUnoAPIServiceWithArgs
(
SfxObjectShell
*
pShell
,
const
sal_Char
*
_pAsciiName
,
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
aArgs
)
throw
(
css
::
uno
::
RuntimeException
)
{
{
OSL_PRECOND
(
pShell
,
"createVBAUnoAPIService: no shell!"
);
OSL_PRECOND
(
pShell
,
"createVBAUnoAPIService: no shell!"
);
::
rtl
::
OUString
sVarName
(
::
rtl
::
OUString
::
createFromAscii
(
_pAsciiName
)
);
::
rtl
::
OUString
sVarName
(
::
rtl
::
OUString
::
createFromAscii
(
_pAsciiName
)
);
...
@@ -68,10 +68,10 @@ namespace ooo
...
@@ -68,10 +68,10 @@ namespace ooo
bRes
=
(
pFilt
->
GetMimeType
().
CompareToAscii
(
pMimeType
)
==
0
);
bRes
=
(
pFilt
->
GetMimeType
().
CompareToAscii
(
pMimeType
)
==
0
);
return
bRes
;
return
bRes
;
}
}
VBAHELPER_DLLP
UBLIC
inline
bool
isAlienExcelDoc
(
SfxObjectShell
&
rDocShell
)
{
return
isAlienDoc
(
rDocShell
,
"application/vnd.ms-excel"
);
}
VBAHELPER_DLLP
RIVATE
inline
bool
isAlienExcelDoc
(
SfxObjectShell
&
rDocShell
)
{
return
isAlienDoc
(
rDocShell
,
"application/vnd.ms-excel"
);
}
//VBAHELPER_DLLP
UBLIC
inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-word" ); }
//VBAHELPER_DLLP
RIVATE
inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-word" ); }
// word seems to return an erroneous mime type :-/ "application/msword" not consistent with the excel one
// word seems to return an erroneous mime type :-/ "application/msword" not consistent with the excel one
VBAHELPER_DLLP
UBLIC
inline
bool
isAlienWordDoc
(
SfxObjectShell
&
rDocShell
)
{
return
isAlienDoc
(
rDocShell
,
"application/msword"
);
}
VBAHELPER_DLLP
RIVATE
inline
bool
isAlienWordDoc
(
SfxObjectShell
&
rDocShell
)
{
return
isAlienDoc
(
rDocShell
,
"application/msword"
);
}
}
// openoffice
}
// openoffice
}
// org
}
// org
...
...
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