summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/eppt.cxx6
-rw-r--r--sd/source/filter/html/pubdlg.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index fc6dce12a3e5..a05169c5fee9 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -1451,13 +1451,13 @@ extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL SaveVBA( SfxObjectShell& rDocS
aMSVBas.SaveOrDelMSVBAStorage( true, "_MS_VBA_Overhead" );
tools::SvRef<SotStorage> xOverhead = xDest->OpenSotStorage( "_MS_VBA_Overhead" );
- if ( xOverhead.is() && ( xOverhead->GetError() == SVSTREAM_OK ) )
+ if ( xOverhead.is() && ( xOverhead->GetError() == ERRCODE_NONE ) )
{
tools::SvRef<SotStorage> xOverhead2 = xOverhead->OpenSotStorage( "_MS_VBA_Overhead" );
- if ( xOverhead2.is() && ( xOverhead2->GetError() == SVSTREAM_OK ) )
+ if ( xOverhead2.is() && ( xOverhead2->GetError() == ERRCODE_NONE ) )
{
tools::SvRef<SotStorageStream> xTemp = xOverhead2->OpenSotStream( "_MS_VBA_Overhead2" );
- if ( xTemp.is() && ( xTemp->GetError() == SVSTREAM_OK ) )
+ if ( xTemp.is() && ( xTemp->GetError() == ERRCODE_NONE ) )
{
sal_uInt32 nLen = xTemp->GetSize();
if ( nLen )
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 39de03af59c7..22697b75a581 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -1543,7 +1543,7 @@ void SdPublishingDlg::Load()
pStream->ReadUInt16( nDesigns );
for( sal_uInt16 nIndex = 0;
- pStream->GetError() == SVSTREAM_OK && nIndex < nDesigns;
+ pStream->GetError() == ERRCODE_NONE && nIndex < nDesigns;
nIndex++ )
{
SdPublishingDesign aDesign;
@@ -1576,7 +1576,7 @@ bool SdPublishingDlg::Save()
pStream->WriteUInt16( nDesigns );
for( sal_uInt16 nIndex = 0;
- pStream->GetError() == SVSTREAM_OK && nIndex < nDesigns;
+ pStream->GetError() == ERRCODE_NONE && nIndex < nDesigns;
nIndex++ )
WriteSdPublishingDesign( *pStream, m_aDesignList[nIndex] );
}