summaryrefslogtreecommitdiff
path: root/starmath/source/unomodel.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-04-07 07:20:19 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-04-07 07:20:19 +0000
commitab40a4c30a70e84b6aa1bc173cee9cbb4f97bbf7 (patch)
tree219bf1fcf4481525212cf5ac30f86ec126a8d5c7 /starmath/source/unomodel.cxx
parent99dffea35ce9422aadd07881d721da829ab8d672 (diff)
INTEGRATION: CWS sixtyfour04 (1.34.58); FILE MERGED
2006/03/10 14:30:54 cmc 1.34.58.1: #i62566# cast crops pointer value
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r--starmath/source/unomodel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 1f9f78977d4b..8fb40e7a2870 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unomodel.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: kz $ $Date: 2005-10-05 15:06:17 $
+ * last change: $Author: vg $ $Date: 2006-04-07 08:20:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1067,7 +1067,7 @@ void SAL_CALL SmModel::setParent( const uno::Reference< uno::XInterface >& xPare
if ( xParentTunnel.is() )
{
SvGlobalName aSfxIdent( SFX_GLOBAL_CLASSID );
- SfxObjectShell* pDoc = (SfxObjectShell*)(sal_Int32)( xParentTunnel->getSomething(
+ SfxObjectShell* pDoc = reinterpret_cast<SfxObjectShell *>(xParentTunnel->getSomething(
uno::Sequence< sal_Int8 >( aSfxIdent.GetByteSequence() ) ) );
if ( pDoc )
GetObjectShell()->OnDocumentPrinterChanged( pDoc->GetDocumentPrinter() );