summaryrefslogtreecommitdiff
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
commita35ab74ee8887d6be0c6f1ac3d133b394e9e3a9f (patch)
treef2f3ac4eee084e5b6c861b4f747d7b19c5e808bd
parentc6855c9a268d45364f3d7e951c101b256eb9df7d (diff)
masterfix DEV300: #i10000# WaE converting negative value '-0x000000001' to 'USHORT'
-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 2a9679ec79..51142c52d8 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)
{}