/trunk/main/shell/source/cmdmail/ |
H A D | syscmdmail.cxx | 65 const OString rStr( OUStringToOString( ustr, iEncoding ) ); in escapeDoubleQuotes() local 66 sal_Int32 nIndex = rStr.indexOf('"'); in escapeDoubleQuotes() 68 rBuffer.append( rStr ); in escapeDoubleQuotes() 71 const sal_Char *pStart = rStr.getStr(); in escapeDoubleQuotes() 73 const sal_Int32 nLen = rStr.getLength(); in escapeDoubleQuotes() 83 while ( ( nIndex = rStr.indexOf( '"' , nIndex ) ) != -1 ); in escapeDoubleQuotes()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbarangehelper.cxx | 67 …>& rTextRange, uno::Reference< text::XText >& rText, const rtl::OUString& rStr, sal_Bool _bAbsorb … in insertString() argument 73 while(( nIndex = rStr.indexOf('\n', nlastIndex)) >= 0 ) in insertString() 78 … rText->insertString( xRange, rStr.copy( nlastIndex, ( nIndex - 1 - nlastIndex ) ), _bAbsorb ); in insertString() 86 if( nlastIndex < rStr.getLength() ) in insertString() 90 rtl::OUString aWatt = rStr.copy( nlastIndex ); in insertString()
|
/trunk/main/svtools/source/dialogs/ |
H A D | prnsetup.cxx | 139 static void ImplPrnDlgAddString( XubString& rStr, const XubString& rAddStr ) in ImplPrnDlgAddString() argument 141 if ( rStr.Len() ) in ImplPrnDlgAddString() 142 rStr.AppendAscii( "; " ); in ImplPrnDlgAddString() 143 rStr += rAddStr; in ImplPrnDlgAddString() 148 static void ImplPrnDlgAddResString( XubString& rStr, sal_uInt16 nResId ) in ImplPrnDlgAddResString() argument 152 ImplPrnDlgAddString( rStr, aAddStr ); in ImplPrnDlgAddResString()
|
/trunk/main/formula/inc/formula/ |
H A D | FormulaCompiler.hxx | 69 size_t operator()( const String& rStr ) const in operator ()() 71 return rtl_ustr_hashCode_WithLength( rStr.GetBuffer(), rStr.Len() ); in operator ()() 164 void putOpCode( const String & rStr, const OpCode eOp ); 218 static sal_Bool DeQuote( String& rStr ); 235 void AppendString( rtl::OUStringBuffer& rBuffer, const String & rStr );
|
/trunk/main/sw/inc/ |
H A D | docstyle.hxx | 51 void Append( char cChar, const String& rStr ); 137 virtual sal_Bool SetName( const String& rStr); 138 virtual sal_Bool SetParent( const String& rStr); 139 virtual sal_Bool SetFollow( const String& rStr); 183 virtual SfxStyleSheetBase* Find(const UniString& rStr);
|
H A D | stringhash.hxx | 85 size_t operator() (const String & rStr) const in operator ()() 87 return (*this)(&rStr); in operator ()() 93 size_t operator () (const String &rStr) const in operator ()() 97 return aStrHash(&rStr); in operator ()()
|
H A D | tox.hxx | 122 inline void SetPrimaryKey(const String& rStr ); 123 inline void SetSecondaryKey(const String& rStr); 124 inline void SetTextReading(const String& rStr); 125 inline void SetPrimaryKeyReading(const String& rStr ); 126 inline void SetSecondaryKeyReading(const String& rStr); 346 SwFormTokensHelper(const String & rStr); 382 void SetPattern(sal_uInt16 nLevel, const String& rStr);
|
/trunk/main/tools/source/string/ |
H A D | debugprint.cxx | 31 const sal_Char *dbg_dump(const ByteString &rStr) in dbg_dump() argument 34 aStr = rStr; in dbg_dump() 39 const sal_Char *dbg_dump(const UniString &rStr) in dbg_dump() argument 41 return dbg_dump(ByteString(rStr, RTL_TEXTENCODING_UTF8)); in dbg_dump()
|
/trunk/main/cui/source/factory/ |
H A D | dlgfact.cxx | 225 void AbstractTabDialog_Impl::SetText( const XubString& rStr ) in SetText() argument 227 pDlg->SetText( rStr ); in SetText() 240 void AbstractSfxDialog_Impl::SetText( const XubString& rStr ) in SetText() argument 242 pDlg->SetText( rStr ); in SetText() 648 pDlg->SetText( rStr ); in SetText() 681 pDlg->SetText( rStr ); in SetText() 734 void AbstractSvxNameDialog_Impl::SetText( const XubString& rStr ) in SetText() argument 736 pDlg->SetText( rStr ); in SetText() 901 pDlg->SetText( rStr ); in SetText() 908 void AbstractSvxPostItDialog_Impl::SetText( const XubString& rStr ) in SetText() argument [all …]
|
/trunk/main/tools/source/ref/ |
H A D | errinf.cxx | 378 sal_Bool ErrorHandler::GetErrorString(sal_uIntPtr lId, String& rStr) in GetErrorString() argument 380 return (sal_Bool)HandleError_Impl( lId, USHRT_MAX, sal_True, rStr ); in GetErrorString() 406 sal_Bool ErrorHandler::ForwCreateString(const ErrorInfo* pInfo, String& rStr, sal_uInt16 &rFlags) c… in ForwCreateString() argument 408 return ErrHdl_Impl::CreateString(this->pImpl->pNext, pInfo, rStr, rFlags); in ForwCreateString() 424 const ErrorInfo *pInfo, String &rStr, sal_uInt16 &) const in CreateString() argument 450 rStr = String( aStr, RTL_TEXTENCODING_ASCII_US ); in CreateString()
|
H A D | globname.cxx | 155 SvStream& operator >> ( SvStream& rStr, SvGlobalName & rObj ) in operator >>() argument 158 rStr >> *(sal_uInt32 *)rObj.pImp->szData; in operator >>() 159 rStr >> *(sal_uInt16 *)&rObj.pImp->szData[ 4 ]; in operator >>() 160 rStr >> *(sal_uInt16 *)&rObj.pImp->szData[ 6 ]; in operator >>() 161 rStr.Read( (sal_Char *)&rObj.pImp->szData[ 8 ], 8 ); in operator >>() 162 return rStr; in operator >>()
|
/trunk/main/sc/inc/ |
H A D | formularesult.hxx | 198 inline void SetHybridString( const String & rStr ); 423 const String& rStr = GetString(); in IsMultiline() local 424 if (rStr.Len() && rStr.Search( _LF ) != STRING_NOTFOUND) in IsMultiline() 570 inline void ScFormulaResult::SetHybridString( const String & rStr ) in SetHybridString() argument 578 mpToken = new ScHybridCellToken( f, rStr, aFormula); in SetHybridString()
|
H A D | chgtrack.hxx | 454 void SetComment( const String& rStr ) in SetComment() argument 455 { aComment = rStr; } in SetComment() 757 static void GetStringOfCell( String& rStr, 762 static void GetStringOfCell( String& rStr, 767 static void SetValue( String& rStr, ScBaseCell*& pCell, 773 static void SetValue( String& rStr, ScBaseCell*& pCell, 779 static void SetCell( String& rStr, ScBaseCell* pCell, 785 ScBaseCell*& pCell, const String& rStr, 788 void GetValueString( String& rStr, 792 void GetFormulaString( String& rStr,
|
/trunk/main/sc/source/core/tool/ |
H A D | rangelst.cxx | 57 sal_uInt16 ScRangeList::Parse( const String& rStr, ScDocument* pDoc, sal_uInt16 nMask, in Parse() argument 61 if ( rStr.Len() ) in Parse() 78 sal_uInt16 nTCount = rStr.GetTokenCount( cDelimiter ); in Parse() 81 aOne = rStr.GetToken( i, cDelimiter ); in Parse() 102 void ScRangeList::Format( String& rStr, sal_uInt16 nFlags, ScDocument* pDoc, in Format() argument 106 rStr.Erase(); in Format() 117 rStr += cDelimiter; in Format() 118 rStr += aStr; in Format()
|
/trunk/main/sal/rtl/source/ |
H A D | debugprint.cxx | 30 const sal_Char *dbg_dump(const rtl::OString &rStr) in dbg_dump() argument 34 aStr = rtl::OStringBuffer(rStr); in dbg_dump() 39 const sal_Char *dbg_dump(const rtl::OUString &rStr) in dbg_dump() argument 41 return dbg_dump(rtl::OUStringToOString(rStr, RTL_TEXTENCODING_UTF8)); in dbg_dump()
|
/trunk/main/vcl/source/control/ |
H A D | combobox.cxx | 908 void ComboBox::SetText( const XubString& rStr ) in SetText() argument 912 Edit::SetText( rStr ); in SetText() 918 void ComboBox::SetText( const XubString& rStr, const Selection& rNewSelection ) in SetText() argument 922 Edit::SetText( rStr, rNewSelection ); in SetText() 989 sal_uInt16 ComboBox::InsertEntry( const XubString& rStr, sal_uInt16 nPos ) in InsertEntry() argument 991 …sal_uInt16 nRealPos = mpImplLB->InsertEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), rStr … in InsertEntry() 999 sal_uInt16 ComboBox::InsertEntry( const XubString& rStr, const Image& rImage, sal_uInt16 nPos ) in InsertEntry() argument 1009 void ComboBox::RemoveEntry( const XubString& rStr ) in RemoveEntry() argument 1011 RemoveEntry( GetEntryPos( rStr ) ); in RemoveEntry() 1040 sal_uInt16 ComboBox::GetEntryPos( const XubString& rStr ) const in GetEntryPos() [all …]
|
H A D | lstbox.cxx | 1080 sal_uInt16 ListBox::InsertEntry( const XubString& rStr, sal_uInt16 nPos ) in InsertEntry() argument 1082 …sal_uInt16 nRealPos = mpImplLB->InsertEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), rStr … in InsertEntry() 1100 sal_uInt16 ListBox::InsertEntry( const XubString& rStr, const Image& rImage, sal_uInt16 nPos ) in InsertEntry() argument 1110 void ListBox::RemoveEntry( const XubString& rStr ) in RemoveEntry() argument 1112 RemoveEntry( GetEntryPos( rStr ) ); in RemoveEntry() 1134 sal_uInt16 ListBox::GetEntryPos( const XubString& rStr ) const in GetEntryPos() 1136 sal_uInt16 nPos = mpImplLB->GetEntryList()->FindEntry( rStr ); in GetEntryPos() 1196 sal_Bool ListBox::IsEntrySelected( const XubString& rStr ) const in IsEntrySelected() 1198 return IsEntryPosSelected( GetEntryPos( rStr ) ); in IsEntrySelected() 1210 void ListBox::SelectEntry( const XubString& rStr, sal_Bool bSelect ) in SelectEntry() argument [all …]
|
H A D | edit.cxx | 852 rStr = rStr.copy( 0, nErasePos ); in ImplTruncateToMaxLen() 876 if (bIsUserInput && rStr.Len()) in ImplInsertText() 923 bIsInputSequenceChecking = rStr.Len() == 1 && in ImplInsertText() 933 sal_Unicode cChar = rStr.GetChar(0); in ImplInsertText() 2707 void Edit::ReplaceSelected( const XubString& rStr ) in ReplaceSelected() argument 2710 mpSubEdit->ReplaceSelected( rStr ); in ReplaceSelected() 2712 ImplInsertText( rStr ); in ReplaceSelected() 2790 void Edit::SetText( const XubString& rStr ) in SetText() argument 2797 ImplSetText( rStr, &aNewSel ); in SetText() 2806 mpSubEdit->SetText( rStr, rSelection ); in SetText() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdundo.cxx | 111 SdrUndoGroup::SdrUndoGroup(SdrModel& rNewMod,const String& rStr) in SdrUndoGroup() argument 114 aComment(rStr), in SdrUndoGroup() 250 rStr = ImpGetResStr(nStrCacheID); in GetDescriptionStringForObject() 254 xub_StrLen nPos = rStr.Search(aSearchString); in GetDescriptionStringForObject() 258 rStr.Erase(nPos, 2); in GetDescriptionStringForObject() 262 rStr.Insert(ImpGetResStr(STR_ObjNameSingulPlural), nPos); in GetDescriptionStringForObject() 269 rStr.Insert(aStr, nPos); in GetDescriptionStringForObject() 274 void SdrUndoObj::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, XubString& rStr, FASTBOOL bRepeat) c… in ImpTakeDescriptionStr() argument 277 GetDescriptionStringForObject( *pObj, nStrCacheID, rStr, bRepeat ); in ImpTakeDescriptionStr() 1597 void SdrUndoPage::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, XubString& rStr, sal_uInt16 /*n*/, … in ImpTakeDescriptionStr() argument [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpicn.cxx | 115 const XubString& rStr, long nMaxWidth, in GetEllipsisString() argument 118 XubString aStr = rStr; in GetEllipsisString() 139 aStr += rStr.GetChar( 0 ); in GetEllipsisString() 230 long nWidth, const XubString& rStr, in GetTextLines() argument 234 if ( !rStr.Len() ) in GetTextLines() 378 const XubString& rStr, in GetTextLines() argument 384 rRect.GetWidth(), rStr, nStyle ); in GetTextLines() 393 const XubString& rStr, in GetTextRect() argument 432 nMaxWidth = pDev->GetTextWidth( rStr ); in GetTextRect() 466 if ( !rStr.Len() || rRect.IsEmpty() ) in DrawText() [all …]
|
/trunk/main/tools/inc/tools/ |
H A D | resary.hxx | 41 ImplResStringItem( const XubString& rStr ) : in ImplResStringItem() 42 maStr( rStr ) {} in ImplResStringItem() 64 ImplResStringItem( const XubString& rStr, long nValue = 0 ) : in ImplResStringItem() 65 m_aStr( rStr ), in ImplResStringItem()
|
/trunk/main/comphelper/inc/comphelper/ |
H A D | stl_types.hxx | 93 size_t operator() (const ::rtl::OUString& rStr) const {return rStr.hashCode();} in operator ()() 142 size_t operator() (const ::rtl::OUString& rStr) const in operator ()() 144 return m_bCaseSensitive ? rStr.hashCode() : rStr.toAsciiUpperCase().hashCode(); in operator ()()
|
/trunk/main/vcl/inc/vcl/ |
H A D | strhelper.hxx | 54 inline double VCL_DLLPUBLIC StringToDouble( const String& rStr ) in StringToDouble() argument 57 return rtl::math::stringToDouble( rStr, sal_Unicode('.'), sal_Unicode(0), &eStatus, NULL); in StringToDouble() 60 inline double VCL_DLLPUBLIC StringToDouble( const ByteString& rStr ) in StringToDouble() argument 63 …return rtl::math::stringToDouble( rtl::OStringToOUString( rStr, osl_getThreadTextEncoding() ), sal… in StringToDouble()
|
/trunk/main/sw/source/core/text/ |
H A D | porhyph.hxx | 53 inline SwHyphStrPortion( const XubString &rStr ); 97 SwSoftHyphStrPortion( const XubString &rStr ); 102 inline SwHyphStrPortion::SwHyphStrPortion( const XubString &rStr ) in SwHyphStrPortion() argument 103 : aExpand( rStr ) in SwHyphStrPortion()
|
/trunk/main/svx/inc/svx/ |
H A D | svddrgmt.hxx | 178 …void ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, String& rStr, sal_uInt16 nVal=0) … 216 virtual void TakeSdrDragComment(String& rStr) const=0; 262 virtual void TakeSdrDragComment(String& rStr) const; 285 virtual void TakeSdrDragComment(String& rStr) const; 315 virtual void TakeSdrDragComment(String& rStr) const;
|