summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-18 17:29:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-18 17:30:31 +0000
commit7b7a3cb20aabc851b8560fa844a4e669a51008fd (patch)
tree0e2d86f4dc4105ea19ee3076566457cb4829a10f /svtools/source
parent036bcb93e6c7fd0486a53a5e281d02eeced4395f (diff)
WaE: PAGE_NOT_FOUND is a 16bit value
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/tabbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 9b61f88562da..0455df6b4b26 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -1972,7 +1972,7 @@ void TabBar::Clear()
if ( IsReallyVisible() && IsUpdateMode() )
Invalidate();
- CallEventListeners( VCLEVENT_TABBAR_PAGEREMOVED, (void*) PAGE_NOT_FOUND );
+ CallEventListeners( VCLEVENT_TABBAR_PAGEREMOVED, reinterpret_cast<void*>(sal::static_int_cast<sal_IntPtr>(PAGE_NOT_FOUND)) );
}
// -----------------------------------------------------------------------