]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.cpp
Remove hardcoded values
[lyx.git] / src / insets / InsetText.cpp
index 1c3689f627d81c1be78248329b45aad95c721913..607f7f577ab1d79c5c782ecdf451d89d971ee6e4 100644 (file)
@@ -137,7 +137,7 @@ void InsetText::clear()
 }
 
 
-Dimension const InsetText::dimension(BufferView const & bv) const
+Dimension const InsetText::dimensionHelper(BufferView const & bv) const
 {
        TextMetrics const & tm = bv.textMetrics(&text_);
        Dimension dim = tm.dimension();
@@ -768,8 +768,9 @@ ParagraphList & InsetText::paragraphs()
 bool InsetText::insetAllowed(InsetCode code) const
 {
        switch (code) {
-       // Arguments are also allowed in PassThru insets
+       // Arguments and (plain) quotes are also allowed in PassThru insets
        case ARG_CODE:
+       case QUOTE_CODE:
                return true;
        default:
                return !isPassThru();