summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/func/fuinsert.cxx3
-rw-r--r--sd/source/ui/view/viewshe2.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index e9155f7e5d80..f91f0663ff81 100644
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -452,7 +452,8 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
}
else
{
- ErrorHandler::HandleError( (new StringErrorInfo(ERRCODE_SFX_OLEGENERAL, ""))->GetErrorCode() );
+ ErrorHandler::HandleError(* new StringErrorInfo(ERRCODE_SFX_OLEGENERAL,
+ "" ) );
}
}
else
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index b0f37020460a..82b529e869d3 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -864,7 +864,7 @@ bool ViewShell::ActivateObject(SdrOle2Obj* pObj, long nVerb)
if (aErrCode != 0 && !bAbort)
{
- ErrorHandler::HandleError( (new StringErrorInfo(aErrCode, ""))->GetErrorCode() );
+ ErrorHandler::HandleError(* new StringErrorInfo(aErrCode, OUString() ) );
}
return aErrCode == 0;