Kaydet (Commit) 91075528 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

we need to create the default styles in the interface right now

We should fix this but it needs some work in the import code.

Change-Id: If9ce52f6aa2b30faf832a89f39abef4b853a5ec1
üst bf8279d8
......@@ -21,6 +21,7 @@
#define INCLUDED_SC_INC_STLPOOL_HXX
#include <svl/style.hxx>
#include "scdllapi.h"
class ScStyleSheet;
class ScDocument;
......@@ -42,7 +43,7 @@ public:
SfxStyleSheetBase* GetActualStyleSheet ()
{ return pActualStyleSheet; }
void CreateStandardStyles();
void SC_DLLPUBLIC CreateStandardStyles();
void CopyStdStylesFrom( ScStyleSheetPool* pSrcPool );
void CopyStyleFrom( ScStyleSheetPool* pSrcPool,
......
......@@ -481,6 +481,7 @@ size_t ScOrcusSharedStrings::commit_segments()
ScOrcusStyles::ScOrcusStyles(ScDocument& rDoc):
mrDoc(rDoc)
{
mrDoc.GetStyleSheetPool()->CreateStandardStyles();
}
ScOrcusStyles::font::font():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment