summaryrefslogtreecommitdiff
path: root/include/svtools/ctrltool.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-03 09:30:05 +0200
committerNoel Grandin <noel@peralex.com>2015-03-19 10:45:00 +0200
commit6bf3b6d420873e236b2805a42a95ce33e614ad98 (patch)
treefc582e0a8af0ae1979891bb9e2bb6d49696d34d7 /include/svtools/ctrltool.hxx
parent5133b27e638140ba574016b33dae70ca92edc323 (diff)
loplugin:constantfunction: svtools
Change-Id: I42479fb10878a0a1c2071f7b35ae375061781d40
Diffstat (limited to 'include/svtools/ctrltool.hxx')
-rw-r--r--include/svtools/ctrltool.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx
index 93fa66b2e976..4cecae8859cd 100644
--- a/include/svtools/ctrltool.hxx
+++ b/include/svtools/ctrltool.hxx
@@ -134,6 +134,8 @@ FontList.
class SVT_DLLPUBLIC FontList
{
private:
+ static const sal_IntPtr aStdSizeAry[];
+
OUString maMapBoth;
OUString maMapPrinterOnly;
OUString maMapScreenOnly;
@@ -193,7 +195,7 @@ public:
const vcl::FontInfo& GetFontInfo( sal_Handle hFontInfo ) const;
const sal_IntPtr* GetSizeAry( const vcl::FontInfo& rInfo ) const;
- static const sal_IntPtr* GetStdSizeAry();
+ static const sal_IntPtr* GetStdSizeAry() { return aStdSizeAry; }
private:
FontList( const FontList& ) SAL_DELETED_FUNCTION;