summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-04 17:00:46 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-05 12:11:14 +0200
commit27c031434f8737d4c11b50e348a125cd6e4991ad (patch)
tree5d76f8722d556bb07cef46608883e1b42c587e67 /l10ntools
parent4901ff2f8d57775c0ef0c201082f1886df0d8fb0 (diff)
Remove the unused <l10ntools/vosapp.hxx> header
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/l10ntools/vosapp.hxx41
-rw-r--r--l10ntools/prj/d.lst1
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