summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 5e0a295201..f3e7b789a0 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -69,7 +69,6 @@
#include <com/sun/star/ucb/TransferInfo.hpp>
#include <com/sun/star/ucb/XCommandProcessor.hpp>
#include <com/sun/star/ucb/XContent.hpp>
-#include <com/sun/star/ucb/XContentCreator.hpp>
#include <com/sun/star/ucb/XContentAccess.hpp>
#include <com/sun/star/ucb/XAnyCompareFactory.hpp>
#include <com/sun/star/ucb/XAnyCompare.hpp>
@@ -130,7 +129,7 @@ using namespace ::ucbhelper;
//#define PARAMETER_OLD_TYPEDETECTION "DeepDetection"
#define SERVICENAME_DOCINFO "com.sun.star.document.DocumentProperties"
#define SERVICENAME_DOCTEMPLATES "com.sun.star.frame.DocumentTemplates"
-#define SERVICENAME_DESKTOP "com.sun.star.frame.Desktop"
+#define SERVICENAME_DESKTOP "com.sun.star.frame.Desktop"
//========================================================================
@@ -238,7 +237,7 @@ class SfxDocTemplate_Impl : public SvRefBase
// the following member is intended to prevent clearing of the global data when it is in use
// TODO/LATER: it still does not make the implementation complete thread-safe
- sal_Int32 mnLockCounter;
+ sal_Int32 mnLockCounter;
private:
void Clear();
@@ -247,12 +246,12 @@ public:
SfxDocTemplate_Impl();
~SfxDocTemplate_Impl();
- void IncrementLock();
- void DecrementLock();
+ void IncrementLock();
+ void DecrementLock();
sal_Bool Construct( );
void CreateFromHierarchy( Content &rTemplRoot );
- void ReInitFromComponent();
+ void ReInitFromComponent();
void AddRegion( const OUString& rTitle,
Content& rContent );