summaryrefslogtreecommitdiff
path: root/sw/source/filter/inc
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2014-12-08 08:18:17 +0100
committerMichael Stahl <mstahl@redhat.com>2014-12-10 21:19:38 +0000
commit80ae88836db78c5649e7953e4c5b850d7bad9e4f (patch)
treef4bf03d719976dea45314ca375e287fa596e099a /sw/source/filter/inc
parent8aac6ecc58fa2c475f34817e607efb6a31317898 (diff)
32/64 bit type mismatch
Change-Id: I4ca19e6efed8ba1ef724136c577a3dcac80f7d62 Reviewed-on: https://gerrit.libreoffice.org/13365 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/filter/inc')
-rw-r--r--sw/source/filter/inc/fltshell.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx
index 3738c19f2576..f1f35f893654 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -47,10 +47,10 @@ inline void SwFltClearFlag(sal_uLong& rFieldFlags, int no)
{ rFieldFlags &= ~(1L << no); }
inline void SwFltSetFlag(sal_uLong& rFieldFlags, int no)
- { rFieldFlags |= 1L << no; }
+ { rFieldFlags |= sal_uLong(1) << no; }
inline bool SwFltGetFlag(sal_uLong nFieldFlags, int no)
- { return (nFieldFlags & (1L << no)) != 0; }
+ { return (nFieldFlags & (sal_uLong(1) << no)) != 0; }
//Subvert the Node/Content system to get positions which don't update as
//content is appended to them