diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index bb480b39f866..5eb2aa13f78c 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -179,6 +179,10 @@ static const ExtensionMap aDrawExtensionMap[] = * by css, it might turn out to be worth mapping some of these missing cursors * to available cursors? */ +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning( disable : 4592) +#endif static const std::map aPointerMap { { PointerStyle::Arrow, "default" }, // PointerStyle::Null ? @@ -222,6 +226,9 @@ static const std::map aPointerMap { // Pivot Delete, TabSelectS through TabSelectSW // PaintBrush, HideWhiteSpace, ShowWhiteSpace }; +#ifdef _MSC_VER +#pragma warning(pop) +#endif static OUString getUString(const char* pString) {