diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-04 17:00:46 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-05 12:11:14 +0200 |
commit | 27c031434f8737d4c11b50e348a125cd6e4991ad (patch) | |
tree | 5d76f8722d556bb07cef46608883e1b42c587e67 /l10ntools/inc | |
parent | 4901ff2f8d57775c0ef0c201082f1886df0d8fb0 (diff) |
Remove the unused <l10ntools/vosapp.hxx> header
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/l10ntools/vosapp.hxx | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/l10ntools/inc/l10ntools/vosapp.hxx b/l10ntools/inc/l10ntools/vosapp.hxx deleted file mode 100644 index ee7d3a49c9b9..000000000000 --- a/l10ntools/inc/l10ntools/vosapp.hxx +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -#ifndef VOSAPP_HXX -#define VOSAPP_HXX - -#include <sal/main.h> -#include <tools/solar.h> -#include <tools/string.hxx> - -// Mininmal vcl/svapp compatibility without vcl dependence -class Application -{ -public: - sal_uInt16 GetCommandLineParamCount(); - XubString GetCommandLineParam( sal_uInt16 nParam ); - virtual void Main() = 0; -}; - -// Urg: Cut & Paste from svapp.cxx: we don't want to depend on vcl -sal_uInt16 Application::GetCommandLineParamCount() -{ -#ifdef _MSC_VER -// Avoid using a cast, instead just disable the warning, sigh... -#pragma warning (push) -#pragma warning (disable:4244) -#endif - return osl_getCommandArgCount(); -#ifdef _MSC_VER -#pragma warning (pop) -#endif -} - -XubString Application::GetCommandLineParam( sal_uInt16 nParam ) -{ - rtl::OUString aParam; - osl_getCommandArg( nParam, &aParam.pData ); - return XubString( aParam ); -} - -#endif /* VOSAPP_HXX */ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |