summaryrefslogtreecommitdiffstats
path: root/unotools/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-16 22:26:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:23:39 +0100
commit63a8d58ef8fa7c59e6aff755e6546e725b513f39 (patch)
treed94d2d889fdcc57b123b1da4b1f2f437c69c304e /unotools/inc
parentnon leaky singleton (diff)
downloadcore-63a8d58ef8fa7c59e6aff755e6546e725b513f39.tar.gz
core-63a8d58ef8fa7c59e6aff755e6546e725b513f39.zip
non leaky singleton
Diffstat (limited to 'unotools/inc')
-rw-r--r--unotools/inc/unotools/fontcfg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/inc/unotools/fontcfg.hxx b/unotools/inc/unotools/fontcfg.hxx
index 6c2295805afd..136147a095d4 100644
--- a/unotools/inc/unotools/fontcfg.hxx
+++ b/unotools/inc/unotools/fontcfg.hxx
@@ -97,7 +97,7 @@ class UNOTOOLS_DLLPUBLIC DefaultFontConfiguration
public:
~DefaultFontConfiguration();
- static DefaultFontConfiguration* get();
+ static DefaultFontConfiguration& get();
rtl::OUString getDefaultFont( const com::sun::star::lang::Locale& rLocale, int nType ) const;
rtl::OUString getUserInterfaceFont( const com::sun::star::lang::Locale& rLocale ) const;