summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-06-15 11:46:06 +0200
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-06-15 11:46:06 +0200
commit25849517d7ced8de4bab80bd7191045bb6dcc56b (patch)
treed9a76b78009fb2145ce1be15b3fbbe4bf11ab068 /vcl
parent87055f74bc238bc3c54d839e7e1319a871a3f8e7 (diff)
ooo30gsl01: #i112407# fix xinerama screen vector (thanks cmc!)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/source/app/saldisp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/source/app/saldisp.cxx b/vcl/unx/source/app/saldisp.cxx
index aa2afab93657..7a314e2a394e 100644
--- a/vcl/unx/source/app/saldisp.cxx
+++ b/vcl/unx/source/app/saldisp.cxx
@@ -2638,7 +2638,7 @@ void SalDisplay::InitXinerama()
if( result > 0 && nFramebuffers > 1 )
{
m_bXinerama = true;
- m_aXineramaScreens = std::vector<Rectangle>( nFramebuffers );
+ m_aXineramaScreens = std::vector<Rectangle>();
for( int i = 0; i < nFramebuffers; i++ )
addXineramaScreenUnique( pFramebuffers[i].x,
pFramebuffers[i].y,