summaryrefslogtreecommitdiff
path: root/toolkit/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-16 09:14:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-16 10:15:38 +0100
commitcb7412b8185d6b94ca59b48668ec5e77fa8f7999 (patch)
tree9a0e17cbffb5de39ade4d5aa73184a9db852396c /toolkit/inc
parentade27059dc2e1c84ab00023c15430ee6645617f7 (diff)
merge duplicated CreateFontDescriptor methods
Change-Id: I33f9df7f17158eedc4a4c0dedfd0fc4cddc6180f
Diffstat (limited to 'toolkit/inc')
-rw-r--r--toolkit/inc/toolkit/helper/vclunohelper.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolkit/inc/toolkit/helper/vclunohelper.hxx b/toolkit/inc/toolkit/helper/vclunohelper.hxx
index 7c07a87cfe72..cb1da9ffe4d2 100644
--- a/toolkit/inc/toolkit/helper/vclunohelper.hxx
+++ b/toolkit/inc/toolkit/helper/vclunohelper.hxx
@@ -94,7 +94,10 @@ public:
// Polygon
static Polygon CreatePolygon( const ::com::sun::star::uno::Sequence< sal_Int32 >& DataX, const ::com::sun::star::uno::Sequence< sal_Int32 >& DataY );
- // Font
+ /** convert Font to ::com::sun::star::awt::FontDescriptor
+ @param rFont Font to be converted
+ @return the new FontDescriptor
+ */
static ::com::sun::star::awt::FontDescriptor CreateFontDescriptor( const Font& rFont );
static Font CreateFont( const ::com::sun::star::awt::FontDescriptor& rDescr, const Font& rInitFont );
static Font CreateFont( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont >& rxFont );