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
f96926c1
Kaydet (Commit)
f96926c1
authored
Şub 20, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vbaobj: One more ctor feature for ScVbaGlobals.
Change-Id: I741d1e0af1d6f631b321b76172b988262c0f709f
üst
65a43d68
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
14 deletions
+8
-14
service.cxx
sc/source/ui/vba/service.cxx
+1
-5
vbaglobals.cxx
sc/source/ui/vba/vbaglobals.cxx
+5
-8
vbaobj.component
sc/util/vbaobj.component
+2
-1
No files found.
sc/source/ui/vba/service.cxx
Dosyayı görüntüle @
f96926c1
...
...
@@ -46,10 +46,6 @@ namespace window
{
extern
sdecl
::
ServiceDecl
const
serviceDecl
;
}
namespace
globals
{
extern
sdecl
::
ServiceDecl
const
serviceDecl
;
}
namespace
hyperlink
{
extern
sdecl
::
ServiceDecl
const
serviceDecl
;
...
...
@@ -66,7 +62,7 @@ extern "C"
registry
::
XRegistryKey
*
pRegistryKey
)
{
void
*
pRet
=
component_getFactoryHelper
(
pImplName
,
pServiceManager
,
pRegistryKey
,
range
::
serviceDecl
,
workbook
::
serviceDecl
,
worksheet
::
serviceDecl
,
globals
::
serviceDecl
,
window
::
serviceDecl
,
hyperlink
::
serviceDecl
,
application
::
serviceDecl
);
pImplName
,
pServiceManager
,
pRegistryKey
,
range
::
serviceDecl
,
workbook
::
serviceDecl
,
worksheet
::
serviceDecl
,
window
::
serviceDecl
,
hyperlink
::
serviceDecl
,
application
::
serviceDecl
);
return
pRet
;
}
}
...
...
sc/source/ui/vba/vbaglobals.cxx
Dosyayı görüntüle @
f96926c1
...
...
@@ -16,7 +16,6 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vbahelper/helperdecl.hxx>
#include "vbaglobals.hxx"
#include <sal/macros.h>
...
...
@@ -288,14 +287,12 @@ ScVbaGlobals::getServiceNames()
return
aServiceNames
;
}
namespace
globals
extern
"C"
SAL_DLLPUBLIC_EXPORT
css
::
uno
::
XInterface
*
SAL_CALL
ScVbaGlobals_get_implementation
(
css
::
uno
::
XComponentContext
*
context
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
arguments
)
{
namespace
sdecl
=
comphelper
::
service_decl
;
sdecl
::
vba_service_class_
<
ScVbaGlobals
,
sdecl
::
with_args
<
true
>
>
serviceImpl
;
extern
sdecl
::
ServiceDecl
const
serviceDecl
(
serviceImpl
,
"ScVbaGlobals"
,
"ooo.vba.excel.Globals"
);
return
cppu
::
acquire
(
new
ScVbaGlobals
(
arguments
,
context
));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/util/vbaobj.component
Dosyayı görüntüle @
f96926c1
...
...
@@ -26,7 +26,8 @@
constructor=
"ScVbaEventsHelper_get_implementation"
>
<service
name=
"com.sun.star.script.vba.VBASpreadsheetEventProcessor"
/>
</implementation>
<implementation
name=
"ScVbaGlobals"
>
<implementation
name=
"ScVbaGlobals"
constructor=
"ScVbaGlobals_get_implementation"
>
<service
name=
"ooo.vba.excel.Globals"
/>
</implementation>
<implementation
name=
"ScVbaHyperlink"
>
...
...
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