summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/swdialmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/swdialmgr.cxx')
-rw-r--r--sw/source/ui/dialog/swdialmgr.cxx54
1 files changed, 54 insertions, 0 deletions
diff --git a/sw/source/ui/dialog/swdialmgr.cxx b/sw/source/ui/dialog/swdialmgr.cxx
new file mode 100644
index 000000000000..308411358efa
--- /dev/null
+++ b/sw/source/ui/dialog/swdialmgr.cxx
@@ -0,0 +1,54 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+// MARKER(update_precomp.py): autogen include statement, do not remove
+#include "precompiled_sw.hxx"
+
+#ifdef SW_DLLIMPLEMENTATION
+#undef SW_DLLIMPLEMENTATION
+#endif
+
+// include ---------------------------------------------------------------
+
+#include "dialmgr.hxx"
+#include "tools/string.hxx"
+#include <sfx2/app.hxx>
+
+//copy from core\bastyp\swtypes.cxx
+String aEmptyStr; // Konstante Strings
+
+ResMgr* pSwResMgr=0;
+
+ResMgr* SwDialogsResMgr::GetResMgr()
+{
+ if ( !pSwResMgr )
+ {
+ pSwResMgr = SfxApplication::CreateResManager( "sw" );
+ }
+
+ return pSwResMgr;
+}
15161'>fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin 2014-11-07fdo#84938: replace MOUSE_ modifier constants with enumNoel Grandin 2014-10-23Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky 2014-10-23Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky 2014-10-23Fraction: Revert "coverity#1247617 there is nothing to do if width is 0"Jan Holesovsky 2014-10-20loplugin: cstylecastNoel Grandin 2014-10-17coverity#1247617 there is nothing to do if width is 0David Tardon 2014-10-16fdo#84854 it seems long is not enough on 32 bitDavid Tardon 2014-10-09fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca 2014-09-23fdo#82577: Handle WindowNoel Grandin 2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann 2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin 2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin 2014-06-22Avoid possible memory leaks in case of exceptionsTakeshi Abe 2014-05-06Move headers included only in svx itself from include/svx to svx/incTor Lillqvist