]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlookup.C
insetquote fix; getStatus tweaks
[lyx.git] / src / lyxlookup.C
index 97d373d64d621b312c6cadb4812970de36f82406..39916ed893366559d45c3e75fe4771ca26cda4ab 100644 (file)
@@ -4,7 +4,7 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich 
- *           Copyright 1995-2000 The LyX team.
+ *           Copyright 1995-2001 The LyX team.
  *
  * ====================================================== */
 
 
 using std::endl;
 
-static XIM xim;
-static XIC xic;
+namespace {
+
+XIM xim;
+XIC xic;
 XComposeStatus compose_status= {0, 0};
 
+} // namespace anon
+
+
 // This is called after the main LyX window has been created
 void InitLyXLookup(Display * display, Window window) 
 {
@@ -89,7 +94,8 @@ void InitLyXLookup(Display * display, Window window)
 }
 
 
-static
+namespace {
+
 bool isDeadEvent(KeySym keysym)
 {
        // Can this be done safely in any other way?
@@ -152,6 +158,8 @@ bool isDeadEvent(KeySym keysym)
        }
 }
 
+} // namespace anon
+
 
 // This is called instead of XLookupString()
 int LyXLookupString(XEvent * event,