summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-04 04:25:16 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-04 05:16:08 +1100
commit7eab7f3485e525635f06a505776618c30e442a26 (patch)
treeb02a328084b90e43306589ccf73dddbb757277be /framework
parent6aa4496c789fec271dcdc7995cf62ef2dabf1f96 (diff)
Cleanup after removing vcl::FontInfo class
Change-Id: I544eac439cb7277e47a23a90c6fbc45496161c3b
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index 705cdbd02042..3fdcbbbbf8bb 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -152,13 +152,13 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
if ( !pFontList )
pFontList.reset(new FontList( Application::GetDefaultDevice() ));
- FontMetric aFntInfo = pFontList->Get( m_aFontDescriptor.Name, m_aFontDescriptor.StyleName );
+ FontMetric aFontMetric = pFontList->Get( m_aFontDescriptor.Name, m_aFontDescriptor.StyleName );
// setup font size array
delete m_pHeightArray;
const sal_IntPtr* pTempAry;
- const sal_IntPtr* pAry = pFontList->GetSizeAry( aFntInfo );
+ const sal_IntPtr* pAry = pFontList->GetSizeAry( aFontMetric );
sal_uInt16 nSizeCount = 0;
while ( pAry[nSizeCount] )
nSizeCount++;