diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/l10ntools/vosapp.hxx | 41 | ||||
-rw-r--r-- | l10ntools/prj/d.lst | 1 |
2 files changed, 0 insertions, 42 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: */ diff --git a/l10ntools/prj/d.lst b/l10ntools/prj/d.lst index 5bbc5baf1282..b3e48cfabfa6 100644 --- a/l10ntools/prj/d.lst +++ b/l10ntools/prj/d.lst @@ -41,7 +41,6 @@ mkdir: %_DEST%\bin\help\com\sun\star\help ..\inc\export.hxx %_DEST%\inc\l10ntools\export.hxx ..\inc\l10ntools\directory.hxx %_DEST%\inc\l10ntools\directory.hxx ..\inc\l10ntools\file.hxx %_DEST%\inc\l10ntools\file.hxx -..\inc\l10ntools\vosapp.hxx %_DEST%\inc\l10ntools\vosapp.hxx ..\source\filter\merge\FCFGMerge.cfg %_DEST%\inc\l10ntools\FCFGMerge.cfg ..\%__SRC%\lib\transex.lib %_DEST%\lib\transex.lib |