Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Inkscape
inkscape
Commits
0c32575a
Commit
0c32575a
authored
Oct 02, 2018
by
Patrick Storz
🦄
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove C++11 language elements
see
ad484e4c
and
840d975a
parent
3d36f0d7
Pipeline
#31727273
passed with stages
in 10 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/io/inkscapestream.cpp
src/io/inkscapestream.cpp
+1
-1
src/ui/interface.cpp
src/ui/interface.cpp
+1
-1
No files found.
src/io/inkscapestream.cpp
View file @
0c32575a
...
...
@@ -501,7 +501,7 @@ Writer &BasicWriter::writeChar(char ch)
*/
Writer
&
BasicWriter
::
writeUString
(
Glib
::
ustring
&
str
)
{
for
(
a
u
to
it
=
str
.
begin
();
it
!=
str
.
end
();
it
++
)
{
for
(
Glib
::
ustring
::
iter
ato
r
it
=
str
.
begin
();
it
!=
str
.
end
();
it
++
)
{
put
(
*
it
);
}
return
*
this
;
...
...
src/ui/interface.cpp
View file @
0c32575a
...
...
@@ -325,7 +325,7 @@ sp_ui_close_view(GtkWidget */*widget*/)
INKSCAPE
.
get_all_desktops
(
desktops
);
if
(
desktops
.
size
()
==
1
)
{
Glib
::
ustring
templateUri
=
sp_file_default_template_uri
();
SPDocument
*
doc
=
SPDocument
::
createNewDoc
(
templateUri
.
empty
()
?
nullptr
:
templateUri
.
c_str
(),
TRUE
,
true
);
SPDocument
*
doc
=
SPDocument
::
createNewDoc
(
templateUri
.
empty
()
?
NULL
:
templateUri
.
c_str
(),
TRUE
,
true
);
// Set viewBox if it doesn't exist
if
(
!
doc
->
getRoot
()
->
viewBox_set
)
{
doc
->
setViewBox
(
Geom
::
Rect
::
from_xywh
(
0
,
0
,
doc
->
getWidth
().
value
(
doc
->
getDisplayUnit
()),
doc
->
getHeight
().
value
(
doc
->
getDisplayUnit
())));
...
...
Patrick Storz
🦄
@ede123
mentioned in commit
ad484e4c
·
Oct 01, 2018
mentioned in commit
ad484e4c
mentioned in commit ad484e4c56bddb0eda2e182cbdf69641c29db3f8
Toggle commit list
Patrick Storz
🦄
@ede123
mentioned in commit
840d975a
·
Oct 01, 2018
mentioned in commit
840d975a
mentioned in commit 840d975a39364c80b6238451390c727696f33eec
Toggle commit list
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