diff options
author | Oliver Braun <obr@openoffice.org> | 2001-02-14 09:36:33 +0000 |
---|---|---|
committer | Oliver Braun <obr@openoffice.org> | 2001-02-14 09:36:33 +0000 |
commit | fa7e9aa2f8a7f3acae4d4db2566ad70f0cbe1361 (patch) | |
tree | 8ac44c96a5298f75a3d5ef86464160117c0c970f /dtrans | |
parent | e6dd4d6c809ed1282169a21586577f917ed7d411 (diff) |
initialize AtomToString table with value 0 (None)
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/X11/X11_selection.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dtrans/source/X11/X11_selection.cxx b/dtrans/source/X11/X11_selection.cxx index f9c4f8fe8558..9617e9864fa4 100644 --- a/dtrans/source/X11/X11_selection.cxx +++ b/dtrans/source/X11/X11_selection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: X11_selection.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: pl $ $Date: 2001-02-14 10:30:53 $ + * last change: $Author: obr $ $Date: 2001-02-14 10:36:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -389,6 +389,9 @@ void SelectionManager::initialize( const Sequence< Any >& arguments ) m_nXdndActionAsk = getAtom( OUString::createFromAscii( "XdndActionAsk" ) ); m_nXdndActionPrivate= getAtom( OUString::createFromAscii( "XdndActionPrivate" ) ); + // initialize map with member none + m_aAtomToString[ 0 ]= OUString::createFromAscii( "None" ); + // create a (invisible) message window m_aWindow = XCreateSimpleWindow( m_pDisplay, DefaultRootWindow( m_pDisplay ), 10, 10, 10, 10, 0, 0, 1 ); |