Kaydet (Commit) 8bf07e7f authored tarafından Caolán McNamara's avatar Caolán McNamara

drop newly unused Application::ValidateSystemFont

Change-Id: Iffe850d99f2dcd9e955a4ba1190e010be905434b
üst 324de04a
......@@ -724,18 +724,6 @@ public:
*/
static const AllSettings& GetSettings();
/** Validate that the currently selected system UI font is suitable
to display the application's UI.
A localized test string will be checked if it can be displayed in the currently
selected system UI font. If no glyphs are missing it can be assumed that the font
is proper for display of the application's UI.
@returns true if the system font is suitable for our UI and false if the test
string could not be displayed with the system font.
*/
static bool ValidateSystemFont();
/** Get the application's locale data wrapper.
@returns reference to a LocaleDataWrapper object
......
......@@ -497,21 +497,6 @@ void Application::MergeSystemSettings( AllSettings& rSettings )
}
}
bool Application::ValidateSystemFont()
{
vcl::Window* pWindow = ImplGetSVData()->maWinData.mpFirstFrame;
if( ! pWindow )
pWindow = ImplGetDefaultWindow();
if( pWindow )
{
AllSettings aSettings;
pWindow->ImplGetFrame()->UpdateSettings( aSettings );
return pWindow->ImplCheckUIFont( aSettings.GetStyleSettings().GetAppFont() );
}
return false;
}
void Application::SetSettings( const AllSettings& rSettings )
{
const SolarMutexGuard aGuard;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment