[Libreoffice-commits] core.git: basic/source

Mark Wielaard mark at klomp.org
Fri May 31 00:16:12 PDT 2013


 basic/source/classes/propacc.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 287d483edb0359aa52238e75750f61a75f532436
Author: Mark Wielaard <mark at klomp.org>
Date:   Fri May 31 00:06:28 2013 +0200

    propacc.cxx include limits.h for USHRT_MAX.
    
    Don't depend on accidental definition depending on the version of boost used.
    
    Change-Id: Ib26afdde895411bdf827e1af21e490b59ef7f2d5
    Reviewed-on: https://gerrit.libreoffice.org/4111
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index 67cd65a..c5ca85e 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -23,6 +23,8 @@
 #include <basic/sbstar.hxx>
 #include <sbunoobj.hxx>
 
+#include <limits.h> // USHRT_MAX
+
 using com::sun::star::uno::Reference;
 using namespace com::sun::star;
 using namespace com::sun::star::uno;


More information about the Libreoffice-commits mailing list