diff options
Diffstat (limited to 'framework/inc/helper/titlebarupdate.hxx')
-rw-r--r-- | framework/inc/helper/titlebarupdate.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx index c06d23976ed4..cad8d91f042c 100644 --- a/framework/inc/helper/titlebarupdate.hxx +++ b/framework/inc/helper/titlebarupdate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX -#define INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> @@ -69,7 +68,7 @@ class TitleBarUpdate final : public ::cppu::WeakImplHelper< public: // ctor/dtor - TitleBarUpdate(const css::uno::Reference< css::uno::XComponentContext >& xContext); + TitleBarUpdate(css::uno::Reference< css::uno::XComponentContext > xContext); virtual ~TitleBarUpdate( ) override; // XInterface, XTypeProvider @@ -130,7 +129,7 @@ class TitleBarUpdate final : public ::cppu::WeakImplHelper< the frame which contains the component and where the title must be set on the window title bar. */ - void impl_updateTitle(const css::uno::Reference< css::frame::XFrame >& xFrame); + static void impl_updateTitle(const css::uno::Reference< css::frame::XFrame >& xFrame); //Hook to set GNOME3/Windows 7 applicationID for toplevel frames //http://msdn.microsoft.com/en-us/library/dd378459(v=VS.85).aspx @@ -140,6 +139,4 @@ class TitleBarUpdate final : public ::cppu::WeakImplHelper< } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |