]> git.lyx.org Git - lyx.git/commitdiff
Remove leftover from printing support.
authorStephan Witt <switt@lyx.org>
Thu, 28 May 2015 11:33:56 +0000 (13:33 +0200)
committerStephan Witt <switt@lyx.org>
Thu, 28 May 2015 11:33:56 +0000 (13:33 +0200)
src/Buffer.cpp

index 8af68e43d95fb2be4bb1c8ebc482b15c90b8a5ad..2a67292c37ae9d1ef7d8c291efb9387d1f8fc3ab 100644 (file)
@@ -133,14 +133,6 @@ int const LYX_FORMAT = LYX_FORMAT_LYX;
 typedef map<string, bool> DepClean;
 typedef map<docstring, pair<InsetLabel const *, Buffer::References> > RefCache;
 
-void showPrintError(string const & name)
-{
-       docstring str = bformat(_("Could not print the document %1$s.\n"
-                                           "Check that your printer is set up correctly."),
-                            makeDisplayPath(name, 50));
-       Alert::error(_("Print document failed"), str);
-}
-
 } // namespace anon