Kaydet (Commit) ac33fb8e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308466 Uncaught exception

Change-Id: I8b8c67ae0a6a14998852754ae938c137063b4851
üst 625e373d
......@@ -89,7 +89,7 @@ private:
com::sun::star::uno::Reference < com::sun::star::container::XHierarchicalNameAccess > xHierarchicalNameAccess;
TransliterationImpl* translit;
OUString SAL_CALL makeNumberingIdentifier( sal_Int16 index )
throw(com::sun::star::uno::RuntimeException);
throw(com::sun::star::uno::RuntimeException, std::exception);
bool SAL_CALL isScriptFlagEnabled(const OUString& aName )
throw(com::sun::star::uno::RuntimeException);
};
......
......@@ -944,7 +944,7 @@ static const Supported_NumberingType aSupportedTypes[] =
static const sal_Int32 nSupported_NumberingTypes = sizeof(aSupportedTypes) / sizeof(Supported_NumberingType);
OUString DefaultNumberingProvider::makeNumberingIdentifier(sal_Int16 index)
throw(RuntimeException)
throw(RuntimeException, std::exception)
{
if (aSupportedTypes[index].cSymbol)
return OUString(aSupportedTypes[index].cSymbol, strlen(aSupportedTypes[index].cSymbol), RTL_TEXTENCODING_UTF8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment