]> git.lyx.org Git - features.git/blobdiff - src/BufferView_pimpl.C
Fix clipboard/selection encoding
[features.git] / src / BufferView_pimpl.C
index 8b550378c77242d7139aa4b26926c6a61217ef0f..97f031505118f2a7948ecff88df114efaa67c003 100644 (file)
@@ -83,6 +83,7 @@
 using lyx::frontend::Clipboard;
 using lyx::frontend::Gui;
 
+using lyx::docstring;
 using lyx::pos_type;
 
 using lyx::support::addPath;
@@ -460,7 +461,7 @@ void BufferView::Pimpl::scroll(int /*lines*/)
 
 void BufferView::Pimpl::selectionRequested()
 {
-       static string sel;
+       static docstring sel;
 
        if (!available())
                return;