From 4ff873bda2a3af12e5c4848843ea6b7d9592bb6b Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Sun, 2 Feb 2014 16:53:49 +0100 Subject: Introduce com.sun.star.ui.theWindowStateConfiguration singleton. Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409 --- cui/source/customize/cfg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/customize') diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 1d5349db7e27..fb6491118d2a 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -86,7 +86,7 @@ #include #include #include -#include +#include #include #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" #include @@ -3603,7 +3603,7 @@ ToolbarSaveInData::ToolbarSaveInData( uno::Reference xContext = ::comphelper::getProcessComponentContext(); // Initialize the m_xPersistentWindowState variable which is used // to get the default properties of system toolbars such as name - uno::Reference< container::XNameAccess > xPWSS = css::ui::WindowStateConfiguration::create( xContext ); + uno::Reference< container::XNameAccess > xPWSS = css::ui::theWindowStateConfiguration::get( xContext ); xPWSS->getByName( aModuleId ) >>= m_xPersistentWindowState; } -- cgit