extensions/source/scanner/grid.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
New commits: commit 81f7aa81bc3a1ab1741a05883ce70ec4849c19e9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jun 11 18:05:24 2014 +0200 Resurrect SaneResId in the place where it is still used Change-Id: I20f751f6b9fdf683566544aed4ca2ad877abc253 diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 20ec794..c3f02d3 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -30,7 +30,15 @@ #include <algorithm> #include <boost/scoped_array.hpp> -ResId SaneResId( sal_uInt32 ); +namespace { + +ResId SaneResId( sal_uInt32 nID ) +{ + static ResMgr* pResMgr = ResMgr::CreateResMgr( "scn" ); + return ResId( nID, *pResMgr ); +} + +} /*********************************************************************** * _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits