summaryrefslogtreecommitdiff
path: root/l10ntools/inc
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/inc')
-rw-r--r--l10ntools/inc/l10ntools/vosapp.hxx41
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: */