| /AOO41X/main/testgraphical/source/ |
| H A D | filehelper.pm | 52 my $sPath = shift; 56 $sPath =~ s/\//\\/g; 61 return $sPath; 66 my $sPath = shift; 70 $sPath =~ s/\\/\//g; 75 return $sPath; 143 my $sPath = shift; 145 if ($sPath && $sAddPath) 147 if (! endswith($sPath, "/") && 148 ! endswith($sPath, "\\")) [all …]
|
| /AOO41X/main/soldep/bootstrp/ |
| H A D | minormk.cxx | 46 ByteString sPath( sRoot, RTL_TEXTENCODING_ASCII_US ); in MinorMk() local 47 sPath += "/"; in MinorMk() 48 sPath += rEnvironment; in MinorMk() 49 sPath += "/"; in MinorMk() 50 sPath += "inc"; in MinorMk() 52 sPath += "."; in MinorMk() 53 sPath += rMinor; in MinorMk() 56 sPath.SearchAndReplaceAll( "\\", "/" ); in MinorMk() 57 while( sPath.SearchAndReplace( "//", "/" ) != STRING_NOTFOUND ) {}; in MinorMk() 59 sPath.SearchAndReplaceAll( "/", "\\" ); in MinorMk() [all …]
|
| H A D | prj.cxx | 1225 ByteString sPath( rVersion ); in UpdateFileList() local 1228 sPath += "/settings/UNXSOLARLIST"; in UpdateFileList() 1230 sPath += "/settings/SOLARLIST"; in UpdateFileList() 1232 GenericInformation *pInfo = pStandLst->GetInfo( sPath, sal_True ); in UpdateFileList() 1244 sPath = rVersion; in UpdateFileList() 1245 sPath += "/drives"; in UpdateFileList() 1247 GenericInformation *pInfo_l = pStandLst->GetInfo( sPath, sal_True ); in UpdateFileList() 1261 sPath = "UnixVolume"; in UpdateFileList() 1262 GenericInformation *pUnixVolume = pDrive->GetSubInfo( sPath ); in UpdateFileList() 1276 sPath = "projects"; in UpdateFileList() [all …]
|
| H A D | prodmap.cxx | 302 ByteString sPath; in GetVersionRoot() local 304 sPath = pUnixVolume->GetValue(); in GetVersionRoot() 305 sPath += "/"; in GetVersionRoot() 307 ByteString sPath( "o:\\" ); in GetVersionRoot() 312 sPath += pPath->GetValue().GetToken( 0, '\\' ); in GetVersionRoot() 313 sPath += "/"; in GetVersionRoot() 316 sPath.SearchAndReplaceAll( "\\", "/" ); in GetVersionRoot() 317 while( sPath.SearchAndReplace( "//", "/" ) != STRING_NOTFOUND ) {}; in GetVersionRoot() 319 sPath.SearchAndReplaceAll( "/", "\\" ); in GetVersionRoot() 320 while( sPath.SearchAndReplace( "\\\\", "\\" ) != STRING_NOTFOUND ) {}; in GetVersionRoot() [all …]
|
| /AOO41X/main/wizards/com/sun/star/wizards/common/ |
| H A D | FileAccess.java | 68 public static void addOfficePath(XMultiServiceFactory xMSF, String sPath, String sAddPath) in addOfficePath() argument 71 String ResultPath = getOfficePath(xMSF, sPath, xSimpleFileAccess); in addOfficePath() 112 …public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, XSimpleFileAccess xSim… in getOfficePath() argument 118 …ResultPath = com.sun.star.uno.AnyConverter.toString(Helper.getUnoPropertyValue(xInterface, sPath)); in getOfficePath() 140 …public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, String sType, String s… in getOfficePath() argument 160 Template_writable = (String) xPropertySet.getPropertyValue(sPath + "_writable"); in getOfficePath() 161 Template_internal = (String[]) xPropertySet.getPropertyValue(sPath + "_internal"); in getOfficePath() 162 Template_user = (String[]) xPropertySet.getPropertyValue(sPath + "_user"); in getOfficePath() 240 String sPath = Template_internal[i]; in getOfficePaths() local 241 if (sPath.startsWith("vnd.")) in getOfficePaths() [all …]
|
| /AOO41X/main/testgraphical/prechecks/ |
| H A D | softwaretests.pl | 96 my $sPath = getcwd(); 97 $sPath .= "/" . $sEnv; 98 chdir ($sPath); 100 $sPath = getcwd(); 102 $sPath .= "/" . $sInpath . "/misc"; 103 $sGlobalIniFile = "$sPath/pathes.ini"; 128 my $sPath; 143 my $sPath = unixpath(lc(convertCygwinPath($startdir))); 144 if ($sPath =~ /^$sWindowsHomeDir/ ) 165 $sPath = $startdir; [all …]
|
| /AOO41X/main/package/qa/storages/ |
| H A D | TestHelper.java | 597 String sPath, in ChangeStreamPassH() argument 614 …Object oSubStream = xHStorage.openEncryptedStreamElementByHierarchicalName( sPath, ElementModes.WR… in ChangeStreamPassH() 618 Error( "Can't open encrypted substream '" + sPath + "'!" ); in ChangeStreamPassH() 624 Error( "Can't open encrypted substream '" + sPath + "', exception : " + e + "!" ); in ChangeStreamPassH() 643 Error( "Can't change encryption key of the substream '" + sPath + "', exception:" + e ); in ChangeStreamPassH() 651 Error( "Substream '" + sPath + "', stream opened for writing must be transacted!" ); in ChangeStreamPassH() 661 … Error( "Can't commit storage after substream '" + sPath + "' change, exception : " + e + "!" ); in ChangeStreamPassH() 667 if ( !disposeStream( xSubStream, sPath ) ) in ChangeStreamPassH() 969 String sPath, in checkStreamH() argument 986 … Object oSubStream = xHStorage.openStreamElementByHierarchicalName( sPath, ElementModes.READ ); in checkStreamH() [all …]
|
| /AOO41X/main/framework/source/services/ |
| H A D | pathsettings.cxx | 186 ::rtl::OUString sPath = ::utl::extractFirstFromConfigurationPath(sChanged); in changesOccurred() 187 if (sPath.getLength()) in changesOccurred() 189 PathSettings::EChangeOp eOp = impl_updatePath(sPath, sal_True); in changesOccurred() 232 const ::rtl::OUString& sPath = lPaths[i]; in impl_readAll() local 233 impl_updatePath(sPath, sal_False); in impl_readAll() 241 OUStringList PathSettings::impl_readOldFormat(const ::rtl::OUString& sPath) in impl_readOldFormat() argument 247 if( xCfg->hasByName(sPath) ) in impl_readOldFormat() 249 css::uno::Any aVal( xCfg->getByName(sPath) ); in impl_readOldFormat() 269 PathSettings::PathInfo PathSettings::impl_readNewFormat(const ::rtl::OUString& sPath) in impl_readNewFormat() argument 275 xCfg->getByName(sPath) >>= xPath; in impl_readNewFormat() [all …]
|
| /AOO41X/main/framework/source/accelerators/ |
| H A D | storageholder.cxx | 150 css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl::OUString& sPath … in openPath() argument 153 ::rtl::OUString sNormedPath = StorageHolder::impl_st_normPath(sPath); in openPath() 235 StorageHolder::TStorageList StorageHolder::getAllPathStorages(const ::rtl::OUString& sPath) in getAllPathStorages() argument 237 ::rtl::OUString sNormedPath = StorageHolder::impl_st_normPath(sPath); in getAllPathStorages() 279 void StorageHolder::commitPath(const ::rtl::OUString& sPath) in commitPath() argument 281 StorageHolder::TStorageList lStorages = getAllPathStorages(sPath); in commitPath() 337 ::rtl::OUString sPath = *pIt2; in closePath() 338 TPath2StorageInfo::iterator pPath = m_lStorages.find(sPath); in closePath() 356 void StorageHolder::notifyPath(const ::rtl::OUString& sPath) in notifyPath() argument 358 ::rtl::OUString sNormedPath = StorageHolder::impl_st_normPath(sPath); in notifyPath() [all …]
|
| H A D | presethandler.cxx | 728 ::rtl::OUString sPath; in commitUserChanges() 735 sPath = m_aSharedStorages->m_lStoragesUser.getPathOfStorage(xWorking); in commitUserChanges() 736 m_aSharedStorages->m_lStoragesUser.commitPath(sPath); in commitUserChanges() 737 m_aSharedStorages->m_lStoragesUser.notifyPath(sPath); in commitUserChanges() 743 sPath = m_lDocumentStorages.getPathOfStorage(xWorking); in commitUserChanges() 744 m_lDocumentStorages.commitPath(sPath); in commitUserChanges() 745 m_lDocumentStorages.notifyPath(sPath); in commitUserChanges() 812 …e< css::embed::XStorage > PresetHandler::impl_openPathIgnoringErrors(const ::rtl::OUString& sPath , in impl_openPathIgnoringErrors() argument 820 xPath = m_aSharedStorages->m_lStoragesShare.openPath(sPath, eMode); in impl_openPathIgnoringErrors() 822 xPath = m_aSharedStorages->m_lStoragesUser.openPath(sPath, eMode); in impl_openPathIgnoringErrors() [all …]
|
| /AOO41X/main/qadevOOo/runner/graphical/ |
| H A D | EnhancedComplexTestCase.java | 45 String sPath = _aParam.getInputPath(); in callEntry() local 54 sPath = FileHelper.getPath(_aParam.getInputPath()); in callEntry() 56 String sNewSubDir = FileHelper.removeFirstDirectorysAndBasenameFrom(_sEntry, sPath); in callEntry() 164 String sPath = FileHelper.getPath(_aParam.getInputPath()); in foreachPSorPDFinInputPath() local 165 String sEntry = FileHelper.appendPath(sPath, sKey); in foreachPSorPDFinInputPath() 205 String sPath = FileHelper.getPath(sInputPath); in foreachPSorPDFinInputPath() local 210 runThroughEveryReportInIndex(sPath, sBasename, _aParam); in foreachPSorPDFinInputPath() 375 String sPath = FileHelper.getPath(sInputPath); in foreachJPEGcompareWithJPEG() local 378 runThroughEveryReportInIndex(sPath, sBasename, _aParam); in foreachJPEGcompareWithJPEG() 433 String sPath = FileHelper.getPath(sInputPath); in foreachResultCreateHTML() local [all …]
|
| /AOO41X/main/unotools/source/config/ |
| H A D | configmgr.cxx | 254 OUString sPath = C2U(cConfigBaseURL); in AcquireTree() local 255 sPath += rCfgItem.GetSubTreeName(); in AcquireTree() 260 aPath.Value <<= sPath; in AcquireTree() 500 OUString sPath = C2U(cConfigBaseURL); in GetDirectConfigProperty() local 503 case LOCALE: sPath += C2U("Setup/L10N"); break; in GetDirectConfigProperty() 513 case ABOUTBOXPRODUCTVERSION: sPath += C2U("Setup/Product"); break; in GetDirectConfigProperty() 515 case DEFAULTCURRENCY: sPath += C2U("Setup/L10N"); break; in GetDirectConfigProperty() 518 sPath += C2U("Office.Compatibility/WriterCompatibilityVersion"); break; in GetDirectConfigProperty() 523 aArgs[0] <<= sPath; in GetDirectConfigProperty() 568 aBuf.append( rtl::OUStringToOString( sPath, RTL_TEXTENCODING_ASCII_US ) ); in GetDirectConfigProperty() [all …]
|
| /AOO41X/main/framework/source/inc/accelerators/ |
| H A D | storageholder.hxx | 149 … virtual css::uno::Reference< css::embed::XStorage > openPath(const ::rtl::OUString& sPath , 155 virtual StorageHolder::TStorageList getAllPathStorages(const ::rtl::OUString& sPath); 160 virtual void commitPath(const ::rtl::OUString& sPath); 165 virtual void closePath(const ::rtl::OUString& sPath); 170 virtual void notifyPath(const ::rtl::OUString& sPath); 176 const ::rtl::OUString& sPath ); 182 const ::rtl::OUString& sPath ); 245 static ::rtl::OUString impl_st_normPath(const ::rtl::OUString& sPath); 250 …static OUStringList impl_st_parsePath(const ::rtl::OUString& sPath); …
|
| /AOO41X/main/qadevOOo/runner/convwatch/ |
| H A D | FilenameHelper.java | 88 String sPath = checkPath(FileHelper.getPath(_sFilename)); in setCompleteFilename() local 92 m_sPath = sPath; in setCompleteFilename() 105 String sPath = checkPath(_sPath); in FilenameHelper_impl() local 109 m_sPath = sPath; in FilenameHelper_impl() 215 String sPath; in checkPath() local 218 sPath = _sPath.substring(0, _sPath.length() - 1); in checkPath() 222 sPath = _sPath; in checkPath() 224 return sPath; in checkPath() 263 String sPath = createAbsoluteFilename(); in equals() local 265 if (sPath.equals(sPathOther)) in equals()
|
| /AOO41X/main/sw/source/ui/envelp/ |
| H A D | mailmrge.cxx | 399 String sPath(pModOpt->GetMailingPath()); in SwMailMergeDlg() local 400 if(!sPath.Len()) in SwMailMergeDlg() 403 sPath = aPathOpt.GetWorkPath(); in SwMailMergeDlg() 405 INetURLObject aURL(sPath); in SwMailMergeDlg() 733 String sPath( in ExecQryShell() local 736 pModOpt->SetMailingPath(sPath); in ExecQryShell() 739 if (sPath.Len() >= sDelim.Len() && in ExecQryShell() 740 sPath.Copy(sPath.Len()-sDelim.Len()).CompareTo(sDelim) != COMPARE_EQUAL) in ExecQryShell() 741 sPath += sDelim; in ExecQryShell() 758 sPath = SwMailMergeHelper::CallSaveAsDialog(sFilter); in ExecQryShell() [all …]
|
| /AOO41X/main/lingucomponent/source/lingutil/ |
| H A D | lingutil.cxx | 169 rtl::OUString sPath = aFileStatus.getFileURL(); in GetOldStyleDics() local 170 if (sPath.lastIndexOf(aSystemSuffix) == sPath.getLength()-aSystemSuffix.getLength()) in GetOldStyleDics() 172 sal_Int32 nStartIndex = sPath.lastIndexOf(sal_Unicode('/')) + 1; in GetOldStyleDics() 173 if (!sPath.match(aSystemPrefix, nStartIndex)) in GetOldStyleDics() 175 rtl::OUString sChunk = sPath.copy(0, sPath.getLength() - aSystemSuffix.getLength()); in GetOldStyleDics() 198 aDicEntry.aLocations[0] = sPath; in GetOldStyleDics()
|
| /AOO41X/main/sw/source/ui/misc/ |
| H A D | glosbib.cxx | 115 String sPath(*(*pPathArr)[i]); in SwGlossaryGroupDlg() local 116 INetURLObject aTempURL(sPath); in SwGlossaryGroupDlg() 117 sPath = aTempURL.GetMainURL(INetURLObject::DECODE_WITH_CHARSET ); in SwGlossaryGroupDlg() 118 aPathLB.InsertEntry(sPath); in SwGlossaryGroupDlg() 120 utl::TempFile aTempFile(&sPath); in SwGlossaryGroupDlg() 144 pData->sPath = aPathLB.GetEntry((sal_uInt16)sGroup.GetToken(1, GLOS_DELIM).ToInt32()); in SwGlossaryGroupDlg() 145 sTemp += pData->sPath; in SwGlossaryGroupDlg() 298 pData->sPath = aPathLB.GetSelectEntry(); in IMPL_LINK() 429 pData->sPath = aPathLB.GetSelectEntry(); in IMPL_LINK() 566 sMsg = pData->sPath; in RequestHelp()
|
| /AOO41X/main/comphelper/source/misc/ |
| H A D | regpathhelper.cxx | 118 OUString sPath(RTL_CONSTASCII_USTRINGPARAM("file://")); in getDefaultLocalRegistry() local 122 sPath += userRegistryName.getToken(2, '/', nIndex); in getDefaultLocalRegistry() 125 sPath += sSeparator; in getDefaultLocalRegistry() 126 sPath += userRegistryName.getToken(0, '/', nIndex); in getDefaultLocalRegistry() 129 Directory aDir( sPath ); in getDefaultLocalRegistry() 132 retRC = Directory::create(sPath); in getDefaultLocalRegistry()
|
| /AOO41X/main/setup_native/source/win32/customactions/shellextensions/ |
| H A D | vistaspecial.cxx | 90 static BOOL RemoveCompleteDirectory( std::_tstring sPath ) in RemoveCompleteDirectory() argument 95 std::_tstring sPattern = sPath + TEXT("\\") + TEXT("*.*"); in RemoveCompleteDirectory() 118 std::_tstring sCompleteFileName = sPath + TEXT("\\") + sFileName; in RemoveCompleteDirectory() 160 bool fRemoveDirSuccess = RemoveDirectory(sPath.c_str()); in RemoveCompleteDirectory() 164 mystr = "Successfully removed dir " + sPath; in RemoveCompleteDirectory() 169 mystr = "An error occurred during removal of empty directory " + sPath; in RemoveCompleteDirectory()
|
| H A D | registerextensions.cxx | 226 static BOOL RemoveCompleteDirectory( std::_tstring sPath ) in RemoveCompleteDirectory() argument 231 std::_tstring sPattern = sPath + TEXT("\\") + TEXT("*.*"); in RemoveCompleteDirectory() 254 std::_tstring sCompleteFileName = sPath + TEXT("\\") + sFileName; in RemoveCompleteDirectory() 296 bool fRemoveDirSuccess = RemoveDirectory(sPath.c_str()); in RemoveCompleteDirectory() 300 mystr = "Successfully removed dir " + sPath; in RemoveCompleteDirectory() 305 mystr = "An error occurred during removal of empty directory " + sPath; in RemoveCompleteDirectory()
|
| /AOO41X/main/wizards/com/sun/star/wizards/agenda/ |
| H A D | AgendaWizardDialogImpl.java | 105 String sPath; field in AgendaWizardDialogImpl 461 sPath = myPathSelection.getSelectedPath(); in finishWizard() 462 if (sPath.equals(PropertyNames.EMPTY_STRING)) { in finishWizard() 464 sPath = myPathSelection.getSelectedPath(); in finishWizard() 466 sPath = fileAccess.getURL(sPath); in finishWizard() 472 if (fileAccess.exists(sPath, true)) { in finishWizard() 483 … bSaveSuccess = OfficeDocument.store(xMSF, xTextDocument, sPath , "writer8_template", false ); in finishWizard() 533 …Object oDoc = OfficeDocument.load(Desktop.getDesktop(xMSF), sPath, "_default", new PropertyValue[0… in finishWizard()
|
| /AOO41X/main/framework/source/fwi/classes/ |
| H A D | protocolhandlercache.cxx | 296 ::rtl::OUStringBuffer sPath( SETNAME_HANDLER ); in read() 297 sPath.append(CFG_PATH_SEPERATOR); in read() 298 sPath.append(lNames[nSource]); in read() 299 sPath.append(CFG_PATH_SEPERATOR); in read() 300 sPath.append(PROPERTY_PROTOCOLS); in read() 302 lFullNames[nTarget] = sPath.makeStringAndClear(); in read()
|
| /AOO41X/main/framework/inc/services/ |
| H A D | pathsettings.hxx | 200 OUStringList impl_readOldFormat(const ::rtl::OUString& sPath); 203 PathSettings::PathInfo impl_readNewFormat(const ::rtl::OUString& sPath); 215 PathSettings::EChangeOp impl_updatePath(const ::rtl::OUString& sPath , 257 sal_Bool impl_isValidPath(const ::rtl::OUString& sPath) const; 262 css::uno::Sequence< sal_Int32 > impl_mapPathName2IDList(const ::rtl::OUString& sPath); 265 const ::rtl::OUString& sPath ,
|
| /AOO41X/main/framework/source/inc/pattern/ |
| H A D | configuration.hxx | 128 ::rtl::OUStringBuffer sPath(1024); in openConfig() 129 sPath.append(sPackage ); in openConfig() 130 sPath.append(PATH_SEPERATOR); in openConfig() 131 sPath.append(sRelPath ); in openConfig() 144 aParam.Value <<= sPath.makeStringAndClear(); in openConfig()
|
| /AOO41X/main/xml2cmp/source/support/ |
| H A D | syshelp.cxx | 78 Simstr sPath(i_rName); in WriteName() local 79 sPath.replace_all('.','/'); in WriteName() 80 int nNameEnd = sPath.pos_first(' '); in WriteName() 81 int nPathStart = sPath.pos_last(' '); in WriteName() 89 WriteStr( o_rFile, sPath.str() + 1 + nPathStart ); in WriteName() 91 o_rFile.write( sPath.str(), nNameEnd ); in WriteName()
|