diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-10 14:37:00 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-10 14:37:00 +0000 |
commit | 7ae72cd28beaa7b2981960a5e600de4132f2203e (patch) | |
tree | 4f79e1ec7c106a0d36c64d50f67bfdc06d9c5be4 /sd/source/ui/view/viewshe2.cxx | |
parent | 3a1f46c2ab158231b41989d4eec91a4fdf35bef6 (diff) |
INTEGRATION: CWS pchfix04 (1.48.28); FILE MERGED
2007/05/04 09:22:17 hjs 1.48.28.1: #i73078# - add .get() for comparing plain pointer; makes gcc/PCH break with >out of memory<
Diffstat (limited to 'sd/source/ui/view/viewshe2.cxx')
-rw-r--r-- | sd/source/ui/view/viewshe2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 8fae01b783a0..45fd4dfe6aee 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -4,9 +4,9 @@ * * $RCSfile: viewshe2.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.49 $ * - * last change: $Author: rt $ $Date: 2007-04-03 16:32:40 $ + * last change: $Author: kz $ $Date: 2007-05-10 15:37:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1203,7 +1203,7 @@ void ViewShell::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < // usually be the called view shell, but to be on the safe side we call // the main view shell explicitly. sal_uInt16 nViewID (IMPRESS_FACTORY_ID); - if (GetViewShellBase().GetMainViewShell() != NULL) + if (GetViewShellBase().GetMainViewShell().get() != NULL) nViewID = GetViewShellBase().GetMainViewShell()->mpImpl->GetViewId(); rSequence[nIndex].Name = rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_ViewId ) ); |