summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-28 10:13:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-28 10:13:57 +0100
commit5a8fef9b8e3ecc6658c477bdf903fe9e196db596 (patch)
tree9ff25c3f240d21abe81b3f4ec3afa5af7beb0954 /sw
parent2af9040d38af7c7353855415dbea0134585058f3 (diff)
Undo short -> xub_StrLen change (fixes warning on Mac OS X).
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/index.hxx2
-rw-r--r--sw/source/core/bastyp/index.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index ec5a980cd8e9..a671e046cb42 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -67,7 +67,7 @@ private:
public:
explicit SwIndex(SwIndexReg *const pReg, xub_StrLen const nIdx = 0);
SwIndex( const SwIndex & );
- SwIndex( const SwIndex &, xub_StrLen const nDiff );
+ SwIndex( const SwIndex &, short nDiff );
~SwIndex() { Remove(); }
INLINE SwIndex& operator=( xub_StrLen const );
diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx
index 112430f3c5b0..70b5712ae588 100644
--- a/sw/source/core/bastyp/index.cxx
+++ b/sw/source/core/bastyp/index.cxx
@@ -46,7 +46,7 @@ SwIndex::SwIndex(SwIndexReg *const pReg, xub_StrLen const nIdx)
Init(m_nIndex);
}
-SwIndex::SwIndex( const SwIndex& rIdx, xub_StrLen const nDiff )
+SwIndex::SwIndex( const SwIndex& rIdx, short nDiff )
: m_pIndexReg( rIdx.m_pIndexReg )
, m_pNext( 0 )
, m_pPrev( 0 )