summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-03-24 03:49:05 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-03-24 03:50:17 +0900
commit4cd8a6fbaa27d045d71c7e4a2728bb9b885b3f5b (patch)
treec31620813c19d87e84247ec88dbbc52cf1938209 /sfx2
parent45c1c853544d5bafbce5ea086c9f06347f763ee5 (diff)
Using a local type as a template argument is a C++11-ism
Change-Id: I1eddd4382f5ebaf9db43cd4351fc02e66b2cc9ad
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objcont.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index 6d927e51a351..11c747d47e50 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -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();