summaryrefslogtreecommitdiff
path: root/binaryurp/source/currentcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/currentcontext.cxx')
-rw-r--r--binaryurp/source/currentcontext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryurp/source/currentcontext.cxx b/binaryurp/source/currentcontext.cxx
index 81d46672dbd2..52718e15fab6 100644
--- a/binaryurp/source/currentcontext.cxx
+++ b/binaryurp/source/currentcontext.cxx
@@ -38,7 +38,7 @@ css::uno::UnoInterfaceReference get() {
css::uno::UnoInterfaceReference cc;
if (!uno_getCurrentContext(
reinterpret_cast< void ** >(&cc.m_pUnoI),
- OUString(UNO_LB_UNO).pData, 0))
+ OUString(UNO_LB_UNO).pData, nullptr))
{
throw css::uno::RuntimeException("uno_getCurrentContext failed");
}
@@ -49,7 +49,7 @@ void set(css::uno::UnoInterfaceReference const & value) {
css::uno::UnoInterfaceReference cc(value);
if (!uno_setCurrentContext(
cc.m_pUnoI,
- OUString(UNO_LB_UNO).pData, 0))
+ OUString(UNO_LB_UNO).pData, nullptr))
{
throw css::uno::RuntimeException("uno_setCurrentContext failed");
}