[Libreoffice-commits] .: sw/inc sw/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Mon Nov 28 01:14:24 PST 2011
sw/inc/index.hxx | 2 +-
sw/source/core/bastyp/index.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5a8fef9b8e3ecc6658c477bdf903fe9e196db596
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 28 10:13:57 2011 +0100
Undo short -> xub_StrLen change (fixes warning on Mac OS X).
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index ec5a980..a671e04 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 112430f..70b5712 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 )
More information about the Libreoffice-commits
mailing list