[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jan 26 12:12:30 PST 2011
sc/source/ui/docshell/docsh4.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ae1ae396bd7ad8b00d2f27bcde7a2a600e0b9497
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 26 16:12:00 2011 +0000
WaE: gcc 4.6.0 various warnings
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 99b79b3..da42f87 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 );
}
}
More information about the Libreoffice-commits
mailing list