summaryrefslogtreecommitdiff
path: root/include/registry/writer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/registry/writer.hxx')
-rw-r--r--include/registry/writer.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/registry/writer.hxx b/include/registry/writer.hxx
index d7c94faf7dd5..dc3ce97c4f0f 100644
--- a/include/registry/writer.hxx
+++ b/include/registry/writer.hxx
@@ -81,7 +81,7 @@ public:
published, typeName.pData, superTypeCount, fieldCount,
methodCount, referenceCount))
{
- if (m_handle == 0) {
+ if (m_handle == nullptr) {
throw std::bad_alloc();
}
}
@@ -271,7 +271,7 @@ public:
*/
void const * getBlob(sal_uInt32 * size) {
void const * p = typereg_writer_getBlob(m_handle, size);
- if (p == 0) {
+ if (p == nullptr) {
throw std::bad_alloc();
}
return p;