]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
fix "make dist" target
[lyx.git] / src / BufferView.C
index 1e7db9e20b2b39d0dc69d57a2001c3ae1c6820ac..1c65105bf68ecd06256201ffe75e91af87ac3d99 100644 (file)
@@ -50,12 +50,6 @@ LyXScreen * BufferView::screen() const
 }
 
 
-WorkArea * BufferView::workarea() const
-{
-       return &pimpl_->workarea_;
-}
-
-
 LyXView * BufferView::owner() const
 {
        return pimpl_->owner_;
@@ -279,6 +273,12 @@ void BufferView::pasteClipboard(bool asPara)
 }
 
 
+string const BufferView::getClipboard() const
+{
+       return pimpl_->workarea_.getClipboard();
+}
+
+
 void BufferView::stuffClipboard(string const & stuff) const
 {
        pimpl_->stuffClipboard(stuff);
@@ -294,5 +294,5 @@ BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
 
 bool BufferView::Dispatch(kb_action action, string const & argument)
 {
-    return pimpl_->Dispatch(action, argument);
+       return pimpl_->Dispatch(action, argument);
 }