summaryrefslogtreecommitdiff
path: root/include/sfx2/docfile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/docfile.hxx')
-rw-r--r--include/sfx2/docfile.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index 352cbac471b1..38d5f691a133 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -141,12 +141,12 @@ public:
void Download( const Link<void*,void>& aLink = Link<void*,void>());
void SetDoneLink( const Link<void*,void>& rLink );
- sal_uInt32 GetErrorCode() const;
- sal_uInt32 GetError() const
- { return ERRCODE_TOERROR(GetErrorCode()); }
- sal_uInt32 GetLastStorageCreationState();
+ ErrCode GetErrorCode() const;
+ ErrCode GetError() const
+ { return GetErrorCode().IgnoreWarning(); }
+ ErrCode GetLastStorageCreationState();
- void SetError(sal_uInt32 nError);
+ void SetError(ErrCode nError);
void CloseInStream();
bool CloseOutStream();