summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-01-14 11:30:26 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-01-14 11:35:39 +0100
commitfcc8db1d2be9a25f79cbcc14043b495d240bb8bf (patch)
treec688682aa3f5d875db7b5cd26ba86bcb7a0ab766 /sd
parentSome cppcheck cleaning (diff)
downloadcore-fcc8db1d2be9a25f79cbcc14043b495d240bb8bf.tar.gz
core-fcc8db1d2be9a25f79cbcc14043b495d240bb8bf.zip
fix for gcc 4.7: unable to find string literal operator
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 9759364eb66b..4811289b2647 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1377,7 +1377,7 @@ bool PowerPointExport::WriteComments( sal_uInt32 nPageNum )
void PowerPointExport::ImplWriteSlide( sal_uInt32 nPageNum, sal_uInt32 nMasterNum, sal_uInt16 /* nMode */,
sal_Bool bHasBackground, Reference< XPropertySet > aXBackgroundPropSet )
{
- DBG(printf("write slide: %"SAL_PRIuUINT32"\n----------------\n", nPageNum));
+ DBG(printf("write slide: %" SAL_PRIuUINT32 "\n----------------\n", nPageNum));
// slides list
if( nPageNum == 0 )
@@ -1466,7 +1466,7 @@ void PowerPointExport::ImplWriteNotes( sal_uInt32 nPageNum )
if( !mbCreateNotes || !ContainsOtherShapeThanPlaceholders( sal_True ) )
return;
- DBG(printf("write Notes %"SAL_PRIuUINT32"\n----------------\n", nPageNum));
+ DBG(printf("write Notes %" SAL_PRIuUINT32 "\n----------------\n", nPageNum));
FSHelperPtr pFS = openFragmentStreamWithSerializer( OUStringBuffer()
.appendAscii( "ppt/notesSlides/notesSlide" )
@@ -1575,7 +1575,7 @@ void PowerPointExport::WriteTextStyles( FSHelperPtr pFS )
void PowerPointExport::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPropertySet > aXBackgroundPropSet )
{
- DBG(printf("write slide master: %"SAL_PRIuUINT32"\n----------------\n", nPageNum));
+ DBG(printf("write slide master: %" SAL_PRIuUINT32 "\n----------------\n", nPageNum));
// slides list
if( nPageNum == 0 )
@@ -1669,7 +1669,7 @@ void PowerPointExport::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPr
sal_Int32 PowerPointExport::GetLayoutFileId( sal_Int32 nOffset, sal_uInt32 nMasterNum )
{
- DBG(printf("GetLayoutFileId offset: %"SAL_PRIdINT32" master: %"SAL_PRIuUINT32"", nOffset, nMasterNum));
+ DBG(printf("GetLayoutFileId offset: %" SAL_PRIdINT32 " master: %" SAL_PRIuUINT32 "", nOffset, nMasterNum));
if( mLayoutInfo[ nOffset ].mnFileIdArray.size() <= nMasterNum )
return 0;
@@ -1684,7 +1684,7 @@ void PowerPointExport::ImplWriteLayout( sal_Int32 /*nOffset*/, sal_uInt32 /*nMas
void PowerPointExport::ImplWritePPTXLayout( sal_Int32 nOffset, sal_uInt32 nMasterNum )
{
- DBG(printf("write layout: %"SAL_PRIdINT32"\n", nOffset));
+ DBG(printf("write layout: %" SAL_PRIdINT32 "\n", nOffset));
Reference< drawing::XDrawPagesSupplier > xDPS( getModel(), uno::UNO_QUERY );
Reference< drawing::XDrawPages > xDrawPages( xDPS->getDrawPages(), uno::UNO_QUERY );
@@ -2272,7 +2272,7 @@ void dump_pset(Reference< XPropertySet > rXPropSet)
if( value >>= strValue )
printf ("\"%s\"\n", USS( strValue ) );
else if( value >>= intValue )
- printf ("%"SAL_PRIdINT32" (hex: %"SAL_PRIxUINT32")\n", intValue, intValue);
+ printf ("%" SAL_PRIdINT32 " (hex: %" SAL_PRIxUINT32 ")\n", intValue, intValue);
else if( value >>= boolValue )
printf ("%d (bool)\n", boolValue);
else if( value >>= pointValue )