summaryrefslogtreecommitdiffstats
path: root/vcl/source/window/resource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/resource.cxx')
-rw-r--r--vcl/source/window/resource.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/window/resource.cxx b/vcl/source/window/resource.cxx
index fba41a6c7e34..9d47801e636f 100644
--- a/vcl/source/window/resource.cxx
+++ b/vcl/source/window/resource.cxx
@@ -146,12 +146,6 @@ void Window::ImplLoadRes( const ResId& rResId )
sal_uIntPtr nRes = ReadLongRes();
SetData( reinterpret_cast<void*>(nRes) );
}
-
- if ( nObjMask & WINDOW_BORDER_STYLE )
- {
- sal_uInt16 nBorderStyle = (sal_uInt16)ReadLongRes();
- SetBorderStyle( static_cast<WindowBorderStyle>(nBorderStyle) );
- }
}
} /* namespace vcl */