Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
46ddcff0
Commit
46ddcff0
authored
Jan 24, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
a044b262
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
ASCOfficeDocFile/DocDocxConverter/PropertiesMapping.cpp
ASCOfficeDocFile/DocDocxConverter/PropertiesMapping.cpp
+1
-1
ASCOfficeDocFile/DocDocxConverter/PropertiesMapping.h
ASCOfficeDocFile/DocDocxConverter/PropertiesMapping.h
+1
-1
ASCOfficeDocFile/DocDocxConverter/StyleSheetMapping.cpp
ASCOfficeDocFile/DocDocxConverter/StyleSheetMapping.cpp
+1
-1
ASCOfficeDocFile/DocDocxConverter/StyleSheetMapping.h
ASCOfficeDocFile/DocDocxConverter/StyleSheetMapping.h
+1
-1
OfficeUtils/src/ASCOfficeCriticalSection.h
OfficeUtils/src/ASCOfficeCriticalSection.h
+3
-3
OfficeUtils/src/CSLocker.h
OfficeUtils/src/CSLocker.h
+2
-2
No files found.
ASCOfficeDocFile/DocDocxConverter/PropertiesMapping.cpp
View file @
46ddcff0
...
...
@@ -35,7 +35,7 @@
namespace
DocFileFormat
{
std
::
map
<
unsigned
char
,
std
::
wstring
>
PropertiesMapping
::
brcTypeMap
;
ASC
OfficeCriticalSection
PropertiesMapping
::
brcTypeMapLock
;
OfficeCriticalSection
PropertiesMapping
::
brcTypeMapLock
;
void
PropertiesMapping
::
init
()
{
...
...
ASCOfficeDocFile/DocDocxConverter/PropertiesMapping.h
View file @
46ddcff0
...
...
@@ -76,6 +76,6 @@ namespace DocFileFormat
XMLTools
::
CStringXmlWriter
*
m_pXmlWriter
;
static
std
::
map
<
unsigned
char
,
std
::
wstring
>
brcTypeMap
;
static
ASC
OfficeCriticalSection
brcTypeMapLock
;
static
OfficeCriticalSection
brcTypeMapLock
;
};
}
ASCOfficeDocFile/DocDocxConverter/StyleSheetMapping.cpp
View file @
46ddcff0
...
...
@@ -36,7 +36,7 @@
namespace
DocFileFormat
{
std
::
map
<
std
::
wstring
,
std
::
wstring
>
StyleSheetMapping
::
m_mapStyleId
;
ASC
OfficeCriticalSection
StyleSheetMapping
::
m_mapStyleIdLock
;
OfficeCriticalSection
StyleSheetMapping
::
m_mapStyleIdLock
;
StyleSheetMapping
::
StyleSheetMapping
(
ConversionContext
*
ctx
)
:
AbstractOpenXmlMapping
(
new
XMLTools
::
CStringXmlWriter
()
)
{
...
...
ASCOfficeDocFile/DocDocxConverter/StyleSheetMapping.h
View file @
46ddcff0
...
...
@@ -55,7 +55,7 @@ namespace DocFileFormat
/// Generates a style id for custom style names or returns the build-in identifier for build-in styles.
static
std
::
wstring
MakeStyleId
(
StyleSheetDescription
*
std
);
static
std
::
map
<
std
::
wstring
,
std
::
wstring
>
m_mapStyleId
;
static
ASC
OfficeCriticalSection
m_mapStyleIdLock
;
static
OfficeCriticalSection
m_mapStyleIdLock
;
virtual
~
StyleSheetMapping
();
private:
...
...
OfficeUtils/src/ASCOfficeCriticalSection.h
View file @
46ddcff0
...
...
@@ -31,18 +31,18 @@
*/
#pragma once
#include "../../DesktopEditor/graphics/TemporaryCS.h"
class
AVS
OfficeCriticalSection
class
OfficeCriticalSection
{
private:
NSCriticalSection
::
CRITICAL_SECTION
CriticalSection
;
public:
AVS
OfficeCriticalSection
()
OfficeCriticalSection
()
{
CriticalSection
.
InitializeCriticalSection
();
}
~
AVS
OfficeCriticalSection
()
~
OfficeCriticalSection
()
{
CriticalSection
.
DeleteCriticalSection
();
}
...
...
OfficeUtils/src/CSLocker.h
View file @
46ddcff0
...
...
@@ -37,7 +37,7 @@
class
CSLocker
{
public:
CSLocker
(
AVS
OfficeCriticalSection
&
critical_section
)
:
cs
(
critical_section
)
CSLocker
(
OfficeCriticalSection
&
critical_section
)
:
cs
(
critical_section
)
{
cs
.
Enter
();
}
...
...
@@ -48,5 +48,5 @@ public:
}
private:
AVS
OfficeCriticalSection
&
cs
;
OfficeCriticalSection
&
cs
;
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment