Kaydet (Commit) 6086949c authored tarafından Julien Nabet's avatar Julien Nabet

Remove unused function useFont

Change-Id: Icaa3e130ebd4eb168a62a2b45cf8f7a222c0764e
üst a2dd3fea
......@@ -301,15 +301,6 @@ namespace cairocanvas
return maText;
}
void TextLayout::useFont( Cairo* pCairo )
{
rendering::FontRequest aFontRequest = mpFont->getFontRequest();
rendering::FontInfo aFontInfo = aFontRequest.FontDescription;
cairo_select_font_face( pCairo, OUStringToOString( aFontInfo.FamilyName, RTL_TEXTENCODING_UTF8 ).getStr(), CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL );
cairo_set_font_size( pCairo, aFontRequest.CellSize );
}
/**
* TextLayout::isCairoRenderable
*
......
......@@ -102,7 +102,6 @@ namespace cairocanvas
SurfaceProviderRef mpRefDevice;
sal_Int8 mnTextDirection;
void useFont( ::cairo::Cairo* pCairo );
bool isCairoRenderable(SystemFontData aSysFontData) const;
};
......
......@@ -30,7 +30,6 @@ apitest::XPropertySet::testAddVetoableChangeListener()
apitest::XPropertySet::testRemovePropertyChangeListener()
apitest::XPropertySet::testRemoveVetoableChangeListener()
apitest::XSpreadsheetDocument::testGetSheets()
cairocanvas::TextLayout::useFont(_cairo*)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
......
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