drop newly unused Application::ValidateSystemFont
Change-Id: Iffe850d99f2dcd9e955a4ba1190e010be905434b
This commit is contained in:
@@ -724,18 +724,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
static const AllSettings& GetSettings();
|
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.
|
/** Get the application's locale data wrapper.
|
||||||
|
|
||||||
@returns reference to a LocaleDataWrapper object
|
@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 )
|
void Application::SetSettings( const AllSettings& rSettings )
|
||||||
{
|
{
|
||||||
const SolarMutexGuard aGuard;
|
const SolarMutexGuard aGuard;
|
||||||
|
Reference in New Issue
Block a user