X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFormat.h;h=cc383c02497820d8a127b56a29afcf79c607abe9;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=e076934cb5935ec3055d37f45b09401afa5beed5;hpb=a2bfe0042d740da64c1daf60f145211cfc1396ed;p=lyx.git diff --git a/src/Format.h b/src/Format.h index e076934cb5..cc383c0249 100644 --- a/src/Format.h +++ b/src/Format.h @@ -217,10 +217,13 @@ std::string flavor2format(OutputParams::FLAVOR flavor); // Not currently used. // OutputParams::FLAVOR format2flavor(std::string fmt); -extern Formats formats; - -extern Formats system_formats; +/// The global instance. +/// Implementation is in LyX.cpp. +extern Formats & theFormats(); +/// The global copy after reading lyxrc.defaults. +/// Implementation is in LyX.cpp. +extern Formats & theSystemFormats(); } // namespace lyx