summaryrefslogtreecommitdiff
path: root/canvas/source/factory
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-02 11:46:34 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-02 11:46:34 +0000
commitc88e51de5f51cee96bbabc741b49ad936247f332 (patch)
tree8708f046cf8d8da107917e99d132fa1cd9dcecba /canvas/source/factory
parente92b2bbbc0acbc120452ec6b3b2c1c3507fd640e (diff)
INTEGRATION: CWS canvas02 (1.5.4); FILE MERGED
2005/10/08 12:42:32 thb 1.5.4.2: RESYNC: (1.5-1.6); FILE MERGED 2005/09/29 09:51:36 mbu 1.5.4.1: added glcanvas to canvas factory
Diffstat (limited to 'canvas/source/factory')
-rw-r--r--canvas/source/factory/cf_service.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index ca2d75d13db2..0c25d3dc9e13 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cf_service.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 23:06:49 $
+ * last change: $Author: kz $ $Date: 2005-11-02 12:46:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -172,10 +172,12 @@ CanvasFactory::CanvasFactory(
// append the usual preferred ones:
sal_Int32 pos = m_services.getLength();
#if defined WNT
- m_services.realloc( pos + 3 );
+ m_services.realloc( pos + 4 );
m_services[ pos++ ] = OUSTR("com.sun.star.rendering.DXCanvas");
+ m_services[ pos++ ] = OUSTR("com.sun.star.rendering.GLCanvas");
#else
- m_services.realloc( pos + 2 );
+ m_services.realloc( pos + 3 );
+ m_services[ pos++ ] = OUSTR("com.sun.star.rendering.GLCanvas");
#endif
m_services[ pos++ ] = OUSTR("com.sun.star.rendering.JavaCanvas");
m_services[ pos ] = OUSTR("com.sun.star.rendering.VCLCanvas");