[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sfx2/source

Herbert Dürr hdu at apache.org
Wed Jul 9 15:08:08 PDT 2014


 sfx2/source/appl/impldde.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 727ea069c6342e01a50c8b068ec302574b251cbd
Author: Herbert Dürr <hdu at apache.org>
Date:   Wed Jul 9 21:14:50 2014 +0000

    #i125226# typo fix

diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx
index 8bc1cb6..76981f9 100644
--- a/sfx2/source/appl/impldde.cxx
+++ b/sfx2/source/appl/impldde.cxx
@@ -259,7 +259,7 @@ sal_Bool SvDDEObject::Connect( SvBaseLink * pSvLink )
 #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)


More information about the Libreoffice-commits mailing list