diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-02 16:53:49 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-02-06 12:03:28 +0100 |
commit | 4ff873bda2a3af12e5c4848843ea6b7d9592bb6b (patch) | |
tree | df09b0860f9ab6db4f6a1f49d554f6e67848acab /cui | |
parent | 813b0f60e86de5e0ebf678691a9ff405e293bf86 (diff) |
Introduce com.sun.star.ui.theWindowStateConfiguration singleton.
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
Diffstat (limited to 'cui')
-rw-r--r-- | cui/inc/pch/precompiled_cui.hxx | 2 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx index f04babaa0d56..940d8dc9a6e6 100644 --- a/cui/inc/pch/precompiled_cui.hxx +++ b/cui/inc/pch/precompiled_cui.hxx @@ -214,7 +214,7 @@ #include <com/sun/star/ui/theUICategoryDescription.hpp> #include <com/sun/star/ui/UIConfigurationManager.hpp> #include <com/sun/star/ui/UIElementType.hpp> -#include <com/sun/star/ui/WindowStateConfiguration.hpp> +#include <com/sun/star/ui/theWindowStateConfiguration.hpp> #include <com/sun/star/ui/XModuleUIConfigurationManager.hpp> #include <com/sun/star/ui/XUIConfiguration.hpp> #include <com/sun/star/ui/XUIConfigurationListener.hpp> 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 <com/sun/star/ui/XUIElement.hpp> #include <com/sun/star/ui/UIElementType.hpp> #include <com/sun/star/ui/ImageType.hpp> -#include <com/sun/star/ui/WindowStateConfiguration.hpp> +#include <com/sun/star/ui/theWindowStateConfiguration.hpp> #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> @@ -3603,7 +3603,7 @@ ToolbarSaveInData::ToolbarSaveInData( uno::Reference<uno::XComponentContext> 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; } |