]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathMacro.cpp
* Reduce compilation time by removing the shared_ptr (which is not
[features.git] / src / mathed / MathMacro.cpp
index 3d84c65e9c7f201ade563bf2a2b14cb16f6ddbbc..821ba2326d7027044e3ad65a5b6d6f1d5fe010be 100644 (file)
@@ -763,12 +763,12 @@ bool MathMacro::automaticPopupCompletion() const
 }
 
 
-Inset::CompletionListPtr MathMacro::completionList(Cursor const & cur) const
+Inset::CompletionList const * MathMacro::completionList(Cursor const & cur) const
 {
        if (displayMode() != DISPLAY_UNFOLDED)
                return InsetMathNest::completionList(cur);
 
-       return CompletionListPtr(new MathCompletionList(cur.bv().cursor()));
+       return new MathCompletionList(cur.bv().cursor());
 }