[Libreoffice-commits] online.git: loleaflet/src loolwsd/ChildSession.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Fri Aug 26 12:47:10 UTC 2016
loleaflet/src/control/Control.Menubar.js | 12 ++++++------
loolwsd/ChildSession.cpp | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 960e0521bc839b04bed87a7765b19aba0437ad96
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Wed Aug 24 18:22:32 2016 -0400
Formatting
Change-Id: Iad77e0f69cdb186da35cf3b2d1c0e9020df31870
Reviewed-on: https://gerrit.libreoffice.org/28407
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index e2113b7..3cd011e 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -11,9 +11,9 @@ L.Control.Menubar = L.Control.extend({
{name: _('Print'), id: 'print', type: 'action'},
{name: _('See revision history'), id: 'rev-history', type: 'action'},
{name: _('Download as'), type: 'menu', menu: [{name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'},
- {name: _('ODF text document (.odt)'), id: 'downloadas-odt', type: 'action'},
- {name: _('Microsoft Word 2003 (.doc)'), id: 'downloadas-doc', type: 'action'},
- {name: _('Microsoft Word (.docx)'), id: 'downloadas-docx', type: 'action'}]}]
+ {name: _('ODF text document (.odt)'), id: 'downloadas-odt', type: 'action'},
+ {name: _('Microsoft Word 2003 (.doc)'), id: 'downloadas-doc', type: 'action'},
+ {name: _('Microsoft Word (.docx)'), id: 'downloadas-docx', type: 'action'}]}]
},
{name: _('Edit'), type: 'menu', menu: [{name: _('Undo'), type: 'unocommand', uno: '.uno:Undo'},
{name: _('Redo'), type: 'unocommand', uno: '.uno:Redo'},
@@ -57,9 +57,9 @@ L.Control.Menubar = L.Control.extend({
{name: _('Print'), id: 'print', type: 'action'},
{name: _('See revision history'), id: 'rev-history', type: 'action'},
{name: _('Download as'), type: 'menu', menu: [{name: _('PDF Document (.pdf)'), id: 'downloadas-pdf', type: 'action'},
- {name: _('ODF presentation (.odp)'), id: 'downloadas-odp', type: 'action'},
- {name: _('Microsoft Powerpoint 2003 (.ppt)'), id: 'downloadas-ppt', type: 'action'},
- {name: _('Microsoft Powerpoint (.pptx)'), id: 'downloadas-pptx', type: 'action'}]}]
+ {name: _('ODF presentation (.odp)'), id: 'downloadas-odp', type: 'action'},
+ {name: _('Microsoft Powerpoint 2003 (.ppt)'), id: 'downloadas-ppt', type: 'action'},
+ {name: _('Microsoft Powerpoint (.pptx)'), id: 'downloadas-pptx', type: 'action'}]}]
},
{name: _('Edit'), type: 'menu', menu: [{name: _('Undo'), type: 'unocommand', uno: '.uno:Undo'},
{name: _('Redo'), type: 'unocommand', uno: '.uno:Redo'},
diff --git a/loolwsd/ChildSession.cpp b/loolwsd/ChildSession.cpp
index 4f0d91e..c186887 100644
--- a/loolwsd/ChildSession.cpp
+++ b/loolwsd/ChildSession.cpp
@@ -725,8 +725,8 @@ bool ChildSession::unoCommand(const char* /*buffer*/, int /*length*/, StringToke
else
{
_loKitDocument->postUnoCommand(tokens[1].c_str(),
- Poco::cat(std::string(" "), tokens.begin() + 2, tokens.end()).c_str(),
- bNotify);
+ Poco::cat(std::string(" "), tokens.begin() + 2, tokens.end()).c_str(),
+ bNotify);
}
return true;
More information about the Libreoffice-commits
mailing list