summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/laycache.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/inc/laycache.hxx')
-rw-r--r--sw/source/core/inc/laycache.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/laycache.hxx b/sw/source/core/inc/laycache.hxx
index 2376a5fbb480..0f14067d0bda 100644
--- a/sw/source/core/inc/laycache.hxx
+++ b/sw/source/core/inc/laycache.hxx
@@ -51,7 +51,7 @@ class SvStream;
class SwLayoutCache
{
SwLayCacheImpl *pImpl;
- USHORT nLockCount;
+ sal_uInt16 nLockCount;
public:
SwLayoutCache() : pImpl( NULL ), nLockCount( 0 ) {}
~SwLayoutCache();
@@ -61,7 +61,7 @@ public:
void ClearImpl();
sal_Bool IsLocked() const { return nLockCount > 0; }
- USHORT& GetLockCount() { return nLockCount; }
+ sal_uInt16& GetLockCount() { return nLockCount; }
SwLayCacheImpl *LockImpl()
{ if( nLockCount & 0x8000 ) return NULL;
if ( pImpl )