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
7b79e232
Kaydet (Commit)
7b79e232
authored
Ock 19, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New loplugin:dynexcspec: Add @throws documentation, scripting
Change-Id: I3a3f8ad12bad448f0ea2beb698cf4e6636d4595a
üst
920f1dd4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
1 deletion
+32
-1
dlgevtatt.hxx
scripting/source/dlgprov/dlgevtatt.hxx
+1
-0
dlgprov.hxx
scripting/source/dlgprov/dlgprov.hxx
+5
-0
scripthandler.hxx
scripting/source/protocolhandler/scripthandler.hxx
+1
-0
BrowseNodeFactoryImpl.hxx
scripting/source/provider/BrowseNodeFactoryImpl.hxx
+1
-0
MasterScriptProvider.hxx
scripting/source/provider/MasterScriptProvider.hxx
+1
-0
ProviderCache.hxx
scripting/source/provider/ProviderCache.hxx
+5
-0
URIHelper.hxx
scripting/source/provider/URIHelper.hxx
+1
-1
stringresource.hxx
scripting/source/stringresource/stringresource.hxx
+16
-0
eventhelper.cxx
scripting/source/vbaevents/eventhelper.cxx
+1
-0
No files found.
scripting/source/dlgprov/dlgevtatt.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -52,6 +52,7 @@ namespace dlgprov
ListenerHash
listenersForTypes
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
css
::
uno
::
Reference
<
css
::
script
::
XEventAttacher
>
m_xEventAttacher
;
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
script
::
XScriptListener
>
getScriptListenerForKey
(
const
OUString
&
sScriptName
)
throw
(
css
::
uno
::
RuntimeException
);
css
::
uno
::
Reference
<
css
::
script
::
XScriptEventsSupplier
>
getFakeVbaEventsSupplier
(
const
css
::
uno
::
Reference
<
css
::
awt
::
XControl
>&
xControl
,
OUString
&
sCodeName
);
void
nestedAttachEvents
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
>&
Objects
,
const
css
::
uno
::
Any
&
Helper
,
OUString
&
sDialogCodeName
);
...
...
scripting/source/dlgprov/dlgprov.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -54,6 +54,7 @@ namespace dlgprov
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>
lcl_createControlModel
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
i_xContext
);
css
::
uno
::
Reference
<
css
::
resource
::
XStringResourceManager
>
lcl_getStringResourceManager
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
i_xContext
,
const
OUString
&
i_sURL
);
/// @throws css::uno::Exception
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>
lcl_createDialogModel
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
i_xContext
,
const
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>&
xInput
,
...
...
@@ -94,13 +95,17 @@ namespace dlgprov
css
::
uno
::
Reference
<
css
::
beans
::
XIntrospectionAccess
>
inspectHandler
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>&
rxHandler
);
// helper methods
/// @throws css::uno::Exception
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>
createDialogModel
(
const
css
::
uno
::
Reference
<
css
::
io
::
XInputStream
>&
xInput
,
const
css
::
uno
::
Reference
<
css
::
resource
::
XStringResourceManager
>&
xStringResourceManager
,
const
css
::
uno
::
Any
&
aDialogSourceURL
)
throw
(
css
::
uno
::
Exception
);
/// @throws css::uno::Exception
css
::
uno
::
Reference
<
css
::
awt
::
XControlModel
>
createDialogModelForBasic
()
throw
(
css
::
uno
::
Exception
);
// XDialogProvider / XDialogProvider2 impl method
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
awt
::
XControl
>
SAL_CALL
createDialogImpl
(
const
OUString
&
URL
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>&
xHandler
,
...
...
scripting/source/protocolhandler/scripthandler.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -91,6 +91,7 @@ public:
static
OUString
impl_getStaticImplementationName
();
/* Helper for registry */
/// @throws css::uno::RuntimeException
static
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
impl_createInstance
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
xServiceManager
)
...
...
scripting/source/provider/BrowseNodeFactoryImpl.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -67,6 +67,7 @@ public:
createView
(
sal_Int16
viewType
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
private
:
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
script
::
browse
::
XBrowseNode
>
getOrganizerHierarchy
()
throw
(
css
::
uno
::
RuntimeException
);
...
...
scripting/source/provider/MasterScriptProvider.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -49,6 +49,7 @@ class MasterScriptProvider :
public
t_helper
{
public
:
/// @throws css::uno::RuntimeException
explicit
MasterScriptProvider
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
&
xContext
)
throw
(
css
::
uno
::
RuntimeException
);
...
...
scripting/source/provider/ProviderCache.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -52,20 +52,25 @@ class ProviderCache
{
public
:
/// @throws css::uno::RuntimeException
ProviderCache
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
scriptContext
)
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
ProviderCache
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
scriptContext
,
const
css
::
uno
::
Sequence
<
OUString
>&
blackList
)
throw
(
css
::
uno
::
RuntimeException
);
~
ProviderCache
();
css
::
uno
::
Reference
<
css
::
script
::
provider
::
XScriptProvider
>
getProvider
(
const
OUString
&
providerName
);
/// @throws css::uno::RuntimeException
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
script
::
provider
::
XScriptProvider
>
>
getAllProviders
()
throw
(
css
::
uno
::
RuntimeException
);
private
:
/// @throws css::uno::RuntimeException
void
populateCache
()
throw
(
css
::
uno
::
RuntimeException
);
/// @throws css::uno::RuntimeException
css
::
uno
::
Reference
<
css
::
script
::
provider
::
XScriptProvider
>
createProvider
(
ProviderDetails
&
details
)
throw
(
css
::
uno
::
RuntimeException
);
bool
isInBlackList
(
const
OUString
&
serviceName
)
...
...
scripting/source/provider/URIHelper.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -56,7 +56,7 @@ private:
static
OUString
getLanguagePath
(
const
OUString
&
rLanguagePart
);
public
:
/// @throws css::uno::RuntimeException
explicit
ScriptingFrameworkURIHelper
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
)
throw
(
css
::
uno
::
RuntimeException
);
...
...
scripting/source/stringresource/stringresource.hxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -117,17 +117,21 @@ protected:
const
static
sal_Int32
UNIQUE_NUMBER_NEEDS_INITIALISATION
=
-
1
;
// Checks read only status and throws exception if it's true
/// @throws css::lang::NoSupportException
void
implCheckReadOnly
(
const
sal_Char
*
pExceptionMsg
)
throw
(
css
::
lang
::
NoSupportException
);
// Returns the LocalItem for a given locale, if it exists, otherwise NULL
// This method compares the locales exactly, no closest match search is performed
/// @throws css::lang::IllegalArgumentException
LocaleItem
*
getItemForLocale
(
const
css
::
lang
::
Locale
&
locale
,
bool
bException
)
throw
(
css
::
lang
::
IllegalArgumentException
);
// Returns the LocalItem for a given locale, if it exists, otherwise NULL
// This method performs a closest match search, at least the language must match
LocaleItem
*
getClosestMatchItemForLocale
(
const
css
::
lang
::
Locale
&
locale
);
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
void
implSetCurrentLocale
(
const
css
::
lang
::
Locale
&
locale
,
bool
FindClosestMatch
,
bool
bUseDefaultIfNoMatch
)
throw
(
css
::
lang
::
IllegalArgumentException
,
css
::
uno
::
RuntimeException
);
...
...
@@ -136,12 +140,14 @@ protected:
void
implNotifyListeners
();
//=== Impl methods for ...ForLocale methods ===
/// @throws css::resource::MissingResourceException
OUString
SAL_CALL
implResolveString
(
const
OUString
&
ResourceID
,
LocaleItem
*
pLocaleItem
)
throw
(
css
::
resource
::
MissingResourceException
);
bool
implHasEntryForId
(
const
OUString
&
ResourceID
,
LocaleItem
*
pLocaleItem
);
css
::
uno
::
Sequence
<
OUString
>
implGetResourceIDs
(
LocaleItem
*
pLocaleItem
);
void
implSetString
(
const
OUString
&
ResourceID
,
const
OUString
&
Str
,
LocaleItem
*
pLocaleItem
);
/// @throws css::resource::MissingResourceException
void
implRemoveId
(
const
OUString
&
ResourceID
,
LocaleItem
*
pLocaleItem
)
throw
(
css
::
resource
::
MissingResourceException
);
...
...
@@ -237,6 +243,8 @@ protected:
OUString
m_aNameBase
;
OUString
m_aComment
;
/// @throws css::uno::Exception
/// @throws css::uno::RuntimeException
void
SAL_CALL
implInitializeCommonParameters
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
aArguments
)
throw
(
css
::
uno
::
Exception
,
css
::
uno
::
RuntimeException
);
...
...
@@ -265,6 +273,8 @@ protected:
void
implWriteLocaleBinary
(
LocaleItem
*
pLocaleItem
,
BinaryOutput
&
rOut
);
/// @throws css::uno::Exception
/// @throws css::uno::RuntimeException
void
implStoreAtStorage
(
const
OUString
&
aNameBase
,
...
...
@@ -275,6 +285,8 @@ protected:
)
throw
(
css
::
uno
::
Exception
,
css
::
uno
::
RuntimeException
,
std
::
exception
);
/// @throws css::uno::Exception
/// @throws css::uno::RuntimeException
void
implKillRemovedLocaleFiles
(
const
OUString
&
Location
,
...
...
@@ -283,6 +295,8 @@ protected:
)
throw
(
css
::
uno
::
Exception
,
css
::
uno
::
RuntimeException
,
std
::
exception
);
/// @throws css::uno::Exception
/// @throws css::uno::RuntimeException
void
implKillChangedDefaultFiles
(
const
OUString
&
Location
,
...
...
@@ -291,6 +305,8 @@ protected:
)
throw
(
css
::
uno
::
Exception
,
css
::
uno
::
RuntimeException
,
std
::
exception
);
/// @throws css::uno::Exception
/// @throws css::uno::RuntimeException
void
implStoreAtLocation
(
const
OUString
&
Location
,
...
...
scripting/source/vbaevents/eventhelper.cxx
Dosyayı görüntüle @
7b79e232
...
...
@@ -620,6 +620,7 @@ protected:
private
:
void
setShellFromModel
();
/// @throws RuntimeException
void
firing_Impl
(
const
ScriptEvent
&
evt
,
Any
*
pSyncRet
)
throw
(
RuntimeException
,
std
::
exception
);
Reference
<
frame
::
XModel
>
m_xModel
;
...
...
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