merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8

This commit is contained in:
Günter Obiltschnig
2020-01-09 10:08:09 +01:00
parent 7c177b6f89
commit 1bf40a0cd2
389 changed files with 3029 additions and 4111 deletions

View File

@@ -65,15 +65,15 @@ public:
DOMException(const DOMException& exc);
/// Creates a DOMException by copying another one.
~DOMException() throw();
~DOMException() noexcept;
/// Destroys the DOMException.
DOMException& operator = (const DOMException& exc);
const char* name() const throw();
const char* name() const noexcept;
/// Returns a static string describing the exception.
const char* className() const throw();
const char* className() const noexcept;
/// Returns the name of the exception class.
Poco::Exception* clone() const;

View File

@@ -58,7 +58,7 @@ class XML_API Document: public AbstractContainerNode, public DocumentEvent
/// context they were created.
{
public:
typedef Poco::AutoReleasePool<DOMObject> AutoReleasePool;
using AutoReleasePool = Poco::AutoReleasePool<DOMObject>;
explicit Document(NamePool* pNamePool = 0);
/// Creates a new document. If pNamePool == 0, the document

View File

@@ -44,15 +44,15 @@ public:
EventException(const EventException& exc);
/// Creates an EventException by copying another one.
~EventException() throw();
~EventException() noexcept;
/// Destroys the EventException.
EventException& operator = (const EventException& exc);
const char* name() const throw();
const char* name() const noexcept;
/// Returns a static string describing the exception.
const char* className() const throw();
const char* className() const noexcept;
/// Returns the name of the exception class.
unsigned short code() const;

View File

@@ -208,7 +208,7 @@ public:
/// Returns whether this node (if it is an element) has any attributes.
// Extensions
typedef Poco::XML::NamespaceSupport NSMap;
using NSMap = Poco::XML::NamespaceSupport;
virtual XMLString innerText() const = 0;
/// Returns a string containing the concatenated values of the node