summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-31 22:40:06 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-06-02 00:14:43 +0200
commit6c7b5b03cee4d2981177cb065e533031683c4bad (patch)
tree1af341a0a9935b6ebee29fd0c1f3c63a006f1175 /sfx2
parent9509ce61031f27dd1977599ffc271aaffdb6ca82 (diff)
no need to make that separate statements
Change-Id: I2b08d200f1e361cdb3f3d3c12fec1b3377b81e30
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewfrm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index bcca3cfaa3e7..bddf1108c65f 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3229,8 +3229,7 @@ void SfxViewFrame::ChildWindowState( SfxItemSet& rState )
SfxWorkWindow* SfxViewFrame::GetWorkWindow_Impl( sal_uInt16 /*nId*/ )
{
- SfxWorkWindow* pWork = 0;
- pWork = GetFrame().GetWorkWindow_Impl();
+ SfxWorkWindow* pWork = GetFrame().GetWorkWindow_Impl();
return pWork;
}