summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreu Correa Casablanca <castarco@gmail.com>2011-09-17 17:38:52 +0200
committerCaolán McNamara <caolanm@redhat.com>2011-09-21 13:02:08 +0100
commit582d831bfb9c8710888e9a2cffee0c8163d2b9b2 (patch)
treefd5f38da837a2dc3c0998072abe00cf5d35bbde1
parent90cd178e1582c63d2e27501e2f5aa553bbd06a82 (diff)
removed redundant null ptr check in sw/source/ui/uni/unomailmarge.cxx l. 630
-rw-r--r--sw/source/ui/uno/unomailmerge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx
index e7fd53293082..1a1b5b0ef4b5 100644
--- a/sw/source/ui/uno/unomailmerge.cxx
+++ b/sw/source/ui/uno/unomailmerge.cxx
@@ -627,7 +627,7 @@ uno::Any SAL_CALL SwXMailMerge::execute(
// and thus avoiding the SelectShell call in Writers GetState function
// while still in Update of Sfx.
// (GetSelection in Update is not allowed)
- if (pView && aCurDocumentURL.getLength())
+ if (aCurDocumentURL.getLength())
pView->AttrChangedNotify( &pView->GetWrtShell() );//Damit SelectShell gerufen wird.
SharedComponent aRowSetDisposeHelper;