Spotted by cppcheck.
}
-void GuiBibtex::setFileEncodings(vector<docstring> const m)
+void GuiBibtex::setFileEncodings(vector<docstring> const & m)
{
for (docstring const & s: m) {
docstring key;
///
std::vector<docstring> getFileEncodings();
///
- void setFileEncodings(std::vector<docstring> const m);
+ void setFileEncodings(std::vector<docstring> const & m);
///
bool initialiseParams(std::string const & data);
}
-void GuiCitation::setPreTexts(vector<docstring> const m)
+void GuiCitation::setPreTexts(vector<docstring> const & m)
{
// account for multiple use of the same keys
QList<QModelIndex> handled;
}
-void GuiCitation::setPostTexts(vector<docstring> const m)
+void GuiCitation::setPostTexts(vector<docstring> const & m)
{
// account for multiple use of the same keys
QList<QModelIndex> handled;
/// Get selected keys
QStringList selectedKeys();
/// Set pre texts of qualified lists
- void setPreTexts(std::vector<docstring> const m);
+ void setPreTexts(std::vector<docstring> const & m);
/// Get pre texts of qualified lists
std::vector<docstring> getPreTexts();
/// Set post texts of qualified lists
- void setPostTexts(std::vector<docstring> const m);
+ void setPostTexts(std::vector<docstring> const & m);
/// Get post texts of qualified lists
std::vector<docstring> getPostTexts();