[Libreoffice-commits] .: 4 commits - officecfg/registry svx/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Oct 13 04:01:32 PDT 2010
officecfg/registry/data/org/openoffice/Office/DataAccess.xcu | 8 +++
officecfg/registry/data/org/openoffice/Office/Writer.xcu | 26 +++++++++++
svx/source/gallery2/gallery1.cxx | 2
svx/source/xoutdev/_xpoly.cxx | 13 ++---
4 files changed, 40 insertions(+), 9 deletions(-)
New commits:
commit 86423ced17e0444f63e6a8bd5ef779717b11a7ee
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 13 11:57:54 2010 +0100
#i113061# dubious self-assign
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index b7595b9..63a1002 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -627,7 +627,7 @@ BOOL Gallery::CreateTheme( const String& rThemeName, UINT32 nNumFrom )
if( !HasTheme( rThemeName ) && ( GetUserURL().GetProtocol() != INET_PROT_NOT_VALID ) )
{
- nLastFileNumber=nNumFrom > nLastFileNumber ? nNumFrom : ++nLastFileNumber;
+ nLastFileNumber = nNumFrom > nLastFileNumber ? nNumFrom : nLastFileNumber + 1;
GalleryThemeEntry* pNewEntry = new GalleryThemeEntry( GetUserURL(), rThemeName,
nLastFileNumber,
FALSE, FALSE, TRUE, 0, FALSE );
commit 3132c4a6ad2bdffa0a5149e3140ff1f1427edc3e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 13 11:46:21 2010 +0100
WaE, silence && || warning
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index c84ca62..0fb2aba 100644
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -1444,17 +1444,14 @@ void XPolygon::Rotate20()
long nPntCnt = pImpXPolygon->nPoints;
long nIndex0 = 0;
- for (long nPoints = 1;
- nPoints < nPntCnt;
- nPoints ++)
+ for (long nPoints = 1; nPoints < nPntCnt; ++nPoints)
{
- Point &rPnt = pImpXPolygon->pPointAry[nPoints];
+ const Point &rPnt = pImpXPolygon->pPointAry[nPoints];
- if ((rPnt.X () < fMinX) || (fMinX == rPnt.X ()) &&
- (fMinY >= rPnt.Y ()))
+ if ( (rPnt.X() < fMinX) || (fMinX == rPnt.X() && fMinY >= rPnt.Y()) )
{
- fMinX = rPnt.X ();
- fMinY = rPnt.Y ();
+ fMinX = rPnt.X();
+ fMinY = rPnt.Y();
nIndex0 = nPoints;
}
}
commit 72ed8fbf6ac16bac1baf67dd4b804cb55eda8012
Author: Michael Meeks <michael.meeks at novell.com>
Date: Wed Oct 13 10:40:42 2010 +0100
Register evo address book
diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
index 613b995..4e70af0 100644
--- a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
@@ -153,6 +153,14 @@
</node>
</node>
<node oor:name="RegisteredNames">
+ <node oor:name="EvolutionLocal" oor:op="replace">
+ <prop oor:name="Location" oor:type="xs:string">
+ <value>$(userurl)/database/evolocal.odb</value>
+ </prop>
+ <prop oor:name="Name" oor:type="xs:string">
+ <value>EvolutionLocal</value>
+ </prop>
+ </node>
<node oor:name="org.openoffice.Bibliography" oor:op="replace">
<prop oor:name="Location" oor:type="xs:string">
<value>$(userurl)/database/biblio.odb</value>
commit bbe4961e7fcc6f6ad1afa50ad5fb97017829a788
Author: Michael Meeks <michael.meeks at novell.com>
Date: Wed Oct 13 10:37:40 2010 +0100
merge evo address book mapping in
diff --git a/officecfg/registry/data/org/openoffice/Office/Writer.xcu b/officecfg/registry/data/org/openoffice/Office/Writer.xcu
index 8add2a0..bae36af 100644
--- a/officecfg/registry/data/org/openoffice/Office/Writer.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Writer.xcu
@@ -40,6 +40,32 @@
<prop oor:name="IsHideEmptyParagraphs" >
<value>true</value>
</prop>
+ <node oor:name="DataSource">
+ <prop oor:name="DataSourceName" oor:type="xs:string">
+ <value>EvolutionLocal</value>
+ </prop>
+ <prop oor:name="DataTableName" oor:type="xs:string">
+ <value>Personal</value>
+ </prop>
+ </node>
+ <node oor:name="AddressDataAssignments">
+ <node oor:name="_0" oor:op="replace">
+ <prop oor:name="DBColumnAssignments" oor:type="oor:string-list">
+ <value oor:separator=",">title,full_name,family_name,org,addr_line1,addr_line2,city,state,zip,country,home_phone,business_phone,email_1,</value>
+ </prop>
+ <node oor:name="DataSource">
+ <prop oor:name="DataCommandType" oor:type="xs:short">
+ <value>0</value>
+ </prop>
+ <prop oor:name="DataSourceName" oor:type="xs:string">
+ <value>EvolutionLocal</value>
+ </prop>
+ <prop oor:name="DataTableName" oor:type="xs:string">
+ <value>Personal</value>
+ </prop>
+ </node>
+ </node>
+ </node>
<prop oor:name="EMailSupported">
<value>true</value>
</prop>
More information about the Libreoffice-commits
mailing list