[Libreoffice-commits] .: writerfilter/source

Noel Power noelp at kemper.freedesktop.org
Wed Feb 23 06:47:57 PST 2011


 writerfilter/source/dmapper/FormControlHelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 380ad35864c450f5d4df6cc29d5d512a24de11da
Author: Noel Power <noel.power at novell.com>
Date:   Wed Feb 23 14:46:02 2011 +0000

    use the ODF_FORMCHECKBOX define instead of yet another const char*

diff --git a/writerfilter/source/dmapper/FormControlHelper.cxx b/writerfilter/source/dmapper/FormControlHelper.cxx
index 0bf02b7..e7b296b 100644
--- a/writerfilter/source/dmapper/FormControlHelper.cxx
+++ b/writerfilter/source/dmapper/FormControlHelper.cxx
@@ -166,7 +166,7 @@ bool FormControlHelper::createCheckbox(uno::Reference<text::XTextRange> xTextRan
 
     uno::Reference<uno::XInterface> xInterface = 
         xServiceFactory->createInstance
-        (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.CheckBox")));
+        (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ODF_FORMCHECKBOX)));
          
     if (!xInterface.is())
         return false;


More information about the Libreoffice-commits mailing list