commit 51ee4b34c20b08d2746db0f172f3de91c64d8931
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Thu Feb 13 23:19:39 2025 +0100

    fixup c7693e77 : remove incorrect &
---
 src/Buffer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 0571e4d579..489d4dc774 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -2941,7 +2941,7 @@ void Buffer::dispatch(FuncRequest const & func, 
DispatchResult & dr)
                break;
 
        case LFUN_BUFFER_EXPORT: {
-               string const & arg = to_utf8(func.argument());
+               string const arg = to_utf8(func.argument());
                string const format = (arg.empty() || arg == "default") ?
                        params().getDefaultOutputFormat() : arg;
                ExportStatus const status = doExport(format, false);
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to