]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
* src/support/unicode.C
[lyx.git] / src / BufferView.C
index 94c5712b26128a6c7c1a48841c75eefbdad8c71b..ede9d687b86dc0041947a48755c2ff0116f3337d 100644 (file)
@@ -577,7 +577,6 @@ void BufferView::center()
        CursorSlice & bot = cursor_.bottom();
        TextMetrics & tm = text_metrics_[bot.text()];
        pit_type const pit = bot.pit();
-       int max_width = workWidth();
        tm.redoParagraph(pit);
        ParagraphMetrics const & pm = tm.parMetrics(pit);
        anchor_ref_ = pit;