]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.C
Implement os::current_root for native Win32 builds.
[lyx.git] / src / paragraph.C
index 62667f63b6584913cdddd73dcc9f8b1938056c88..b33ebcfdd983e593de32b00ae3ae330a1fe9d69f 100644 (file)
@@ -716,12 +716,6 @@ bool Paragraph::forceDefaultParagraphs() const
 }
 
 
-bool Paragraph::autoBreakRows() const
-{
-       return inInset() && static_cast<InsetText *>(inInset())->getAutoBreakRows();
-}
-
-
 namespace {
 
 // paragraphs inside floats need different alignment tags to avoid
@@ -1389,7 +1383,6 @@ pos_type Paragraph::getFirstWord(Buffer const & buf, ostream & os, OutputParams
 
 bool Paragraph::onlyText(Buffer const & buf, LyXFont const & outerfont, pos_type initial) const
 {
-       LyXLayout_ptr const & style = layout();
        LyXFont font_old;
 
        for (pos_type i = initial; i < size(); ++i) {