Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
poppler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nathanael Noblet
poppler
Commits
f9b6c772
Commit
f9b6c772
authored
Dec 03, 2019
by
Albert Astals Cid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make HtmlMetaVar::toString const
parent
5e3e46ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
utils/HtmlOutputDev.cc
utils/HtmlOutputDev.cc
+2
-2
utils/HtmlOutputDev.h
utils/HtmlOutputDev.h
+1
-1
No files found.
utils/HtmlOutputDev.cc
View file @
f9b6c772
...
...
@@ -1009,7 +1009,7 @@ HtmlMetaVar::~HtmlMetaVar()
delete
content
;
}
GooString
*
HtmlMetaVar
::
toString
()
GooString
*
HtmlMetaVar
::
toString
()
const
{
GooString
*
result
=
new
GooString
(
"<meta name=
\"
"
);
result
->
append
(
name
);
...
...
@@ -1659,7 +1659,7 @@ void HtmlOutputDev::dumpMetaVars(FILE *file)
{
GooString
*
var
;
for
(
HtmlMetaVar
*
t
:
*
glMetaVars
)
for
(
const
HtmlMetaVar
*
t
:
*
glMetaVars
)
{
var
=
t
->
toString
();
fprintf
(
file
,
"%s
\n
"
,
var
->
c_str
());
...
...
utils/HtmlOutputDev.h
View file @
f9b6c772
...
...
@@ -208,7 +208,7 @@ public:
HtmlMetaVar
(
const
HtmlMetaVar
&
)
=
delete
;
HtmlMetaVar
&
operator
=
(
const
HtmlMetaVar
&
)
=
delete
;
GooString
*
toString
();
GooString
*
toString
()
const
;
private:
...
...
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