summaryrefslogtreecommitdiff
path: root/vcl/source/control/notebookbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/notebookbar.cxx')
-rw-r--r--vcl/source/control/notebookbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx
index ee3e05ab3852..54931df82557 100644
--- a/vcl/source/control/notebookbar.cxx
+++ b/vcl/source/control/notebookbar.cxx
@@ -130,7 +130,7 @@ void NotebookBar::Resize()
if (pWindow)
{
Size aSize = pWindow->GetSizePixel();
- aSize.Width() = GetSizePixel().Width();
+ aSize.setWidth( GetSizePixel().Width() );
pWindow->SetSizePixel(aSize);
}
}