You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2014/07/07 11:04:39 UTC
svn commit: r1608376 -
/openoffice/trunk/main/sfx2/source/doc/sfxbasemodel.cxx
Author: orw
Date: Mon Jul 7 09:04:38 2014
New Revision: 1608376
URL: http://svn.apache.org/r1608376
Log:
123812: <SfxBaseModel::storeSelf(..)> - accept arguement FailOnWarning in order to get new Version saved, if requested
Patch by: hanya
Review by: orw
Modified:
openoffice/trunk/main/sfx2/source/doc/sfxbasemodel.cxx
Modified: openoffice/trunk/main/sfx2/source/doc/sfxbasemodel.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/doc/sfxbasemodel.cxx?rev=1608376&r1=1608375&r2=1608376&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/doc/sfxbasemodel.cxx (original)
+++ openoffice/trunk/main/sfx2/source/doc/sfxbasemodel.cxx Mon Jul 7 09:04:38 2014
@@ -1610,7 +1610,8 @@ void SAL_CALL SfxBaseModel::storeSelf( c
if ( !aSeqArgs[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "VersionComment" ) ) )
&& !aSeqArgs[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Author" ) ) )
&& !aSeqArgs[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "InteractionHandler" ) ) )
- && !aSeqArgs[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "StatusIndicator" ) ) ) )
+ && !aSeqArgs[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "StatusIndicator" ) ) )
+ && !aSeqArgs[nInd].Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FailOnWarning" ) ) ) )
{
m_pData->m_pObjectShell->AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "unexpected parameter for storeSelf, might be no problem if SaveAs is executed." ) ) );
m_pData->m_pObjectShell->StoreLog();