From 7016f0c676c90aea9277ce08aeaeff0005b79df8 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 18 Nov 2024 10:11:41 +0100 Subject: [PATCH] Remove unused variables Probably relicts from development --- src/frontends/qt/GuiDocument.cpp | 2 -- src/frontends/qt/GuiTabularCreate.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index 067f162b3e..16374e524c 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -3644,8 +3644,6 @@ void GuiDocument::getTableStyles() QString data = fn.left(fn.lastIndexOf(".lyx")); QString guiname = data; guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' ')))); - QString relpath = toqstr(makeRelPath(qstring_to_ucs4(fn), - qstring_to_ucs4(dir))); if (textLayoutModule->tableStyleCO->findData(data) == -1) textLayoutModule->tableStyleCO->addItem(guiname, data); } diff --git a/src/frontends/qt/GuiTabularCreate.cpp b/src/frontends/qt/GuiTabularCreate.cpp index d9eba4871b..d93e970469 100644 --- a/src/frontends/qt/GuiTabularCreate.cpp +++ b/src/frontends/qt/GuiTabularCreate.cpp @@ -63,8 +63,6 @@ void GuiTabularCreate::getFiles() QString data = fn.left(fn.lastIndexOf(".lyx")); QString guiname = data; guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' ')))); - QString relpath = toqstr(makeRelPath(qstring_to_ucs4(fn), - qstring_to_ucs4(dir))); if (styleCO->findData(data) == -1) styleCO->addItem(guiname, data); }