summaryrefslogtreecommitdiff
path: root/include/svx/xit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/xit.hxx')
-rw-r--r--include/svx/xit.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/xit.hxx b/include/svx/xit.hxx
index f6b19595a9f8..b51af17a4d4d 100644
--- a/include/svx/xit.hxx
+++ b/include/svx/xit.hxx
@@ -36,13 +36,13 @@ typedef bool (*SvxCompareValueFunc)( const NameOrIndex* p1, const NameOrIndex* p
class SVXCORE_DLLPUBLIC NameOrIndex : public SfxStringItem
{
- sal_Int32 nPalIndex;
+ sal_Int32 m_nPalIndex;
protected:
- void Detach() { nPalIndex = -1; }
+ void Detach() { m_nPalIndex = -1; }
public:
- NameOrIndex() { nPalIndex = -1; }
+ NameOrIndex() { m_nPalIndex = -1; }
NameOrIndex(TypedWhichId<NameOrIndex> nWhich, sal_Int32 nIndex);
NameOrIndex(TypedWhichId<NameOrIndex> nWhich, const OUString& rName);
NameOrIndex(const NameOrIndex& rNameOrIndex);
@@ -52,8 +52,8 @@ public:
OUString const & GetName() const { return GetValue(); }
void SetName(const OUString& rName) { SetValue(rName); }
- bool IsIndex() const { return (nPalIndex >= 0); }
- sal_Int32 GetPalIndex() const { return nPalIndex; }
+ bool IsIndex() const { return (m_nPalIndex >= 0); }
+ sal_Int32 GetPalIndex() const { return m_nPalIndex; }
/** this static checks if the given NameOrIndex item has a unique name for its value.
The returned String is a unique name for an item with this value in both given pools.