summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/grfshex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/shells/grfshex.cxx')
-rw-r--r--sw/source/ui/shells/grfshex.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/ui/shells/grfshex.cxx b/sw/source/ui/shells/grfshex.cxx
index a654536a4ce3..7d00f174c05c 100644
--- a/sw/source/ui/shells/grfshex.cxx
+++ b/sw/source/ui/shells/grfshex.cxx
@@ -77,10 +77,10 @@ using ::rtl::OUString;
bool SwTextShell::InsertMediaDlg( SfxRequest& rReq )
{
- ::rtl::OUString aURL;
- const SfxItemSet* pReqArgs = rReq.GetArgs();
- Window* pWindow = &GetView().GetViewFrame()->GetWindow();
- bool bAPI = false, bRet = false;
+ ::rtl::OUString aURL;
+ const SfxItemSet* pReqArgs = rReq.GetArgs();
+ Window* pWindow = &GetView().GetViewFrame()->GetWindow();
+ bool bAPI = false, bRet = false;
if( pReqArgs )
{
@@ -110,15 +110,15 @@ bool SwTextShell::InsertMediaDlg( SfxRequest& rReq )
}
else
{
- SwWrtShell& rSh = GetShell();
+ SwWrtShell& rSh = GetShell();
if( !rSh.HasDrawView() )
rSh.MakeDrawView();
- Size aDocSz( rSh.GetDocSize() );
- const SwRect& rVisArea = rSh.VisArea();
- Point aPos( rVisArea.Center() );
- Size aSize;
+ Size aDocSz( rSh.GetDocSize() );
+ const SwRect& rVisArea = rSh.VisArea();
+ Point aPos( rVisArea.Center() );
+ Size aSize;
if( rVisArea.Width() > aDocSz.Width())
aPos.X() = aDocSz.Width() / 2 + rVisArea.Left();