convert include/svx/XPropertyEntry.hxx from String to OUString
Change-Id: Ie112b2e8af32eba60f67f767dd6a098980d907b4
This commit is contained in:
@@ -28,18 +28,18 @@
|
||||
class SVX_DLLPUBLIC XPropertyEntry
|
||||
{
|
||||
private:
|
||||
String maName;
|
||||
Bitmap maUiBitmap;
|
||||
OUString maName;
|
||||
Bitmap maUiBitmap;
|
||||
|
||||
protected:
|
||||
XPropertyEntry(const String& rName);
|
||||
XPropertyEntry(const OUString& rName);
|
||||
XPropertyEntry(const XPropertyEntry& rOther);
|
||||
|
||||
public:
|
||||
virtual ~XPropertyEntry();
|
||||
|
||||
void SetName(const String& rName) { maName = rName; }
|
||||
const String& GetName() const { return maName; }
|
||||
void SetName(const OUString& rName) { maName = rName; }
|
||||
const OUString& GetName() const { return maName; }
|
||||
void SetUiBitmap(const Bitmap& rUiBitmap) { maUiBitmap = rUiBitmap; }
|
||||
const Bitmap& GetUiBitmap() const { return maUiBitmap; }
|
||||
};
|
||||
|
@@ -725,7 +725,7 @@ IMPL_LINK_NOARG(LinePropertyPanel, ChangeLineStyleHdl)
|
||||
const XDashEntry* pDashEntry = mxLineStyleList->GetDash(nPos - 2);
|
||||
OSL_ENSURE(pDashEntry, "OOps, got empty XDash from XDashList (!)");
|
||||
const XLineDashItem aItemB(
|
||||
pDashEntry ? pDashEntry->GetName() : String(),
|
||||
pDashEntry ? pDashEntry->GetName() : OUString(),
|
||||
pDashEntry ? pDashEntry->GetDash() : XDash());
|
||||
|
||||
GetBindings()->GetDispatcher()->Execute(SID_ATTR_LINE_STYLE, SFX_CALLMODE_RECORD, &aItemA, 0L);
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <svx/XPropertyEntry.hxx>
|
||||
|
||||
XPropertyEntry::XPropertyEntry(const String& rName)
|
||||
XPropertyEntry::XPropertyEntry(const OUString& rName)
|
||||
: maName(rName),
|
||||
maUiBitmap()
|
||||
{
|
||||
|
@@ -220,7 +220,7 @@ OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_u
|
||||
}
|
||||
else
|
||||
{
|
||||
sal_Int32 nThisIndex = pEntry->GetName().Copy( aUser.Len() ).ToInt32();
|
||||
sal_Int32 nThisIndex = pEntry->GetName().copy( aUser.Len() ).toInt32();
|
||||
if( nThisIndex >= nUserIndex )
|
||||
nUserIndex = nThisIndex + 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user