summaryrefslogtreecommitdiff
path: root/tools/source/rc/resmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/rc/resmgr.cxx')
-rw-r--r--tools/source/rc/resmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 31c4765f0304..22333883ef45 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -478,7 +478,7 @@ bool InternalResMgr::Create()
bool bDone = false;
pStm = new SvFileStream( aFileName, StreamMode::READ | StreamMode::SHARE_DENYWRITE | StreamMode::NOCREATE );
- if( pStm->GetError() == 0 )
+ if( pStm->GetError() == ERRCODE_NONE )
{
sal_Int32 lContLen = 0;