summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-11-08 10:36:41 +0100
committerobo <obo@openoffice.org>2010-11-08 10:36:41 +0100
commitda8aa1f2aa04522f098474fa93898ab8716841d0 (patch)
treef5d1b06ad334eebeccaff1a2b4ab46945462154e /sfx2
parent3c21373571fd0cf89391502aa132c5f420cd75c6 (diff)
masterfix DEV300: #i10000# WaE converting negative value '-0x000000001' to 'USHORT'
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 5c41ba167c55..ea92507ba13f 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -252,7 +252,7 @@ SfxViewShell_Impl::SfxViewShell_Impl(USHORT const nFlags)
, m_bGotOwnership(false)
, m_bGotFrameOwnership(false)
, m_eScroll(SCROLLING_DEFAULT)
-, m_nFamily(-1) // undefined, default set by TemplateDialog
+, m_nFamily(0xFFFF) // undefined, default set by TemplateDialog
, m_pController(0)
, m_pAccExec(0)
{}