]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
fix "make dist" target
[lyx.git] / src / BufferView.C
index 12ac9b7e02d8d8a7cbce7678ec59d8c5b4aa2a47..1c65105bf68ecd06256201ffe75e91af87ac3d99 100644 (file)
@@ -46,13 +46,7 @@ Buffer * BufferView::buffer() const
 
 LyXScreen * BufferView::screen() const
 {
-       return pimpl_->screen_;
-}
-
-
-WorkArea * BufferView::workarea() const
-{
-       return pimpl_->workarea_;
+       return pimpl_->screen_.get();
 }
 
 
@@ -233,7 +227,7 @@ bool BufferView::active() const
 
 int BufferView::workWidth() const
 {
-    return pimpl_->workarea_->workWidth();
+    return pimpl_->workarea_.workWidth();
 }
 
 
@@ -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);
 }