summaryrefslogtreecommitdiff
path: root/include/vcl/ctrl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/ctrl.hxx')
-rw-r--r--include/vcl/ctrl.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx
index f5d61246db26..fb29c7168889 100644
--- a/include/vcl/ctrl.hxx
+++ b/include/vcl/ctrl.hxx
@@ -28,6 +28,7 @@
// forward
namespace vcl { struct ImplControlData; struct ControlLayoutData; }
+class StyleSettings;
// -----------
// - Control -
@@ -180,13 +181,7 @@ public:
void SetReferenceDevice( OutputDevice* _referenceDevice );
OutputDevice* GetReferenceDevice() const;
- Font GetUnzoomedControlPointFont() const
- {
- Font aFont( GetCanonicalFont( GetSettings().GetStyleSettings() ) );
- if ( IsControlFont() )
- aFont.Merge( GetControlFont() );
- return aFont;
- }
+ Font GetUnzoomedControlPointFont() const;
};
#endif // INCLUDED_VCL_CTRL_HXX