diff options
Diffstat (limited to 'sc/source/ui/app/inputwin.cxx')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 3267602f8927..e38febfda9f6 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1290,8 +1290,7 @@ ScTextWnd::ScTextWnd(ScInputBarGroup* pParent, ScTabViewShell* pViewSh) SetPointer(PointerStyle::Text); SetFont(aTextFont); - Size aBorder; - aBorder = CalcWindowSize(aBorder); + Size aBorder = CalcWindowSize(Size()); mnBorderHeight = aBorder.Height(); set_id("sc_input_window"); |