Kaydet (Commit) 389218f9 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Slidesorter: Font_Button unused.

üst b80ca483
...@@ -77,8 +77,7 @@ public: ...@@ -77,8 +77,7 @@ public:
enum FontType { enum FontType {
Font_PageNumber, Font_PageNumber,
Font_PageCount, Font_PageCount
Font_Button
}; };
static ::boost::shared_ptr<Font> GetFont ( static ::boost::shared_ptr<Font> GetFont (
const FontType eType, const FontType eType,
......
...@@ -258,16 +258,6 @@ void Theme::Update (const ::boost::shared_ptr<controller::Properties>& rpPropert ...@@ -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)); pFont->SetSize(Size(aSize.Width()*5/3, aSize.Height()*5/3));
} }
break; 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) if (pFont)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment