summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmresultdialogs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/mmresultdialogs.cxx')
-rw-r--r--sw/source/ui/dbui/mmresultdialogs.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx
index 366a42be3e78..2004445fc7c9 100644
--- a/sw/source/ui/dbui/mmresultdialogs.cxx
+++ b/sw/source/ui/dbui/mmresultdialogs.cxx
@@ -593,14 +593,14 @@ IMPL_LINK(SwMMResultSaveDialog, SaveOutputHdl_Impl, Button*, pButton, void)
pValues[0].Value <<= sFilter;
uno::Reference< frame::XStorable > xStore( pTargetView->GetDocShell()->GetModel(), uno::UNO_QUERY);
- sal_uInt32 nErrorCode = ERRCODE_NONE;
+ ErrCode nErrorCode = ERRCODE_NONE;
try
{
xStore->storeToURL( sPath, aValues );
}
catch (const task::ErrorCodeIOException& rErrorEx)
{
- nErrorCode = (sal_uInt32)rErrorEx.ErrCode;
+ nErrorCode = ErrCode(rErrorEx.ErrCode);
}
catch (const Exception&)
{
@@ -650,14 +650,14 @@ IMPL_LINK(SwMMResultSaveDialog, SaveOutputHdl_Impl, Button*, pButton, void)
pValues[0].Value <<= pSfxFlt->GetFilterName();
uno::Reference< frame::XStorable > xStore( pTargetView->GetDocShell()->GetModel(), uno::UNO_QUERY);
- sal_uInt32 nErrorCode = ERRCODE_NONE;
+ ErrCode nErrorCode = ERRCODE_NONE;
try
{
xStore->storeToURL( sTargetTempURL, aValues );
}
catch (const task::ErrorCodeIOException& rErrorEx)
{
- nErrorCode = (sal_uInt32)rErrorEx.ErrCode;
+ nErrorCode = ErrCode(rErrorEx.ErrCode);
}
catch (const Exception&)
{