[Libreoffice-commits] core.git: include/vcl vcl/source
Stephan Bergmann
sbergman at redhat.com
Mon May 6 05:19:31 PDT 2013
include/vcl/builder.hxx | 11 ++---------
vcl/source/window/builder.cxx | 2 +-
2 files changed, 3 insertions(+), 10 deletions(-)
New commits:
commit 3def5194ddaf9c4d766b71527874bd1a973b43e5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 6 14:17:42 2013 +0200
Revert "Blind fix for MSVC"
9041dac37f912a6f183be9f6b6558f1ef44280c0. The correct fix was
f4227c822c7f5a4e1e1b3b4e096cb63cf710a3f1 "Blind fix for MSVC, take two."
Change-Id: I6c319a0f7a1d3dbcffbd4be8ac02682e5fdd7802
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index 51d3efc..bb63cf2 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -31,24 +31,17 @@ class DateField;
class TimeField;
class VclMultiLineEdit;
-namespace vcl { namespace detail {
-
-class SAL_DLLPUBLIC_TEMPLATE ModuleMap:
- public boost::ptr_map<OUString, osl::Module>
-{};
-
-} }
-
class VCL_DLLPUBLIC VclBuilder: private boost::noncopyable
{
public:
typedef std::map<OString, OString> stringmap;
typedef Window* (*customMakeWidget)(Window *pParent, stringmap &rVec);
private:
+ typedef boost::ptr_map<OUString, osl::Module> ModuleMap;
//We store these until the builder is deleted, that way we can use the
//ui-previewer on custom widgets and guarantee the modules they are from
//exist for the duration of the dialog
- vcl::detail::ModuleMap m_aModuleMap;
+ ModuleMap m_aModuleMap;
//If the toplevel window has any properties which need to be set on it,
//but the toplevel is the owner of the builder, then its ctor
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index c3e0a7f..fe8d4ba 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1223,7 +1223,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
OUString sFunction(OStringToOUString(OString("make") + name.copy(nDelim+1), RTL_TEXTENCODING_UTF8));
#ifndef DISABLE_DYNLOADING
OUString sModule = sModuleBuf.makeStringAndClear();
- vcl::detail::ModuleMap::iterator aI = m_aModuleMap.find(sModule);
+ ModuleMap::iterator aI = m_aModuleMap.find(sModule);
osl::Module* pModule = NULL;
if (aI == m_aModuleMap.end())
{
More information about the Libreoffice-commits
mailing list