summaryrefslogtreecommitdiff
path: root/sfx2/source/view/ipclient.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/ipclient.cxx')
-rw-r--r--sfx2/source/view/ipclient.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 60a20a717040..126adb9b9ff7 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -848,7 +848,7 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb )
}
catch( const task::ErrorCodeIOException& aErrorEx )
{
- nError = (sal_uInt32)aErrorEx.ErrCode;
+ nError = ErrCode(aErrorEx.ErrCode);
}
catch( uno::Exception& )
{