[Libreoffice-commits] core.git: 2 commits - canvas/workben svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 19 07:40:52 UTC 2019
canvas/workben/canvasdemo.cxx | 2 +-
svx/source/gallery2/galtheme.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit d5019f7cacfcb7f2becdf1fadc2015be70f751c9
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 18 11:15:01 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jul 19 09:40:26 2019 +0200
cid#1448484 Unchecked return value
Change-Id: I4e06228665c90820e88c72bfe4e462af9a0074e9
Reviewed-on: https://gerrit.libreoffice.org/75897
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 5875abd76bbd..62b84c6a05e0 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -932,8 +932,8 @@ bool GalleryTheme::InsertModel(const FmFormModel& rModel, sal_uInt32 nInsertPos)
{
uno::Reference< io::XOutputStream > xDocOut( new utl::OOutputStreamWrapper( aMemStm ) );
- if( xDocOut.is() )
- SvxDrawingLayerExport( pFormModel, xDocOut );
+ if (xDocOut.is())
+ (void)SvxDrawingLayerExport( pFormModel, xDocOut );
}
aMemStm.Seek( 0 );
commit 7864ab4ec3a164f299a71dcf6298213e4e4d46f6
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 18 11:25:56 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jul 19 09:40:10 2019 +0200
cid#1448246 Result is not floating-point
Change-Id: I96fb06ffec6f8196dfa01ff13d45c1f618e671fc
Reviewed-on: https://gerrit.libreoffice.org/75905
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index 23df7d4c437c..788d76e3dfcf 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -131,7 +131,7 @@ class DemoRenderer
void drawGrid()
{
- double d, dIncr = maSize.Width() / 3;
+ long d, dIncr = maSize.Width() / 3;
for ( d = 0; d <= maSize.Width(); d += dIncr )
mxCanvas->drawLine( geometry::RealPoint2D( d, 0 ),
geometry::RealPoint2D( d, maSize.Height() ),
More information about the Libreoffice-commits
mailing list