summaryrefslogtreecommitdiff
path: root/svtools/source/control/ctrlbox.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:34 +0200
commit30069114fef2858936c988e8fbc92a69b2ddc8d3 (patch)
tree3382e9f0d2388da576ac5f25e5c59f82e18e31c0 /svtools/source/control/ctrlbox.cxx
parent06b409a64e954ea3336ee57313311eec1f83c01a (diff)
loplugin:staticcall
Change-Id: If7b285a2214bc878e8464a986538d0445078fcb3
Diffstat (limited to 'svtools/source/control/ctrlbox.cxx')
-rw-r--r--svtools/source/control/ctrlbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index dfc086e7de83..10f10495673f 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -1659,12 +1659,12 @@ void FontSizeBox::Fill( const vcl::FontInfo* pInfo, const FontList* pList )
}
else
{
- pAry = pList->GetStdSizeAry();
+ pAry = FontList::GetStdSizeAry();
}
// first insert font size names (for simplified/traditional chinese)
FontSizeNames aFontSizeNames( GetSettings().GetUILanguageTag().getLanguageType() );
- if ( pAry == pList->GetStdSizeAry() )
+ if ( pAry == FontList::GetStdSizeAry() )
{
// for standard sizes we don't need to bother
if ( bStdSize && GetEntryCount() && aFontSizeNames.IsEmpty() )
@@ -1682,7 +1682,7 @@ void FontSizeBox::Fill( const vcl::FontInfo* pInfo, const FontList* pList )
if ( !aFontSizeNames.IsEmpty() )
{
- if ( pAry == pList->GetStdSizeAry() )
+ if ( pAry == FontList::GetStdSizeAry() )
{
// for scalable fonts all font size names
sal_uLong nCount = aFontSizeNames.Count();