/[packages]/cauldron/libreoffice/branches/3.5/current/SOURCES/0001-Resolves-rhbz-695509-crash-in-RefreshDocumentLB.patch
ViewVC logotype

Contents of /cauldron/libreoffice/branches/3.5/current/SOURCES/0001-Resolves-rhbz-695509-crash-in-RefreshDocumentLB.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 179475 - (show annotations) (download)
Fri Dec 9 06:27:22 2011 UTC (12 years, 4 months ago) by dmorgan
File size: 996 byte(s)
Add sources and spec file
1 From 5cc73f49400f9719ffd5382e64931de6eb8f130c Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3 Date: Sun, 17 Apr 2011 22:57:40 +0100
4 Subject: [PATCH] Resolves: rhbz#695509 crash in RefreshDocumentLB
5
6 ---
7 sd/source/ui/dlg/navigatr.cxx | 3 ++-
8 1 files changed, 2 insertions(+), 1 deletions(-)
9
10 diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
11 index 09426b8..edee709 100644
12 --- a/sd/source/ui/dlg/navigatr.cxx
13 +++ b/sd/source/ui/dlg/navigatr.cxx
14 @@ -713,7 +713,8 @@ void SdNavigatorWin::RefreshDocumentLB( const String* pDocName )
15 NavDocInfo* pInfo = new NavDocInfo();
16 pInfo->mpDocShell = pDocShell;
17
18 - aStr = pDocShell->GetMedium()->GetName();
19 + SfxMedium *pMedium = pDocShell->GetMedium();
20 + aStr = pMedium ? pMedium->GetName() : String();
21 if( aStr.Len() )
22 pInfo->SetName();
23 else
24 --
25 1.7.4.2
26

  ViewVC Help
Powered by ViewVC 1.1.30