Using a local type as a template argument is a C++11-ism
Change-Id: I1eddd4382f5ebaf9db43cd4351fc02e66b2cc9ad
This commit is contained in:
parent
45c1c85354
commit
4cd8a6fbaa
1 changed files with 6 additions and 6 deletions
|
@ -305,6 +305,12 @@ SfxStyleSheetBasePool* SfxObjectShell::GetStyleSheetPool()
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct Styles_Impl
|
||||
{
|
||||
SfxStyleSheetBase *pSource;
|
||||
SfxStyleSheetBase *pDest;
|
||||
};
|
||||
|
||||
void SfxObjectShell::LoadStyles
|
||||
(
|
||||
SfxObjectShell &rSource /* the document template from which
|
||||
|
@ -321,12 +327,6 @@ void SfxObjectShell::LoadStyles
|
|||
*/
|
||||
|
||||
{
|
||||
struct Styles_Impl
|
||||
{
|
||||
SfxStyleSheetBase *pSource;
|
||||
SfxStyleSheetBase *pDest;
|
||||
};
|
||||
|
||||
SfxStyleSheetBasePool *pSourcePool = rSource.GetStyleSheetPool();
|
||||
DBG_ASSERT(pSourcePool, "Source-DocumentShell ohne StyleSheetPool");
|
||||
SfxStyleSheetBasePool *pMyPool = GetStyleSheetPool();
|
||||
|
|
Loading…
Reference in a new issue