diff --git a/src/edt/edt/edtInstPropertiesPage.cc b/src/edt/edt/edtInstPropertiesPage.cc index 5266ff485..08a4c27fa 100644 --- a/src/edt/edt/edtInstPropertiesPage.cc +++ b/src/edt/edt/edtInstPropertiesPage.cc @@ -439,7 +439,7 @@ InstPropertiesPage::create_applicator (db::Cell & /*cell*/, const db::Instance & appl->add (new ChangeTargetCellApplicator (inst_cell_index)); } - } catch (tl::Exception &ex) { + } catch (tl::Exception &) { has_pcell_error = true; } diff --git a/src/lay/lay/laySearchReplacePropertiesWidgets.cc b/src/lay/lay/laySearchReplacePropertiesWidgets.cc index c135d9307..42e7d8979 100644 --- a/src/lay/lay/laySearchReplacePropertiesWidgets.cc +++ b/src/lay/lay/laySearchReplacePropertiesWidgets.cc @@ -200,7 +200,7 @@ add_orientation_condition (std::string &expr, QComboBox *op, QComboBox *value, c expr += attribute; expr += " "; expr += tl::to_string (op->currentText ()); - expr += " Trans." + v; + expr += " Trans." + v + ".rot"; } } @@ -308,6 +308,7 @@ add_orientation_assignment (std::string &expr, QComboBox *value, const char *att expr += attribute; expr += " = Trans."; expr += v; + expr += ".rot"; } }