Fix typos
Change-Id: I1b966b636f67a549718ca19c00c2820e8d168c7a Reviewed-on: https://gerrit.libreoffice.org/56589 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
parent
d77f8eef16
commit
c44668a6c1
@ -166,7 +166,7 @@ embed::VisualRepresentation SAL_CALL OCommonEmbeddedObject::getPreferredVisualRe
|
|||||||
awt::Size aOrigSize = getVisualAreaSize(nAspect);
|
awt::Size aOrigSize = getVisualAreaSize(nAspect);
|
||||||
changeState(embed::EmbedStates::RUNNING);
|
changeState(embed::EmbedStates::RUNNING);
|
||||||
const bool bIsChart = GetDocumentServiceName() == "com.sun.star.chart2.ChartDocument";
|
const bool bIsChart = GetDocumentServiceName() == "com.sun.star.chart2.ChartDocument";
|
||||||
// tdf#108643 unless its a chart, cause those are weird (#i103460#)
|
// tdf#108643 unless it's a chart, cause those are weird (#i103460#)
|
||||||
if (!bIsChart && aOrigSize != getVisualAreaSize(nAspect))
|
if (!bIsChart && aOrigSize != getVisualAreaSize(nAspect))
|
||||||
setVisualAreaSize(nAspect, aOrigSize);
|
setVisualAreaSize(nAspect, aOrigSize);
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ GtkWidget* GtvHelpers::createCommentBox(const boost::property_tree::ptree& aComm
|
|||||||
gchar *id = g_strndup(aComment.get<std::string>("id").c_str(), 20);
|
gchar *id = g_strndup(aComment.get<std::string>("id").c_str(), 20);
|
||||||
g_object_set_data_full(G_OBJECT(pCommentVBox), "id", id, g_free);
|
g_object_set_data_full(G_OBJECT(pCommentVBox), "id", id, g_free);
|
||||||
|
|
||||||
// Set background if its a reply comment
|
// Set background if it's a reply comment
|
||||||
if (aComment.get("parent", -1) > 0)
|
if (aComment.get("parent", -1) > 0)
|
||||||
{
|
{
|
||||||
GtkStyleContext* pStyleContext = gtk_widget_get_style_context(pCommentVBox);
|
GtkStyleContext* pStyleContext = gtk_widget_get_style_context(pCommentVBox);
|
||||||
|
@ -3227,7 +3227,7 @@ static void lok_doc_view_class_init (LOKDocViewClass* pClass)
|
|||||||
* 'action' can be 'Add', 'Remove' or 'Modify' depending on whether
|
* 'action' can be 'Add', 'Remove' or 'Modify' depending on whether
|
||||||
* comment has been added, removed or modified.
|
* comment has been added, removed or modified.
|
||||||
* 'parent' is a non-zero comment id if this comment is a reply comment,
|
* 'parent' is a non-zero comment id if this comment is a reply comment,
|
||||||
* otherwise its a root comment.
|
* otherwise it's a root comment.
|
||||||
*/
|
*/
|
||||||
doc_view_signals[COMMENT] =
|
doc_view_signals[COMMENT] =
|
||||||
g_signal_new("comment",
|
g_signal_new("comment",
|
||||||
|
@ -208,7 +208,7 @@ namespace Translate
|
|||||||
++pId;
|
++pId;
|
||||||
}
|
}
|
||||||
|
|
||||||
//if its a key id locale, generate it here
|
//if it's a key id locale, generate it here
|
||||||
if (std::use_facet<boost::locale::info>(loc).language() == "qtz")
|
if (std::use_facet<boost::locale::info>(loc).language() == "qtz")
|
||||||
{
|
{
|
||||||
OString sKeyId(genKeyId(OString(pContextAndId).replace('\004', '|')));
|
OString sKeyId(genKeyId(OString(pContextAndId).replace('\004', '|')));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user