diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2001-07-05 11:12:46 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2001-07-05 11:12:46 +0000 |
commit | 5d49b87963d3dd4a89db9d4e2ec54f47a6b013a2 (patch) | |
tree | 91609a7630b149ff82395b156b01c497646dd8be /sfx2/source/appl/shutdowniconw32.cxx | |
parent | 07142ee2dd4eac3fac02a4eed06b659effaea686 (diff) |
#89214# new from template uses queryDispatch now
Diffstat (limited to 'sfx2/source/appl/shutdowniconw32.cxx')
-rw-r--r-- | sfx2/source/appl/shutdowniconw32.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index 8ab3cef7eb..39fc7427c5 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shutdowniconw32.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: ssa $ $Date: 2001-06-15 08:40:19 $ + * last change: $Author: ssa $ $Date: 2001-07-05 12:12:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -383,10 +383,7 @@ LRESULT CALLBACK listenerWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP switch( lParam ) { case WM_LBUTTONDBLCLK: - //ShutdownIcon::OpenURL( OUString( RTL_CONSTASCII_USTRINGPARAM( "slot:5500" ) ) ); - // due to #88164 we cannot open-from-template as default action - // so stick with ordinary fileopen - ShutdownIcon::FileOpen(); + ShutdownIcon::FromTemplate(); break; case WM_RBUTTONDOWN: @@ -420,7 +417,7 @@ LRESULT CALLBACK listenerWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP ShutdownIcon::OpenURL( OUString( RTL_CONSTASCII_USTRINGPARAM( DRAW_URL ) ) ); break; case IDM_TEMPLATE: - ShutdownIcon::OpenURL( OUString( RTL_CONSTASCII_USTRINGPARAM( "slot:5500" ) ) ); + ShutdownIcon::FromTemplate(); break; case IDM_INSTALL: ShutdownIcon::SetAutostart( !ShutdownIcon::GetAutostart() ); |