summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorChristian Lippka ORACLE <christian.lippka@oracle.com>2011-03-10 14:21:52 +0100
committerChristian Lippka ORACLE <christian.lippka@oracle.com>2011-03-10 14:21:52 +0100
commit3a5fb547e14c0dcb5f7a71cb8c3650182cb31c91 (patch)
tree59bb0631ea6e88cf0991a3b8f4947358db4744f1 /sd
parentd30085b1ee435059d01a3d8d947803ebd91041c2 (diff)
impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
Diffstat (limited to 'sd')
-rwxr-xr-xsd/source/ui/docshell/docshel4.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index f1e77526d7e3..47e8f62c6468 100755
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -298,6 +298,7 @@ sal_Bool DrawDocShell::InitNew( const ::com::sun::star::uno::Reference< ::com::s
if (bRet)
{
+ mpDoc->SetDrawingLayerPoolDefaults();
if( !mbSdDataObj )
mpDoc->NewOrLoadCompleted(NEW_DOC); // otherwise calling
// NewOrLoadCompleted(NEW_LOADED) in