diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-04-14 20:39:08 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-14 22:49:32 +0200 |
commit | 389218f922471f184daa7429561e78ee5db214e5 (patch) | |
tree | e28dc54e74852b3659a0404865a66bd5fe5929d1 /sd | |
parent | b80ca48354bfba707d7e3b0b0c05a33038014572 (diff) |
Slidesorter: Font_Button unused.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlsTheme.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsTheme.cxx | 10 |
2 files changed, 1 insertions, 12 deletions
diff --git a/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx b/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx index 11dd0fb5f89f..df808220ff54 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsTheme.hxx @@ -77,8 +77,7 @@ public: enum FontType { Font_PageNumber, - Font_PageCount, - Font_Button + Font_PageCount }; static ::boost::shared_ptr<Font> GetFont ( const FontType eType, diff --git a/sd/source/ui/slidesorter/view/SlsTheme.cxx b/sd/source/ui/slidesorter/view/SlsTheme.cxx index 5cb33b54243a..6390d9044231 100644 --- a/sd/source/ui/slidesorter/view/SlsTheme.cxx +++ b/sd/source/ui/slidesorter/view/SlsTheme.cxx @@ -258,16 +258,6 @@ void Theme::Update (const ::boost::shared_ptr<controller::Properties>& rpPropert pFont->SetSize(Size(aSize.Width()*5/3, aSize.Height()*5/3)); } break; - - case Font_Button: - pFont.reset(new Font(Application::GetSettings().GetStyleSettings().GetAppFont())); - pFont->SetTransparent(sal_True); - pFont->SetWeight(WEIGHT_BOLD); - { - const Size aSize (pFont->GetSize()); - pFont->SetSize(Size(aSize.Width()*4/3, aSize.Height()*4/3)); - } - break; } if (pFont) |