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
5e3c9931
Kaydet (Commit)
5e3c9931
authored
Nis 14, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up function declarations
Change-Id: Ie204bb9dc1fb4ded416087f5a3d962924b3dec82
üst
893590f1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
83 additions
and
63 deletions
+83
-63
DialogModelProvider.cxx
scripting/source/dlgprov/DialogModelProvider.cxx
+0
-1
BrowseNodeFactoryImpl.cxx
scripting/source/provider/BrowseNodeFactoryImpl.cxx
+1
-2
MasterScriptProvider.cxx
scripting/source/provider/MasterScriptProvider.cxx
+0
-15
MasterScriptProvider.hxx
scripting/source/provider/MasterScriptProvider.hxx
+14
-1
MasterScriptProviderFactory.cxx
scripting/source/provider/MasterScriptProviderFactory.cxx
+1
-0
eventhelper.cxx
scripting/source/vbaevents/eventhelper.cxx
+3
-0
service.cxx
scripting/source/vbaevents/service.cxx
+1
-44
service.hxx
scripting/source/vbaevents/service.hxx
+63
-0
No files found.
scripting/source/dlgprov/DialogModelProvider.cxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -38,7 +38,6 @@ using namespace beans;
// component and service helper functions:
OUString
SAL_CALL
_getImplementationName
();
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
_getSupportedServiceNames
();
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
_create
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
context
);
}
// closing component helper namespace
...
...
scripting/source/provider/BrowseNodeFactoryImpl.cxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -37,6 +37,7 @@
#include <tools/diagnose_ex.h>
#include "BrowseNodeFactoryImpl.hxx"
#include "MasterScriptProvider.hxx"
#include "ActiveMSPList.hxx"
#include <util/MiscUtils.hxx>
...
...
@@ -382,7 +383,6 @@ private:
Reference
<
XAggregation
>
m_xAggProxy
;
Reference
<
XComponentContext
>
m_xCtx
;
DefaultBrowseNode
();
public
:
DefaultBrowseNode
(
const
Reference
<
XComponentContext
>&
xCtx
,
const
Reference
<
browse
::
XBrowseNode
>&
xNode
)
:
m_xWrappedBrowseNode
(
xNode
),
m_xWrappedTypeProv
(
xNode
,
UNO_QUERY
),
m_xCtx
(
xCtx
)
{
...
...
@@ -538,7 +538,6 @@ private:
vXBrowseNodes
m_vNodes
;
OUString
m_Name
;
DefaultRootBrowseNode
();
public
:
DefaultRootBrowseNode
(
const
Reference
<
XComponentContext
>&
xCtx
)
{
...
...
scripting/source/provider/MasterScriptProvider.cxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -56,14 +56,6 @@ using namespace ::sf_misc;
namespace
func_provider
{
// Definitions for MasterScriptProviderFactory global methods.
OUString
SAL_CALL
mspf_getImplementationName
()
;
Reference
<
XInterface
>
SAL_CALL
mspf_create
(
Reference
<
XComponentContext
>
const
&
xComponentContext
);
Sequence
<
OUString
>
SAL_CALL
mspf_getSupportedServiceNames
();
bool
endsWith
(
const
OUString
&
target
,
const
OUString
&
item
)
{
...
...
@@ -830,13 +822,6 @@ throw( RuntimeException, std::exception )
}
// namespace func_provider
namespace
browsenodefactory
{
OUString
SAL_CALL
bnf_getImplementationName
()
;
Reference
<
XInterface
>
SAL_CALL
bnf_create
(
Reference
<
XComponentContext
>
const
&
xComponentContext
);
Sequence
<
OUString
>
SAL_CALL
bnf_getSupportedServiceNames
();
}
namespace
scripting_runtimemgr
{
...
...
scripting/source/provider/MasterScriptProvider.hxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -143,7 +143,20 @@ private:
osl
::
Mutex
m_mutex
;
OUString
m_sCtxString
;
};
}
// namespace func_provider
OUString
SAL_CALL
mspf_getImplementationName
()
;
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
mspf_create
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
xComponentContext
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
mspf_getSupportedServiceNames
();
}
namespace
browsenodefactory
{
OUString
SAL_CALL
bnf_getImplementationName
()
;
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
bnf_create
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
xComponentContext
);
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
bnf_getSupportedServiceNames
();
}
#endif //_FRAMEWORK_SCRIPT_PROVIDER_XFUNCTIONPROVIDER_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
scripting/source/provider/MasterScriptProviderFactory.cxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -24,6 +24,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weakref.hxx>
#include "MasterScriptProvider.hxx"
#include "MasterScriptProviderFactory.hxx"
using
namespace
::
com
::
sun
::
star
;
...
...
scripting/source/vbaevents/eventhelper.cxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -78,6 +78,9 @@
#include <list>
#include <boost/unordered_map.hpp>
#include <service.hxx>
#define ASYNC 0
// primitive support for asynchronous handling of
...
...
scripting/source/vbaevents/service.cxx
Dosyayı görüntüle @
5e3c9931
...
...
@@ -21,56 +21,13 @@
#include "com/sun/star/lang/XMultiServiceFactory.hpp"
#include "com/sun/star/registry/XRegistryKey.hpp"
#include <service.hxx>
// component exports
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
uno
;
namespace
evtlstner
{
// component operations
uno
::
Reference
<
XInterface
>
SAL_CALL
create
(
Reference
<
XComponentContext
>
const
&
xContext
)
SAL_THROW
(());
OUString
SAL_CALL
getImplementationName
();
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
();
Reference
<
XInterface
>
SAL_CALL
create
(
Sequence
<
Any
>
const
&
,
Reference
<
XComponentContext
>
const
&
);
}
// end evtlstner
namespace
ooevtdescgen
{
// component operations
uno
::
Reference
<
XInterface
>
SAL_CALL
create
(
Reference
<
XComponentContext
>
const
&
xContext
)
SAL_THROW
(());
OUString
SAL_CALL
getImplementationName
();
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
();
Reference
<
XInterface
>
SAL_CALL
create
(
Sequence
<
Any
>
const
&
,
Reference
<
XComponentContext
>
const
&
);
}
// end ooevtdescgen
const
::
cppu
::
ImplementationEntry
s_component_entries
[]
=
{
{
...
...
scripting/source/vbaevents/service.hxx
0 → 100644
Dosyayı görüntüle @
5e3c9931
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SCRIPTING_SOURCE_VBAEVENTS_SERVICE_HXX
#define INCLUDED_SCRIPTING_SOURCE_VBAEVENTS_SERVICE_HXX
#include <sal/config.h>
namespace
evtlstner
{
// component operations
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
create
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
xContext
)
SAL_THROW
(());
OUString
SAL_CALL
getImplementationName
();
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
();
}
// end evtlstner
namespace
ooevtdescgen
{
// component operations
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
create
(
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
const
&
xContext
)
SAL_THROW
(());
OUString
SAL_CALL
getImplementationName
();
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getSupportedServiceNames
();
}
// end ooevtdescgen
#endif
/* 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