sfx2/source/doc/objcont.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 4cd8a6fbaa27d045d71c7e4a2728bb9b885b3f5b
Author: Takeshi Abe <t...@fixedpoint.jp>
Date:   Mon Mar 24 03:49:05 2014 +0900

    Using a local type as a template argument is a C++11-ism
    
    Change-Id: I1eddd4382f5ebaf9db43cd4351fc02e66b2cc9ad

diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index 6d927e5..11c747d 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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to