]> git.lyx.org Git - lyx.git/commitdiff
* BufferView::workAreaResize(): renamed to resize.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 24 Aug 2007 07:05:19 +0000 (07:05 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 24 Aug 2007 07:05:19 +0000 (07:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19766 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp
src/BufferView.h
src/frontends/WorkArea.cpp

index abf55eb8ec0e86b4ea9733a13b525ab6cff9e286..5b9cb3332391376a44b778ac25032535ff28c7cb 100644 (file)
@@ -974,7 +974,7 @@ void BufferView::clearSelection()
 }
 
 
-void BufferView::workAreaResize(int width, int height)
+void BufferView::resize(int width, int height)
 {
        // Update from work area
        width_ = width;
index a063e62c0133799790e31ed782f4a85d5ab34a18..2c8e3e0717c6d5d67c4775cdcefb59fa0b7a0352 100644 (file)
@@ -153,10 +153,9 @@ public:
        /// clear the X11 selection.
        void clearSelection();
 
-       /// resize method helper for \c WorkArea
+       /// resize the BufferView.
        /// \sa WorkArea
-       /// \sa resise
-       void workAreaResize(int width, int height);
+       void resize(int width, int height);
 
        /// dispatch method helper for \c WorkArea
        /// \sa WorkArea
index b0155ba67609ef61a99cabad335776a2f4b52613..8ae29add12deca170e2210c6fa11fc6a6597dc7e 100644 (file)
@@ -241,7 +241,7 @@ void WorkArea::resizeBufferView()
        // WARNING: Please don't put any code that will trigger a repaint here!
        // We are already inside a paint event.
        lyx_view_->busy(true);
-       buffer_view_->workAreaResize(width(), height());
+       buffer_view_->resize(width(), height());
        lyx_view_->updateLayoutChoice();
        lyx_view_->busy(false);
 }