|
From: <xb...@us...> - 2013-09-22 14:45:13
|
Revision: 1861
http://sourceforge.net/p/scstudio/code/1861
Author: xborza
Date: 2013-09-22 14:45:11 +0000 (Sun, 22 Sep 2013)
Log Message:
-----------
bug #53 Scstudio fires every visio event three times fixed/experimental phase
Modified Paths:
--------------
trunk/src/view/visio/addon/addon.cpp
Modified: trunk/src/view/visio/addon/addon.cpp
===================================================================
--- trunk/src/view/visio/addon/addon.cpp 2013-09-06 11:59:01 UTC (rev 1860)
+++ trunk/src/view/visio/addon/addon.cpp 2013-09-22 14:45:11 UTC (rev 1861)
@@ -262,6 +262,10 @@
free(cmdline);
Visio::IVDocumentPtr vsoDocument;
+ //loaded VSX files-stencils BMSC and HMS, DocumentMonitor is useless for them
+ if(iDocumentIndex == 2 || iDocumentIndex == 3)
+ return VAORC_SUCCESS;
+
// if valid, use the document of the given index
// note: the documents collection is one-based
if(iDocumentIndex > 0 && iDocumentIndex <= vsoApp->Documents->Count)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|