/aoo42x/main/sd/source/ui/dlg/ |
H A D | LayerTabBar.cxx | 261 String aNewName( GetEditText() ); in AllowRenaming() local 263 if ( aNewName.Len() == 0 || in AllowRenaming() 264 (rLayerAdmin.GetLayer( aNewName, sal_False ) && aLayerName != aNewName) ) in AllowRenaming() 281 if ( aNewName == aLayoutLayer || aNewName == aControlsLayer || in AllowRenaming() 282 aNewName == aMeasureLinesLayer || in AllowRenaming() 283 aNewName == aBackgroundLayer || aNewName == aBackgroundObjLayer ) in AllowRenaming() 311 String aNewName( GetEditText() ); in EndRenaming() local 326 aNewName, in EndRenaming() 339 pView->SetActiveLayer(aNewName); in EndRenaming() 340 pLayer->SetName(aNewName); in EndRenaming()
|
/aoo42x/main/oox/source/helper/ |
H A D | containerhelper.cxx | 153 OUString aNewName = rSuggestedName; in getUnusedName() local 155 while( rxNameAccess->hasByName( aNewName ) ) in getUnusedName() 156 …aNewName = OUStringBuffer( rSuggestedName ).append( cSeparator ).append( nIndex++ ).makeStringAndC… in getUnusedName() 157 return aNewName; in getUnusedName() 190 OUString aNewName = getUnusedName( xNameAccess, rSuggestedName, cSeparator ); in insertByUnusedName() local 199 rxNameContainer->insertByName( aNewName, aOldObject ); in insertByUnusedName() 200 aNewName = rSuggestedName; in insertByUnusedName() 209 insertByName( rxNameContainer, aNewName, rObject ); in insertByUnusedName() 210 return aNewName; in insertByUnusedName()
|
/aoo42x/main/vbahelper/source/msforms/ |
H A D | vbacontrols.cxx | 272 ::rtl::OUString aNewName; in Add() 273 StringKey >>= aNewName; in Add() 274 if ( !aNewName.getLength() ) in Add() 276 aNewName = aComServiceName; in Add() 277 if ( !aNewName.getLength() ) in Add() 281 while( xDialogContainer->hasByName( aNewName ) && (nInd < SAL_MAX_INT32) ) in Add() 283 aNewName = aComServiceName; in Add() 284 aNewName += ::rtl::OUString::valueOf( nInd++ ); in Add() 387 xDialogContainer->insertByName( aNewName, uno::makeAny( xNewModel ) ); in Add() 389 xNewControl = xControlContainer->getControl( aNewName ); in Add() [all …]
|
/aoo42x/main/sc/source/ui/undo/ |
H A D | undostyl.cxx | 145 String aNewName = rData.GetName(); in DoChange() local 146 sal_Bool bDelete = ( aNewName.Len() == 0 ); // no new name -> delete style in DoChange() 159 pStyle->SetName( aNewName ); in DoChange() 165 pStyle = &pStlPool->Make( aNewName, eStyleFamily, SFXSTYLEBIT_USERDEF ); in DoChange() 168 pDoc->GetPool()->CellStyleCreated( aNewName ); in DoChange() 205 if ( bNew && aNewName != rName ) in DoChange() 206 pDoc->RenamePageStyleInUse( rName, aNewName ); in DoChange() 211 pDocSh->PageStyleModified( aNewName, sal_True ); in DoChange()
|
/aoo42x/main/cui/source/dialogs/ |
H A D | scriptdlg.cxx | 916 ::rtl::OUString aNewName; in createEntry() 939 aNewName = aNewStdName; in createEntry() 956 aNewName = aNewStdName; in createEntry() 985 xNewDlg->SetObjectName( aNewName ); in createEntry() 1008 aNewName = aUserSuppliedName; in createEntry() 1023 args[ 0 ] <<= aNewName; in createEntry() 1104 extn = aNewName.copy(extnPos); in renameEntry() 1105 aNewName = aNewName.copy(0,extnPos); in renameEntry() 1110 xNewDlg->SetObjectName( aNewName ); in renameEntry() 1135 aNewName = aUserSuppliedName; in renameEntry() [all …]
|
/aoo42x/main/sot/source/sdstor/ |
H A D | stg.cxx | 617 String aNewName = rName; in OpenStorage() local 618 if( !aNewName.Len() ) in OpenStorage() 620 aNewName.AssignAscii( "Temp Stg " ); in OpenStorage() 621 aNewName.Append( String::CreateFromInt32( ++nTmpCount ) ); in OpenStorage() 624 p = pIo->pTOC->Create( *pEntry, aNewName, STG_STORAGE ); in OpenStorage() 677 String aNewName( rName ); in OpenStream() local 678 if( !aNewName.Len() ) in OpenStream() 680 aNewName.AssignAscii( "Temp Strm " ); in OpenStream() 681 aNewName.Append( String::CreateFromInt32( ++nTmpCount ) ); in OpenStream() 684 p = pIo->pTOC->Create( *pEntry, aNewName, STG_STREAM ); in OpenStream()
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | CommonTools.cxx | 339 ::rtl::OUString aNewName(rName); in convertName2SQLName() 346 aNewName = aNewName.replace(*pStr,'_'); in convertName2SQLName() 347 pStr = aNewName.getStr() + i; in convertName2SQLName() 351 aNewName = ::rtl::OUString(); in convertName2SQLName() 353 return aNewName; in convertName2SQLName()
|
/aoo42x/main/sc/source/filter/ftools/ |
H A D | ftools.cxx | 237 String aNewName( rStyleName ); in lclMakeStyleSheet() local 240 while( SfxStyleSheetBase* pStyleSheet = rPool.Find( aNewName, eFamily ) ) in lclMakeStyleSheet() 244 aNewName.Assign( rStyleName ).Append( ' ' ).Append( String::CreateFromInt32( ++nIndex ) ); in lclMakeStyleSheet() 250 pOldStyleSheet->SetName( aNewName ); in lclMakeStyleSheet() 251 aNewName = rStyleName; in lclMakeStyleSheet() 255 return static_cast< ScStyleSheet& >( rPool.Make( aNewName, eFamily, SFXSTYLEBIT_USERDEF ) ); in lclMakeStyleSheet()
|
/aoo42x/main/sd/source/ui/view/ |
H A D | ViewShellImplementation.cxx | 114 String aNewName; in ProcessModifyPageSlot() local 166 aNewName = pNewName->GetValue (); in ProcessModifyPageSlot() 201 pDocument, pUndoPage, aNewName, aNewAutoLayout, bBVisible, bBObjsVisible); in ProcessModifyPageSlot() 210 if (pCurrentPage->GetName() != aNewName) in ProcessModifyPageSlot() 212 pCurrentPage->SetName(aNewName); in ProcessModifyPageSlot() 219 pNotesPage->SetName(aNewName); in ProcessModifyPageSlot()
|
H A D | tabcontr.cxx | 393 String aNewName( GetEditText() ); in AllowRenaming() local 396 if( aCompareName != aNewName ) in AllowRenaming() 399 if( pDrViewSh->GetDocSh()->CheckPageName( this, aNewName ) ) in AllowRenaming() 401 SetEditText( aNewName ); in AllowRenaming()
|
/aoo42x/main/uui/source/ |
H A D | nameclashdlg.cxx | 39 rtl::OUString aNewName = maEDNewName.GetText(); in IMPL_LINK() local 40 if ( ( aNewName == maNewName ) || !aNewName.getLength() ) in IMPL_LINK() 46 maNewName = aNewName; in IMPL_LINK()
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | dbnamdlg.cxx | 490 String aNewName = aEdName.GetText(); in IMPL_LINK_INLINE_END() local 493 aNewName.EraseLeadingChars( ' ' ); in IMPL_LINK_INLINE_END() 494 aNewName.EraseTrailingChars( ' ' ); in IMPL_LINK_INLINE_END() 496 if ( aNewName.Len() > 0 && aNewArea.Len() > 0 ) in IMPL_LINK_INLINE_END() 498 if ( ScRangeData::IsNameValid( aNewName, pDoc ) ) in IMPL_LINK_INLINE_END() 511 if ( aLocalDbCol.SearchName( aNewName, nFoundAt ) ) in IMPL_LINK_INLINE_END() 529 ScDBData* pNewEntry = new ScDBData( aNewName, aStart.Tab(), in IMPL_LINK_INLINE_END()
|
/aoo42x/main/cui/source/customize/ |
H A D | cfg.cxx | 2621 pMenuData->SetName( aNewName ); in IMPL_LINK() 2668 String aNewName; in IMPL_LINK() local 2678 pNameDialog->GetName(aNewName); in IMPL_LINK() 2681 new SvxConfigEntry( aNewName, aNewName, sal_True ); in IMPL_LINK() 2724 pNameDialog->GetName(aNewName); in IMPL_LINK() 2726 pEntry->SetName( aNewName ); in IMPL_LINK() 3357 pNameDialog->GetName(aNewName); in IMPL_LINK() 3359 pToolbar->SetName( aNewName ); in IMPL_LINK() 3447 pNameDialog->GetName(aNewName); in IMPL_LINK() 3449 pEntry->SetName( aNewName ); in IMPL_LINK() [all …]
|
/aoo42x/main/sc/source/ui/docshell/ |
H A D | docsh4.cxx | 1320 String aNewName = pStyle->GetName(); in NotifyStyle() local 1321 String aOldName = aNewName; in NotifyStyle() 1326 if ( aNewName != aOldName ) in NotifyStyle() 1327 aDocument.RenamePageStyleInUse( aOldName, aNewName ); in NotifyStyle() 1333 aDocument.PageStyleModified( nTab, aNewName ); in NotifyStyle() 1358 String aNewName = pStyle->GetName(); in NotifyStyle() local 1359 String aOldName = aNewName; in NotifyStyle() 1363 if ( aNewName != aOldName ) in NotifyStyle() 1578 String aNewName = pStyleSheet->GetName(); in ExecutePageStyle() local 1579 if ( aNewName != aOldName && in ExecutePageStyle() [all …]
|
H A D | docsh5.cxx | 331 String aNewName; in GetDBData() local 345 aNewName = aImport; in GetDBData() 346 aNewName += String::CreateFromInt32( nCount ); in GetDBData() 348 while (pColl->SearchName( aNewName, nDummy )); in GetDBData() 357 aNewName = pColl->GetNewDefaultDBName(); in GetDBData() 363 aNewName = ScGlobal::GetRscString( STR_DB_NONAME ); in GetDBData() 373 aNewName, nTab, nStartCol, nStartRow, nEndCol, nEndRow, sal_True, bHasHeader ); in GetDBData()
|
/aoo42x/main/xmloff/source/core/ |
H A D | nmspmap.cxx | 580 OUStringBuffer aNewName( nNameLen +20 ); in NormalizeOasisURN() local 581 aNewName.append( rName.copy( 0, nTCIdStart ) ); in NormalizeOasisURN() 582 aNewName.append( GetXMLToken( XML_OPENDOCUMENT ) ); in NormalizeOasisURN() 583 aNewName.append( rName.copy( nTCIdEnd, nVersionStart-nTCIdEnd ) ); in NormalizeOasisURN() 584 aNewName.append( GetXMLToken( XML_1_0 ) ); in NormalizeOasisURN() 586 rName = aNewName.makeStringAndClear(); in NormalizeOasisURN()
|
H A D | i18nmap.cxx | 37 OUString aNewName; member in SvI18NMapEntry_Impl 41 const OUString& GetNewName() const { return aNewName; } in GetNewName() 47 aNewName( rNewName ) in SvI18NMapEntry_Impl()
|
/aoo42x/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsSlotManager.cxx | 917 String aNewName; in RenameSlide() local 918 aNameDlg->GetName( aNewName ); in RenameSlide() 919 if( ! aNewName.Equals( aPageName ) ) in RenameSlide() 925 pSelectedPage->GetPageNum()/2, aNewName ); in RenameSlide() 944 String aNewName; in IMPL_LINK() local 945 pDialog->GetName( aNewName ); in IMPL_LINK() 953 return ( (pCurrentPage!=NULL && aNewName.Equals( pCurrentPage->GetName() )) in IMPL_LINK() 955 && mrSlideSorter.GetViewShell()->GetDocSh()->IsNewPageNameValid( aNewName ) )); in IMPL_LINK()
|
/aoo42x/main/sc/source/filter/html/ |
H A D | htmlimp.cxx | 222 String aNewName; in GetHTMLRangeNameList() local 245 ScGlobal::AddToken( aNewName, aToken, ';' ); in GetHTMLRangeNameList() 252 ScGlobal::AddToken( aNewName, aToken, ';' ); in GetHTMLRangeNameList() 254 return aNewName; in GetHTMLRangeNameList()
|
/aoo42x/main/svx/source/gallery2/ |
H A D | gallery1.cxx | 702 String aNewName( aName ); in CreateImportTheme() local 707 while ( HasTheme( aNewName ) && ( nCount++ < 16000 ) ) in CreateImportTheme() 709 aNewName = aName; in CreateImportTheme() 710 aNewName += String::CreateFromInt32( nCount ); in CreateImportTheme() 713 pImportTheme->SetImportName( aNewName ); in CreateImportTheme() 718 pImportEntry->aThemeName = pImportEntry->aUIName = aNewName; in CreateImportTheme()
|
H A D | galbrws1.cxx | 463 const String aNewName( aDlg->GetTitle() ); //CHINA001 aDlg.GetTitle() ); in ImplExecute() local 465 if( aNewName.Len() && ( aNewName != aOldName ) ) in ImplExecute() 467 String aName( aNewName ); in ImplExecute() 472 aName = aNewName; in ImplExecute()
|
/aoo42x/main/svl/source/fsstor/ |
H A D | fsstorage.cxx | 861 …LL FSStorage::renameElement( const ::rtl::OUString& aElementName, const ::rtl::OUString& aNewName ) in renameElement() argument 882 aNewURL.Append( aNewName ); in renameElement() 899 aNewName, in renameElement() 943 const ::rtl::OUString& aNewName ) in copyElementTo() 966 if ( xDest->hasByName( aNewName ) ) in copyElementTo() 976 xDest->openStorageElement( aNewName, embed::ElementModes::READWRITE ), in copyElementTo() 983 CopyStreamToSubStream( aOwnURL.GetMainURL( INetURLObject::NO_DECODE ), xDest, aNewName ); in copyElementTo() 1028 const ::rtl::OUString& aNewName ) in moveElementTo() 1038 copyElementTo( aElementName, xDest, aNewName ); in moveElementTo()
|
/aoo42x/main/sw/source/ui/misc/ |
H A D | glossary.cxx | 148 Edit aNewName; member in SwNewGlosNameDlg 168 String GetNewName() const { return aNewName.GetText(); } in GetNewName() 177 aNewName(this, SW_RES( ED_NN )), in SwNewGlosNameDlg() 193 aNewName.SetMaxTextLen(LONG_LENGTH); in SwNewGlosNameDlg() 194 aNewName.SetModifyHdl(LINK(this, SwNewGlosNameDlg, Modify )); in SwNewGlosNameDlg() 197 aNewName.GrabFocus(); in SwNewGlosNameDlg() 902 String aName(aNewName.GetText()); in IMPL_LINK_INLINE_END() 905 if( pBox == &aNewName ) in IMPL_LINK_INLINE_END()
|
/aoo42x/main/sd/source/core/ |
H A D | stlpool.cxx | 909 String aNewName; in UpdateStdNames() local 960 aNewName = String( SdResId( nNameId ) ); in UpdateStdNames() 963 aNewName.Append( sal_Unicode( ' ' )); in UpdateStdNames() 964 aNewName.Append( String::CreateFromInt32( sal_Int32( nHelpId - HID_PSEUDOSHEET_OUTLINE ))); in UpdateStdNames() 968 if( aNewName.Len() && aNewName != aOldName ) in UpdateStdNames() 970 SfxStyleSheetBase* pSheetFound = Find( aNewName, eFam ); in UpdateStdNames() 975 pStyle->SetName( aNewName ); // setzt auch Parents um in UpdateStdNames()
|
/aoo42x/main/sw/source/core/undo/ |
H A D | SwUndoFmt.cxx | 431 : SwUndo(UNDO_NUMRULE_RENAME), aOldName(_aOldName), aNewName(_aNewName), in SwUndoNumruleRename() 438 pDoc->RenameNumRule(aNewName, aOldName, sal_True); in UndoImpl() 443 pDoc->RenameNumRule(aOldName, aNewName, sal_True); in RedoImpl() 452 aRewriter.AddRule(UNDO_ARG3, aNewName); in GetRewriter()
|