summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-26 16:12:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 16:12:00 +0000
commitae1ae396bd7ad8b00d2f27bcde7a2a600e0b9497 (patch)
tree9b7ccaba9d21e2fa2ae65aeed62bebef95d49239
parent01666e23f66d43b5ea94f3562305dea52becd470 (diff)
WaE: gcc 4.6.0 various warnings
-rw-r--r--sc/source/ui/docshell/docsh4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 99b79b3a7..da42f8777 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -239,8 +239,8 @@ void ScDocShell::Execute( SfxRequest& rReq )
String aSelItem = sSbaData.GetToken(i,cSbaSep);
if (aSelItem.Len())
{
- void *pPtr = (void*)aSelItem.ToInt32();
- pSelectionList->Insert( pPtr, LIST_APPEND );
+ sal_uIntPtr nValue = aSelItem.ToInt32();
+ pSelectionList->Insert( (void*)nValue, LIST_APPEND );
}
}