diff options
Diffstat (limited to 'svx/source/tbxctrls/verttexttbxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/verttexttbxctrl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx index dce2e51c909e..3b1a33daf093 100644 --- a/svx/source/tbxctrls/verttexttbxctrl.cxx +++ b/svx/source/tbxctrls/verttexttbxctrl.cxx @@ -80,8 +80,7 @@ void SvxVertCTLTextTbxCtrl::StateChanged( { ToolBox& rTbx = GetToolBox(); vcl::Window* pParent = rTbx.GetParent(); - WindowType nWinType = pParent->GetType(); - if(WINDOW_FLOATINGWINDOW == nWinType) + if(WindowType::FLOATINGWINDOW == pParent->GetType()) { Size aSize(rTbx.CalcWindowSizePixel()); rTbx.SetPosSizePixel( Point(), aSize ); |