mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix monolithic build
This commit is contained in:
parent
1e681cdc80
commit
fdee77a6b5
@ -229,21 +229,6 @@ FontInfo InsetArgument::getLabelfont() const
|
||||
return getLayout().labelfont();
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
InsetLayout::InsetDecoration translateDecoration(std::string const & str)
|
||||
{
|
||||
if (support::compare_ascii_no_case(str, "classic") == 0)
|
||||
return InsetLayout::CLASSIC;
|
||||
if (support::compare_ascii_no_case(str, "minimalistic") == 0)
|
||||
return InsetLayout::MINIMALISTIC;
|
||||
if (support::compare_ascii_no_case(str, "conglomerate") == 0)
|
||||
return InsetLayout::CONGLOMERATE;
|
||||
return InsetLayout::DEFAULT;
|
||||
}
|
||||
|
||||
}// namespace anon
|
||||
|
||||
InsetLayout::InsetDecoration InsetArgument::decoration() const
|
||||
{
|
||||
InsetLayout::InsetDecoration dec = getLayout().decoration();
|
||||
|
@ -47,8 +47,6 @@ InsetLayout::InsetLayout() :
|
||||
}
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
InsetLayout::InsetDecoration translateDecoration(std::string const & str)
|
||||
{
|
||||
if (support::compare_ascii_no_case(str, "classic") == 0)
|
||||
@ -60,6 +58,8 @@ InsetLayout::InsetDecoration translateDecoration(std::string const & str)
|
||||
return InsetLayout::DEFAULT;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
InsetLayout::InsetLaTeXType translateLaTeXType(std::string const & str)
|
||||
{
|
||||
if (support::compare_ascii_no_case(str, "command") == 0)
|
||||
|
@ -272,6 +272,7 @@ private:
|
||||
|
||||
///
|
||||
InsetLayout::InsetLyXType translateLyXType(std::string const & str);
|
||||
InsetLayout::InsetDecoration translateDecoration(std::string const & str);
|
||||
|
||||
} // namespace lyx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user