summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@edx.srv.br>2013-11-20 06:40:17 -0200
committerCaolán McNamara <caolanm@redhat.com>2013-11-20 04:27:45 -0600
commit19956d09e0e97aa7357edf14fef2b79c2af11dc1 (patch)
tree7cc611d587ee0011da0447399c1eade6ba749f6f /svtools
parent7b069f4bc8138e03abf455998452dd0f6f8ed9ac (diff)
Convert chart axis scale tab page to widget UI.
Obs: -Several widget positioning methods turned useless and were deleted -Corner case related to axis origin untested (couldn't find where it is used) Change-Id: I6a563c89ddcfbff62494ce7726f3e7d6089e6b57 Reviewed-on: https://gerrit.libreoffice.org/6730 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/fmtfield.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 233ff2ef000b..551da379cb60 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -23,6 +23,7 @@
#include <comphelper/string.hxx>
#include <unotools/localedatawrapper.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/builder.hxx>
#include <svl/zformat.hxx>
#include <svtools/fmtfield.hxx>
#include <i18nlangtag/languagetag.hxx>
@@ -343,6 +344,11 @@ FormattedField::FormattedField(Window* pParent, const ResId& rResId, SvNumberFor
m_nFormatKey = nFormatKey;
}
}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFormattedField(Window *pParent, VclBuilder::stringmap &)
+{
+ WinBits nWinBits = WB_BORDER;
+ return new FormattedField(pParent, nWinBits);
+}
FormattedField::~FormattedField()
{