removed unused const rtl::OUString
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
This commit is contained in:
parent
6589e01589
commit
00f1180c96
@ -552,8 +552,6 @@ void testOnewayPerformanceOnTwoInterfaces(
|
||||
void testPerformance( const Reference < XCallMe > &rRemote,
|
||||
const Reference < XCallMe > &rLocal )
|
||||
{
|
||||
OUString aTestString;
|
||||
|
||||
sal_Int32 nDoSomething = 1;
|
||||
sal_Int32 nCalls = 80000;
|
||||
double dRemote, dLocal,dAfterExecution;
|
||||
|
@ -206,7 +206,6 @@ void Desktop::RegisterServices()
|
||||
RTL_LOGFILE_CONTEXT( aLog, "desktop (cd100003) ::registerServices" );
|
||||
|
||||
// read command line parameters
|
||||
::rtl::OUString aClientDisplay;
|
||||
sal_Bool bHeadlessMode = sal_False;
|
||||
|
||||
// interpret command line arguments
|
||||
|
@ -435,7 +435,6 @@ sal_Bool LanguageSelection::isInstalledLanguage(OUString& usLocale, sal_Bool bEx
|
||||
if (!bInstalled && !bExact)
|
||||
{
|
||||
// no exact match was found, well try to find a substitute
|
||||
OUString aInstalledLocale;
|
||||
for (sal_Int32 i=0; i<seqLanguages.getLength(); i++)
|
||||
{
|
||||
if (usLocale.indexOf(seqLanguages[i]) == 0)
|
||||
|
@ -1143,7 +1143,6 @@ void MigrationImpl::compareOldAndNewConfig(const ::rtl::OUString& sParent,
|
||||
sSibling = it->m_sCommandURL;
|
||||
}
|
||||
|
||||
::rtl::OUString sNewSibling;
|
||||
uno::Reference< container::XIndexContainer > xPopup;
|
||||
for (it = vNewItems.begin(); it!=vNewItems.end(); ++it)
|
||||
{
|
||||
|
@ -256,7 +256,6 @@ void BibConfig::Commit()
|
||||
}
|
||||
PutProperties(aPropertyNames, aValues);
|
||||
ClearNodeSet( C2U(cDataSourceHistory));
|
||||
OUString sEmpty;
|
||||
Sequence< PropertyValue > aNodeValues(pMappingsArr->Count() * 3);
|
||||
PropertyValue* pNodeValues = aNodeValues.getArray();
|
||||
|
||||
|
@ -125,7 +125,6 @@ Reference< XConnection > getConnection(const ::rtl::OUString& _rURL)
|
||||
if (xDataSource.is())
|
||||
{
|
||||
// need user/pwd for this
|
||||
::rtl::OUString sUser, sPwd;
|
||||
Reference< XPropertySet > xDataSourceProps(xDataSource, UNO_QUERY);
|
||||
Reference< XCompletedConnection > xComplConn(xDataSource, UNO_QUERY);
|
||||
try
|
||||
@ -1079,7 +1078,6 @@ void BibDataManager::startQueryWith(const ::rtl::OUString& rQuery)
|
||||
|
||||
void BibDataManager::setActiveDataSource(const ::rtl::OUString& rURL)
|
||||
{
|
||||
::rtl::OUString uTable;
|
||||
::rtl::OUString sTmp(aDataSourceURL);
|
||||
aDataSourceURL = rURL;
|
||||
|
||||
|
@ -763,8 +763,6 @@ void applyShortCutKeyBinding ( const uno::Reference< frame::XModel >& rxModel, c
|
||||
rtl::OUString MacroName( rMacroName );
|
||||
if ( !MacroName.isEmpty() )
|
||||
{
|
||||
::rtl::OUString sSeparator(RTL_CONSTASCII_USTRINGPARAM("/"));
|
||||
::rtl::OUString sMacroSeparator(RTL_CONSTASCII_USTRINGPARAM("!"));
|
||||
::rtl::OUString aMacroName = MacroName.trim();
|
||||
if (0 == aMacroName.indexOf('!'))
|
||||
MacroName = aMacroName.copy(1).trim();
|
||||
|
@ -387,7 +387,6 @@ static OUString getMimetypeForDocument( const Reference< XMultiServiceFactory >&
|
||||
sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue >& rFilterData )
|
||||
{
|
||||
INetURLObject aURL( rFile );
|
||||
OUString aFile;
|
||||
sal_Bool bRet = sal_False;
|
||||
|
||||
std::set< PDFWriter::ErrorCode > aErrors;
|
||||
|
@ -91,7 +91,7 @@ sal_Bool SAL_CALL PlaceWareExportFilter::filter( const ::com::sun::star::uno::Se
|
||||
{
|
||||
sal_Int32 nLength = aDescriptor.getLength();
|
||||
const PropertyValue * pValue = aDescriptor.getConstArray();
|
||||
OUString sFileName, sURL;
|
||||
OUString sURL;
|
||||
Reference < XInterface > xInteractionHandler;
|
||||
Reference < XOutputStream > xOutputStream;
|
||||
Reference < XStatusIndicator > xStatusIndicator;
|
||||
|
@ -267,7 +267,6 @@ void SAL_CALL SVGFilter::setTargetDocument( const Reference< XComponent >& xDoc
|
||||
rtl::OUString SAL_CALL SVGFilter::detect( Sequence< PropertyValue >& io_rDescriptor ) throw (RuntimeException)
|
||||
{
|
||||
uno::Reference< io::XInputStream > xInput;
|
||||
rtl::OUString aURL;
|
||||
|
||||
const beans::PropertyValue* pAttribs = io_rDescriptor.getConstArray();
|
||||
const sal_Int32 nAttribs = io_rDescriptor.getLength();
|
||||
|
@ -54,7 +54,6 @@ using namespace ::svgi;
|
||||
sal_Bool SVGFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
|
||||
throw (RuntimeException)
|
||||
{
|
||||
rtl::OUString aURL;
|
||||
uno::Reference< io::XInputStream > xInputStream;
|
||||
uno::Reference< task::XStatusIndicator > xStatus;
|
||||
const sal_Int32 nLength = rDescriptor.getLength();
|
||||
|
@ -258,7 +258,6 @@ sal_Bool SAL_CALL T602ImportFilter::importImpl( const Sequence< ::com::sun::star
|
||||
|
||||
sal_Int32 nLength = aDescriptor.getLength();
|
||||
const PropertyValue * pValue = aDescriptor.getConstArray();
|
||||
OUString sURL;
|
||||
for ( sal_Int32 i = 0 ; i < nLength; i++)
|
||||
{
|
||||
if ( pValue[i].Name == "InputStream" )
|
||||
|
@ -141,11 +141,9 @@ bool isXMLStream(const ::rtl::OString& aHeaderStrm)
|
||||
{
|
||||
::rtl::OUString sTypeName;
|
||||
::rtl::OUString sUrl;
|
||||
::rtl::OUString originalTypeName;
|
||||
Sequence<PropertyValue > lProps ;
|
||||
|
||||
com::sun::star::uno::Reference< com::sun::star::io::XInputStream > xInStream;
|
||||
::rtl::OUString temp;
|
||||
const PropertyValue * pValue = aArguments.getConstArray();
|
||||
sal_Int32 nLength;
|
||||
::rtl::OString resultString;
|
||||
|
@ -744,7 +744,6 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
|
||||
sal_Int32 nIndex;
|
||||
for( nIndex = 0; nIndex < nCount; nIndex++ )
|
||||
{
|
||||
OUString aName( aSequence[nIndex].Name );
|
||||
if ( aSequence[nIndex].Name == "Types" )
|
||||
{
|
||||
Sequence< OUString > aTypes;
|
||||
|
@ -418,7 +418,6 @@ void SAL_CALL OComboBoxModel::read(const Reference<stario::XObjectInputStream>&
|
||||
// ListSource
|
||||
if (nVersion < 0x0003)
|
||||
{
|
||||
::rtl::OUString sListSource;
|
||||
_rxInStream >> m_aListSource;
|
||||
}
|
||||
else // nVersion == 4
|
||||
|
@ -311,9 +311,6 @@ static sal_Bool parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTim
|
||||
sal_Int32 nDateLength = 10;
|
||||
sal_Int32 nTimeLength = 8;
|
||||
|
||||
::rtl::OUString aDateTimeSep(RTL_CONSTASCII_USTRINGPARAM("T"));
|
||||
::rtl::OUString aDateSep(RTL_CONSTASCII_USTRINGPARAM("-"));
|
||||
::rtl::OUString aTimeSep(RTL_CONSTASCII_USTRINGPARAM(":"));
|
||||
::rtl::OUString aUTCString(RTL_CONSTASCII_USTRINGPARAM("Z"));
|
||||
|
||||
::rtl::OUString aDateString = aDateTimeString.copy(0, nDateLength);
|
||||
|
@ -132,7 +132,6 @@ void ModuleAcceleratorConfiguration::impl_ts_fillCache()
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "ModuleAcceleratorConfiguration::impl_ts_fillCache" );
|
||||
// SAFE -> ----------------------------------
|
||||
ReadGuard aReadLock(m_aLock);
|
||||
::rtl::OUString sModule = m_sModule;
|
||||
m_sModuleCFG = m_sModule;
|
||||
aReadLock.unlock();
|
||||
// <- SAFE ----------------------------------
|
||||
|
@ -330,8 +330,6 @@ sal_Bool MenuDispatcher::impl_setMenuBar( MenuBar* pMenuBar, sal_Bool bMenuFromR
|
||||
sal_uInt16 nPos = pMenuBar->GetItemPos( SLOTID_MDIWINDOWLIST );
|
||||
if ( nPos != MENU_ITEM_NOTFOUND )
|
||||
{
|
||||
OUString aNoContext;
|
||||
|
||||
uno::Reference< XModel > xModel;
|
||||
uno::Reference< XController > xController( xFrame->getController(), UNO_QUERY );
|
||||
|
||||
|
@ -307,7 +307,6 @@ throw( SAXException, RuntimeException )
|
||||
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
|
||||
}
|
||||
|
||||
::rtl::OUString aAttribute;
|
||||
sal_Bool bAttributeURL = sal_False;
|
||||
|
||||
m_bToolBarItemStartFound = sal_True;
|
||||
|
@ -163,7 +163,6 @@ ConstItemContainer::ConstItemContainer( const Reference< XIndexAccess >& rSource
|
||||
Reference< XPropertySet > xPropSet( rSourceContainer, UNO_QUERY );
|
||||
if ( xPropSet.is() )
|
||||
{
|
||||
rtl::OUString aUIName;
|
||||
xPropSet->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "UIName" ))) >>= m_aUIName;
|
||||
}
|
||||
}
|
||||
|
@ -209,9 +209,6 @@ static sal_Bool _parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTi
|
||||
sal_Int32 nDateLength = 10;
|
||||
sal_Int32 nTimeLength = 8;
|
||||
|
||||
::rtl::OUString aDateTimeSep(RTL_CONSTASCII_USTRINGPARAM("T"));
|
||||
::rtl::OUString aDateSep(RTL_CONSTASCII_USTRINGPARAM("-"));
|
||||
::rtl::OUString aTimeSep(RTL_CONSTASCII_USTRINGPARAM(":"));
|
||||
::rtl::OUString aUTCString(RTL_CONSTASCII_USTRINGPARAM("Z"));
|
||||
|
||||
::rtl::OUString aDateString = aDateTimeString.copy(0, nDateLength);
|
||||
@ -296,7 +293,6 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na
|
||||
// open org.openoffice.Setup/Office/ooLicenseAcceptDate
|
||||
::rtl::OUString sConfigSrvc = SERVICENAME_CFGPROVIDER;
|
||||
::rtl::OUString sAccessSrvc(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.ConfigurationUpdateAccess"));
|
||||
::rtl::OUString sReadSrvc = SERVICENAME_CFGREADACCESS;
|
||||
|
||||
// get configuration provider
|
||||
Reference< XMultiServiceFactory > theConfigProvider = Reference< XMultiServiceFactory >(
|
||||
|
@ -1173,10 +1173,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
|
||||
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
|
||||
|
||||
Any aAny;
|
||||
::rtl::OUString aOfficePath;
|
||||
::rtl::OUString aUserPath;
|
||||
::rtl::OUString aTmp;
|
||||
::rtl::OUString aTmp2;
|
||||
String aResult;
|
||||
|
||||
// Get inspath and userpath from bootstrap mechanism in every case as file URL
|
||||
|
@ -258,8 +258,6 @@ void AddonsToolBarManager::FillToolbar( const Sequence< Sequence< PropertyValue
|
||||
Reference< XWindow > xToolbarWindow = VCLUnoHelper::GetInterface( m_pToolBar );
|
||||
for ( sal_uInt32 n = 0; n < (sal_uInt32)rAddonToolbar.getLength(); n++ )
|
||||
{
|
||||
rtl::OUString aValueName;
|
||||
|
||||
rtl::OUString aURL;
|
||||
rtl::OUString aTitle;
|
||||
rtl::OUString aImageId;
|
||||
|
@ -192,7 +192,6 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
|
||||
|
||||
// first insert font size names (for simplified/traditional chinese)
|
||||
float fPoint;
|
||||
rtl::OUString aHeightString;
|
||||
FontSizeNames aFontSizeNames( Application::GetSettings().GetUILanguage() );
|
||||
m_pHeightArray = new long[nSizeCount+aFontSizeNames.Count()];
|
||||
rtl::OUString aCommand;
|
||||
|
@ -134,7 +134,6 @@ void SAL_CALL LanguageSelectionMenuController::statusChanged( const FeatureState
|
||||
m_bShowMenu = sal_True;
|
||||
m_nScriptType = LS_SCRIPT_LATIN | LS_SCRIPT_ASIAN | LS_SCRIPT_COMPLEX; //set the default value
|
||||
|
||||
OUString aStrValue;
|
||||
Sequence< OUString > aSeq;
|
||||
|
||||
if ( Event.State >>= aSeq )
|
||||
|
@ -71,8 +71,6 @@
|
||||
using namespace ::com::sun::star;
|
||||
namespace css = ::com::sun::star;
|
||||
|
||||
static const char HELPID_PREFIX[] = "helpid:";
|
||||
|
||||
// Property names of a menu/menu item ItemDescriptor
|
||||
static const char ITEM_DESCRIPTOR_COMMANDURL[] = "CommandURL";
|
||||
static const char ITEM_DESCRIPTOR_HELPURL[] = "HelpURL";
|
||||
@ -463,7 +461,6 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc
|
||||
return;
|
||||
|
||||
sal_uInt16 nId( 1 );
|
||||
rtl::OUString aHelpIdPrefix( RTL_CONSTASCII_USTRINGPARAM( HELPID_PREFIX ));
|
||||
|
||||
RemoveControllers();
|
||||
|
||||
|
@ -130,7 +130,6 @@ static const sal_Int32 ITEM_DESCRIPTOR_VISIBLE_LEN = RTL_CONSTASCII_LENGTH(I
|
||||
static const sal_Int32 ITEM_DESCRIPTOR_WIDTH_LEN = RTL_CONSTASCII_LENGTH(ITEM_DESCRIPTOR_WIDTH);
|
||||
static const sal_Int32 ITEM_DESCRIPTOR_STYLE_LEN = RTL_CONSTASCII_LENGTH(ITEM_DESCRIPTOR_STYLE);
|
||||
|
||||
static const char HELPID_PREFIX[] = "helpid:";
|
||||
static const char HELPID_PREFIX_TESTTOOL[] = ".HelpId:";
|
||||
static const sal_uInt16 STARTID_CUSTOMIZE_POPUPMENU = 1000;
|
||||
|
||||
@ -1209,7 +1208,6 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
|
||||
return;
|
||||
|
||||
sal_uInt16 nId( 1 );
|
||||
::rtl::OUString aHelpIdPrefix( RTL_CONSTASCII_USTRINGPARAM( HELPID_PREFIX ));
|
||||
|
||||
Reference< XModuleManager > xModuleManager( Reference< XModuleManager >(
|
||||
m_xServiceManager->createInstance( SERVICENAME_MODULEMANAGER ), UNO_QUERY ));
|
||||
|
@ -58,7 +58,6 @@ void SchXMLParagraphContext::StartElement( const uno::Reference< xml::sax::XAttr
|
||||
if( mpId )
|
||||
{
|
||||
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
|
||||
rtl::OUString aValue;
|
||||
bool bHaveXmlId( false );
|
||||
|
||||
for( sal_Int16 i = 0; i < nAttrCount; i++ )
|
||||
|
@ -123,8 +123,6 @@ protected:
|
||||
const ::rtl::OUString sTarget;
|
||||
const ::rtl::OUString sURL;
|
||||
|
||||
::rtl::OUString sServiceName;
|
||||
|
||||
Reference<XIndexContainer> xImageMap; /// the image map
|
||||
Reference<XPropertySet> xMapEntry; /// one map-entry (one area)
|
||||
|
||||
|
@ -78,8 +78,6 @@ SdXMLLayerContext::SdXMLLayerContext( SvXMLImport& rImport, sal_uInt16 nPrefix,
|
||||
: SvXMLImportContext(rImport, nPrefix, rLocalName)
|
||||
, mxLayerManager( xLayerManager )
|
||||
{
|
||||
OUString aName;
|
||||
|
||||
const sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
|
||||
for(sal_Int16 i=0; i < nAttrCount; i++)
|
||||
{
|
||||
|
@ -81,9 +81,6 @@ sal_Bool XMLImageStyle::ImpExportXML( const OUString& rStrName, const uno::Any&
|
||||
{
|
||||
if( rValue >>= sImageURL )
|
||||
{
|
||||
OUString aStrValue;
|
||||
OUStringBuffer aOut;
|
||||
|
||||
// Name
|
||||
sal_Bool bEncoded = sal_False;
|
||||
rExport.AddAttribute( XML_NAMESPACE_DRAW, XML_NAME,
|
||||
|
@ -109,7 +109,6 @@ XMLTransformerContext * XMLAxisOASISContext::CreateChildContext(
|
||||
void XMLAxisOASISContext::StartElement(
|
||||
const Reference< xml::sax::XAttributeList >& rAttrList )
|
||||
{
|
||||
OUString aLocation, aMacroName;
|
||||
Reference< xml::sax::XAttributeList > xAttrList( rAttrList );
|
||||
XMLMutableAttributeList *pMutableAttrList = 0;
|
||||
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
|
||||
|
@ -73,7 +73,6 @@ XMLAxisOOoContext::~XMLAxisOOoContext()
|
||||
void XMLAxisOOoContext::StartElement(
|
||||
const Reference< xml::sax::XAttributeList >& rAttrList )
|
||||
{
|
||||
OUString aLocation, aMacroName;
|
||||
Reference< xml::sax::XAttributeList > xAttrList( rAttrList );
|
||||
XMLMutableAttributeList *pMutableAttrList = 0;
|
||||
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user