You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2014/07/09 23:14:51 UTC

svn commit: r1609302 - /openoffice/trunk/main/sfx2/source/appl/impldde.cxx

Author: hdu
Date: Wed Jul  9 21:14:50 2014
New Revision: 1609302

URL: http://svn.apache.org/r1609302
Log:
#i125226# typo fix

Modified:
    openoffice/trunk/main/sfx2/source/appl/impldde.cxx

Modified: openoffice/trunk/main/sfx2/source/appl/impldde.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/appl/impldde.cxx?rev=1609302&r1=1609301&r2=1609302&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/appl/impldde.cxx (original)
+++ openoffice/trunk/main/sfx2/source/appl/impldde.cxx Wed Jul  9 21:14:50 2014
@@ -259,7 +259,7 @@ sal_Bool SvDDEObject::Connect( SvBaseLin
 #if defined(WNT)
 		// check the suitability of starting the DDE server
 		const SvtSecurityOptions aSecOpts;
-		bool bForbidden = (aSecOpts.GetMacroSecurityLevel() != eNEVER_EXECUTE);
+		bool bForbidden = (aSecOpts.GetMacroSecurityLevel() == eNEVER_EXECUTE);
 		bForbidden |= (bInWinExec != sal_False);
 		static const char* aBadServers[] = { "cmd", "rundll32" };
 		for( int i = 0; i < sizeof(aBadServers)/sizeof(*aBadServers); ++i)