]> git.lyx.org Git - lyx.git/blobdiff - src/cursor.C
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / cursor.C
index 5c28e86895a1ba3e760f56fd74de321127c31425..ff206f532005623129edbbec1758a2ea7194a9f7 100644 (file)
@@ -1126,9 +1126,9 @@ string LCursor::selectionAsString(bool label) const
                return result;
        }
 
-#ifdef WITH_WARNINGS
-#warning and mathed?
-#endif
+       if (inMathed())
+               return lyx::cap::grabSelection(*this);
+
        return string();
 }