]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiRef.cpp
Merge remote-tracking branch 'features/properpaint' into 2.3.2-staging
[lyx.git] / src / frontends / qt4 / GuiRef.cpp
index 6ef6be5b29e48c2d518ccb72a15311d0e16b075b..ae440b05adcc8b22b8be37ce360570c9fafe40f1 100644 (file)
@@ -146,9 +146,9 @@ void GuiRef::enableView(bool enable)
 
 void GuiRef::enableBoxes()
 {
-       bool const isFormatted = 
+       bool const isFormatted =
            (InsetRef::getName(typeCO->currentIndex()) == "formatted");
-       bool const isLabelOnly = 
+       bool const isLabelOnly =
            (InsetRef::getName(typeCO->currentIndex()) == "labelonly");
        bool const usingRefStyle = buffer().params().use_refstyle;
        pluralCB->setEnabled(isFormatted && usingRefStyle);
@@ -170,7 +170,7 @@ void GuiRef::gotoClicked()
        // to which we are going (or from which we are returning) is
        // restored in the dialog. It's a bit of a hack, but it works,
        // and no-one seems to have any better idea.
-       bool const toggled = 
+       bool const toggled =
                last_reference_.isEmpty() || last_reference_.isNull();
        if (toggled)
                last_reference_ = referenceED->text();
@@ -353,11 +353,11 @@ void GuiRef::applyView()
        params_.setCmdName(InsetRef::getName(typeCO->currentIndex()));
        params_["reference"] = qstring_to_ucs4(last_reference_);
        params_["name"] = qstring_to_ucs4(nameED->text());
-       params_["plural"] = pluralCB->isChecked() ? 
+       params_["plural"] = pluralCB->isChecked() ?
              from_ascii("true") : from_ascii("false");
-       params_["caps"] = capsCB->isChecked() ? 
+       params_["caps"] = capsCB->isChecked() ?
              from_ascii("true") : from_ascii("false");
-       params_["noprefix"] = noprefixCB->isChecked() ? 
+       params_["noprefix"] = noprefixCB->isChecked() ?
              from_ascii("true") : from_ascii("false");
        restored_buffer_ = bufferCO->currentIndex();
 }