summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-03-24 15:36:04 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-03-24 15:36:04 +0100
commita614e489f61b0dd6fad4e54329a9be0a4160beac (patch)
treec935bf5858e20f4f3f87daa0c28651a01f2ee890 /vcl/source/window
parent9f8bf8d31126c24ed9e7e7d18b5605a6375fb2cd (diff)
#i108917# fixed confusing behaviour of context menu and meta drop down menu in impress comments window - transplanted from 263351@impresscomments1
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/winproc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 93e1b0837429..95ac5940b6d2 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -295,7 +295,7 @@ static BOOL ImplCallCommand( Window* pChild, USHORT nEvt, void* pData = NULL,
else
{
// simulate mouseposition at center of window
- Size aSize = pChild->GetOutputSize();
+ Size aSize( pChild->GetOutputSizePixel() );
aPos = Point( aSize.getWidth()/2, aSize.getHeight()/2 );
}
}