removed unused temporary rtl::OUString

Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
This commit is contained in:
Takeshi Abe 2012-05-23 01:06:30 +09:00
parent 04d600d4be
commit 5394b379eb
22 changed files with 1 additions and 28 deletions

View file

@ -55,7 +55,6 @@ namespace starutil = ::com::sun::star::util;
sdbcx::ObjectType ODbaseTables::createObject(const ::rtl::OUString& _rName)
{
::rtl::OUString aName,aSchema;
ODbaseTable* pRet = new ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection(),
_rName,::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TABLE")));

View file

@ -122,7 +122,6 @@ void OFlatTable::fillColumns(const ::com::sun::star::lang::Locale& _aLocale)
const sal_Unicode cDecimalDelimiter = pConnection->getDecimalDelimiter();
const sal_Unicode cThousandDelimiter = pConnection->getThousandDelimiter();
String aColumnName;
::rtl::OUString aTypeName;
::comphelper::UStringMixEqual aCase(bCase);
::std::vector<String> aColumnNames,m_aTypeNames;
m_aTypeNames.resize(nFieldCount);

View file

@ -766,7 +766,7 @@ void OResultSet::analyseWhereClause( const OSQLParseNode* parseT
::rtl::Reference<OSQLColumns> xColumns = m_pSQLIterator->getParameters();
if(xColumns.is())
{
::rtl::OUString aTabName,aColName,aParameterName,aParameterValue;
::rtl::OUString aColName, aParameterValue;
OSQLColumns::Vector::iterator aIter = xColumns->get().begin();
sal_Int32 i = 1;
for(;aIter != xColumns->get().end();++aIter)

View file

@ -67,7 +67,6 @@ sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
aTypes[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("%"));
// aTypes[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("TABLE"));
// aTypes[1] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("SYSTEMTABLE"));
::rtl::OUString sEmpty;
Reference< XResultSet > xResult = m_xMetaData->getTables(Any(),aSchema,aName,aTypes);

View file

@ -920,7 +920,6 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest)
HRESULT hResult = iCustom->GetCheckButtonState( css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, &bValue);
if ( bValue )
{
::rtl::OUString aExt;
UINT nFileType;
hResult = iDialog->GetFileTypeIndex(&nFileType);
if ( SUCCEEDED(hResult) )

View file

@ -134,7 +134,6 @@ sal_Bool AstStruct::dump(RegistryKey& rKey)
DeclList::const_iterator end = getIteratorEnd();
AstDeclaration* pDecl = NULL;
AstMember* pMember = NULL;
OUString docu;
sal_uInt16 index = 0;
while ( iter != end )
{

View file

@ -303,7 +303,6 @@ sal_Bool AstUnion::dump(RegistryKey& rKey)
AstUnionLabel* pLabel = NULL;
AstExprValue* pExprValue = NULL;
RTConstValue aConst;
OUString docu;
sal_uInt16 index = 0;
if ( pDefault )
index = 1;

View file

@ -560,7 +560,6 @@ PyRef Runtime::any2PyObject (const Any &a ) const
tc->convertTo (a, ::getCppuType (&s)) >>= s;
PyRef tuple( PyTuple_New (s.getLength()), SAL_NO_ACQUIRE);
int i=0;
OUString errMsg;
try
{
for ( i = 0; i < s.getLength (); i++)

View file

@ -195,11 +195,6 @@ CommandLineParameterMap::CommandLineParameterMap() {
static char const PREFIX[] = "-env:";
if (s.matchAsciiL(RTL_CONSTASCII_STRINGPARAM(PREFIX))) {
sal_Int32 j = s.indexOf('=', RTL_CONSTASCII_LENGTH(PREFIX));
rtl::OUString k(
s.copy(
RTL_CONSTASCII_LENGTH(PREFIX),
((j < 0 ? s.getLength() : j) -
RTL_CONSTASCII_LENGTH(PREFIX))));
if (j < 0) {
map_.erase(s.copy(RTL_CONSTASCII_LENGTH(PREFIX)));
} else {

View file

@ -1043,7 +1043,6 @@ XclExpColorScale::XclExpColorScale( const XclExpRoot& rRoot, const ScColorScaleF
void XclExpColorScale::SaveXml( XclExpXmlStream& rStrm )
{
rtl::OUString sSeqRef;
const ScRangeList& rRanges = mrFormat.GetRange();
sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream();

View file

@ -136,7 +136,6 @@ XclImpName::XclImpName( XclImpStream& rStrm, sal_uInt16 nXclNameIdx ) :
maScName = maXclName;
ScfTools::ConvertToScDefinedName( maScName );
}
rtl::OUString aRealOrigName = maScName;
// add index for local names
if( mnXclTab != EXC_NAME_GLOBAL )

View file

@ -661,8 +661,6 @@ void ScXMLExport::CollectSharedData(sal_Int32& nTableCount, sal_Int32& nShapesCo
if (!HasDrawPages(xSpreadDoc))
return;
rtl::OUString sCaptionPoint(RTL_CONSTASCII_USTRINGPARAM("CaptionPoint"));
for (SCTAB nTable = 0; nTable < nTableCount; ++nTable)
{
nCurrentTable = sal::static_int_cast<sal_uInt16>(nTable);

View file

@ -385,7 +385,6 @@ OUString SmOoxmlImport::handleF()
{
stream.ensureOpeningTag( M_TOKEN( f ));
enum operation_t { bar, lin, noBar } operation = bar;
OUString oper = "over";
if( stream.checkOpeningTag( M_TOKEN( fPr )))
{
if( XmlStream::Tag type = stream.checkOpeningTag( M_TOKEN( type )))

View file

@ -567,7 +567,6 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
const SfxItemPropertyMap &rPropMap =
m_pImpl->m_rPropSet.getPropertyMap();
OUString sTmp;
SwPosition aPos( rTxtNode );
SwCursor aCursor( aPos, 0, false );
SwParaSelection aParaSel( aCursor );

View file

@ -543,7 +543,6 @@ uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL SwXTextPortion::setPr
const SfxItemPropertyMap& rPropMap = m_pPropSet->getPropertyMap();
OUString sTmp;
for (sal_Int32 i = 0; i < nProps; ++i)
{
try

View file

@ -259,8 +259,6 @@ void SwHTMLParser::InsertBasicDocEvent( rtl::OUString aEvent, const String& rNam
if( EXTENDED_STYPE == eScrType )
sScriptType = rScrType;
rtl::OUString aEventName;
SfxEventConfiguration::ConfigureEvent( aEvent, SvxMacro( sEvent, sScriptType, eScrType ),
pDocSh );
}

View file

@ -902,7 +902,6 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue(
sal_Int32 nPos = rValue.indexOf( (sal_Unicode)'*' );
if( -1L != nPos )
{
OUString sNum( rValue.copy( 0L, nPos ) );
sal_Int32 nValue = rValue.toInt32();
if( nValue < MINLAY )
nValue = MINLAY;

View file

@ -734,7 +734,6 @@ sal_Bool SwView::ExecSpellPopup(const Point& rPt)
//! 'custom made' menu... *sigh* (code copied from sfx2 and framework)
if ( pMenu )
{
OUString aSlotURL( RTL_CONSTASCII_USTRINGPARAM( "slot:" ));
sal_uInt16 nId = ((PopupMenu*)pMenu)->Execute(pEditWin, aPixPos);
OUString aCommand = ((PopupMenu*)pMenu)->GetItemCommand(nId);
if (aCommand.isEmpty() )

View file

@ -821,7 +821,6 @@ SwVbaSelection::Tables( const uno::Any& aIndex ) throw (uno::RuntimeException)
if ( pTTCursor )
{
SwFrmFmt* pFmt = pTTCursor->GetFrmFmt();
rtl::OUString sTableName;
if ( pFmt )
{
uno::Reference< text::XTextTable > xTbl = SwXTextTables::GetObject(*pFmt);

View file

@ -340,7 +340,6 @@ handleFilterOptionsRequest_(
sal_Int32 nPropCount = rRequest.rProperties.getLength();
for( sal_Int32 ind = 0; ind < nPropCount; ++ind )
{
rtl::OUString tmp = rRequest.rProperties[ind].Name;
if( rRequest.rProperties[ind].Name.equals(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FilterName"))) )
{

View file

@ -364,7 +364,6 @@ void SelectionManager::initialize( const Sequence< Any >& arguments ) throw (::c
arguments.getConstArray()[2] >>= m_xBitmapConverter;
}
OUString aParam;
if( ! m_pDisplay )
{
OUString aUDisplay;

View file

@ -2216,7 +2216,6 @@ void WinSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
// only the font path of the user installation is needed
::rtl::OUString aPath;
osl_getExecutableFile( &aPath.pData );
::rtl::OUString aExecutableFile( aPath );
aPath = aPath.copy( 0, aPath.lastIndexOf('/') );
String aFontDirUrl = aPath.copy( 0, aPath.lastIndexOf('/') );
aFontDirUrl += String( RTL_CONSTASCII_USTRINGPARAM("/Basis/share/fonts/truetype") );