drop newly unused Application::ValidateSystemFont

Change-Id: Iffe850d99f2dcd9e955a4ba1190e010be905434b
This commit is contained in:
Caolán McNamara
2014-12-15 14:02:44 +00:00
parent 324de04a40
commit 8bf07e7f86
2 changed files with 0 additions and 27 deletions

View File

@@ -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

View File

@@ -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;