summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-27 21:10:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-28 09:55:03 +0000
commitbdaadf8fdde23f05ba151a9b0a1108e8d713cf40 (patch)
tree20524905bafc8dc5d320c1636e237cbf23ada0c1 /idl
parent963fd1696cb3563ed434a0af8b13d99145e43073 (diff)
is there any point to aSrcLine and "rsc" directive in idl?
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/command.hxx1
-rw-r--r--idl/source/prj/command.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/idl/inc/command.hxx b/idl/inc/command.hxx
index dad01dcf0523..6d89717d2c1f 100644
--- a/idl/inc/command.hxx
+++ b/idl/inc/command.hxx
@@ -57,7 +57,6 @@ public:
String aCHeaderFile;
String aCSourceFile;
String aTargetFile;
- ByteString aSrsLine;
String aHelpIdFile;
String aCSVFile;
String aExportFile;
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 9366d7c32045..0eece073c550 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -333,10 +333,9 @@ SvCommand::SvCommand( int argc, char ** argv )
}
else if( aParam.EqualsIgnoreCaseAscii( "rsc", 0, 3 ) )
{ // first line in *.srs file
+ OSL_ENSURE(false, "does anything use this option, doesn't look like it belong here");
if( aList[ i + 1 ] )
{
- aSrsLine = rtl::OUStringToOString(*aList[ i +1 ],
- RTL_TEXTENCODING_UTF8);
i++;
}
}