summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-01-23 15:40:46 +0100
committerMichael Stahl <mstahl@redhat.com>2015-01-23 15:50:28 +0100
commit9964b4087924777d2bd585a5d6ce5c088ef65b65 (patch)
tree2de4c6af498fdc9fe90433f9c1c1269f8b5e11c2 /xmloff
parent4c752c44f8a0857c4f2dbd61aff6b2d10cf3b5e5 (diff)
fix 64-bit build after OUStringBuffer change
Change-Id: I6c5295110292ae48ff0cb3472e4dbea287645d2a
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/fonthdl.cxx2
-rw-r--r--xmloff/source/style/xmlnumfe.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/fonthdl.cxx b/xmloff/source/style/fonthdl.cxx
index 5421f36a4696..a5aa39b826e5 100644
--- a/xmloff/source/style/fonthdl.cxx
+++ b/xmloff/source/style/fonthdl.cxx
@@ -117,7 +117,7 @@ bool XMLFontFamilyNamePropHdl::exportXML( OUString& rStrExpValue, const uno::Any
if( rValue >>= aStrFamilyName )
{
- OUStringBuffer sValue( aStrFamilyName.getLength() + 2L );
+ OUStringBuffer sValue( aStrFamilyName.getLength() + 2 );
sal_Int32 nPos = 0;
do
{
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index f848293832a2..af92a11d154f 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -305,7 +305,7 @@ SvXMLNumFmtExport::~SvXMLNumFmtExport()
static OUString lcl_CreateStyleName( sal_Int32 nKey, sal_Int32 nPart, bool bDefPart, const OUString& rPrefix )
{
- OUStringBuffer aFmtName( 10L );
+ OUStringBuffer aFmtName(10);
aFmtName.append( rPrefix );
aFmtName.append( nKey );
if (!bDefPart)
@@ -724,7 +724,7 @@ void SvXMLNumFmtExport::WriteMapElement_Impl( sal_Int32 nOp, double fLimit,
{
// style namespace
- OUStringBuffer aCondStr( 20L );
+ OUStringBuffer aCondStr(20);
aCondStr.appendAscii( "value()" ); //! define constant
switch ( nOp )
{