summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 033052a0bd8d..37eb58f099db 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -148,7 +148,7 @@ public:
bool writeString(const OUString& rWriteOutString, bool bDoNormalization,
bool bNormalizeWhitespace);
- sal_uInt32 GetLastColumnCount() const throw()
+ sal_uInt32 GetLastColumnCount() const noexcept
{
return static_cast<sal_uInt32>(nCurrentPos - nLastLineFeedPos);
}
@@ -1069,7 +1069,7 @@ public: // XServiceInfo
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
private:
- sal_Int32 getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) throw();
+ sal_Int32 getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) noexcept;
Reference<XOutputStream> m_out;
std::unique_ptr<SaxWriterHelper> m_pSaxWriterHelper;
@@ -1082,7 +1082,7 @@ private:
sal_Int32 m_nLevel;
};
-sal_Int32 SAXWriter::getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) throw()
+sal_Int32 SAXWriter::getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence) noexcept
{
sal_Int32 nLength = -1;
if (m_pSaxWriterHelper)
@@ -1098,7 +1098,7 @@ sal_Int32 SAXWriter::getIndentPrefixLength(sal_Int32 nFirstLineBreakOccurrence)
return nLength;
}
-bool isFirstCharWhitespace(const sal_Unicode* p) throw() { return *p == ' '; }
+bool isFirstCharWhitespace(const sal_Unicode* p) noexcept { return *p == ' '; }
// XServiceInfo
OUString SAXWriter::getImplementationName() { return "com.sun.star.extensions.xml.sax.Writer"; }