summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Theme.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-07 10:06:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-07 10:09:35 +0100
commitcaa1874ad72005de263e6fd13ee8c660bedc01c2 (patch)
tree56f539f33fc321d90cbdf1d113a1af00db1fd7df /sfx2/source/sidebar/Theme.cxx
parentb8711a13834d4b141bb41de915702131dcc494e7 (diff)
Revert "SidebarResource doesn't do anything useful"
This reverts commit e9886d32923e5fa3995f44701f27148f59df5c0f.
Diffstat (limited to 'sfx2/source/sidebar/Theme.cxx')
-rw-r--r--sfx2/source/sidebar/Theme.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index b821f4f74d69..68586272f408 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -18,6 +18,7 @@
*/
#include <sfx2/sidebar/Theme.hxx>
#include <sfx2/sidebar/Paint.hxx>
+#include <sfx2/sidebar/SidebarResource.hxx>
#include <sfx2/sidebar/Tools.hxx>
#include <sfx2/app.hxx>
@@ -143,6 +144,8 @@ void Theme::InitializeTheme()
void Theme::UpdateTheme()
{
+ SidebarResource aLocalResource;
+
try
{
const StyleSettings& rStyle (Application::GetSettings().GetStyleSettings());