From 27c031434f8737d4c11b50e348a125cd6e4991ad Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 4 Nov 2011 17:00:46 +0200 Subject: Remove the unused header --- l10ntools/inc/l10ntools/vosapp.hxx | 41 -------------------------------------- l10ntools/prj/d.lst | 1 - 2 files changed, 42 deletions(-) delete mode 100644 l10ntools/inc/l10ntools/vosapp.hxx 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 -#include -#include - -// 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 -- cgit