summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-02-12 15:31:44 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-02-12 15:31:44 +0000
commitd29e46bc91a44ac33828873dfce358eb825587b4 (patch)
tree5ffefbc6cdc577722fa82a68153023e390ce459d /goodies
parent7f34c0d698a2f7bdae6eef4af6747b66cc941b2e (diff)
INTEGRATION: CWS aw054 (1.15.34); FILE MERGED
2007/11/05 19:24:06 aw 1.15.34.1: #i82966# fallback to default renderer instead of returning NULL
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/base3d/base3d.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/goodies/source/base3d/base3d.cxx b/goodies/source/base3d/base3d.cxx
index 8521cb296121..80601b6e879e 100644
--- a/goodies/source/base3d/base3d.cxx
+++ b/goodies/source/base3d/base3d.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: base3d.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 22:28:16 $
+ * last change: $Author: vg $ $Date: 2008-02-12 16:31:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -353,6 +353,8 @@ Base3D* Base3D::Create(OutputDevice* pOutDev, BOOL bForcePrinter)
if(bForcePrinter)
{
DBG_ERROR("Base3D::Create(): Printer renderer not supported ATM, if needed migrate from old goodies lib.");
+ // #i82966# fallback to default renderer instead of returning NULL
+ pRetval = new Base3DDefault(pOutDev);
//pRetval = new Base3DPrinter(pOutDev);
}
else if(bOwnDevice)