summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/shells/grfsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/grfsh.cxx')
-rw-r--r--sw/source/uibase/shells/grfsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx
index 3d2e439b1083..e536f5bab523 100644
--- a/sw/source/uibase/shells/grfsh.cxx
+++ b/sw/source/uibase/shells/grfsh.cxx
@@ -161,7 +161,7 @@ void SwGrfShell::Execute(SfxRequest &rReq)
vcl::Window* pWin = GetView().GetWindow();
if (pWin)
{
- nState = GraphicHelper::HasToSaveTransformedImage(pWin);
+ nState = GraphicHelper::HasToSaveTransformedImage(pWin->GetFrameWeld());
}
}
else