[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 3 12:09:31 UTC 2019
vcl/source/fontsubset/cff.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit b1541d16d51db3e4131cc5f9e758667470727534
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Dec 3 09:41:54 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Dec 3 13:08:09 2019 +0100
Use namespaces instead of structs
Change-Id: I82e49d666376c31f3a8e407aedd05cfaee2f2bde
Reviewed-on: https://gerrit.libreoffice.org/84301
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index b4ae6809085b..2db45ab57701 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -163,7 +163,7 @@ static const char* pDictEscs[] = {
namespace {
-struct TYPE1OP
+namespace TYPE1OP
{
enum OPS
{
@@ -180,9 +180,9 @@ struct TYPE1OP
SBW=7, ABS=9, ADD=10, SUB=11,
DIV=12, CALLOTHERSUBR=16, POP=17, SETCURRENTPOINT=33
};
-};
+}
-struct TYPE2OP
+namespace TYPE2OP
{
enum OPS
{
@@ -204,7 +204,7 @@ struct TYPE2OP
DUP=27, EXCH=28, INDEX=29, ROLL=30,
HFLEX=34, FLEX=35, HFLEX1=36, FLEX1=37
};
-};
+}
struct CffGlobal
{
More information about the Libreoffice-commits
mailing list