[PATCH] Change in core[libreoffice-4-0]: Fix for rtfexport subsequenttest

2013-01-04 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1545

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/45/1545/1

Fix for rtfexport subsequenttest

was re-using previous data buffer in later write to file
fixes segfault in rtfexport subsequenttest
should correct WMF image garbling, rtf breakage

Change-Id: I9a296da5cfd29dc88c8e3e1352a6e9b38aeba4ef
---
M sw/source/filter/ww8/rtfattributeoutput.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx 
b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 36d1cea..9a65c42 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -3347,7 +3347,7 @@
 OSL_FAIL(failed to export the graphic);
 aWmfStream.Seek(STREAM_SEEK_TO_END);
 nSize = aWmfStream.Tell();
-pGraphicAry = (sal_uInt8*)aStream.GetData();
+pGraphicAry = (sal_uInt8*)aWmfStream.GetData();
 m_aRunText-append(ExportPICT( pFlyFrmFmt, aSize, aRendered, aMapped, rCr, 
pBLIPType, pGraphicAry, nSize, m_rExport ));
 m_aRunText-append(}); // nonshppict
 }

-- 
To view, visit https://gerrit.libreoffice.org/1545
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a296da5cfd29dc88c8e3e1352a6e9b38aeba4ef
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Change in core[libreoffice-4-0]: Minimal fix fdo#58766 Macro Recorder opt not saved

2013-01-03 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1540

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/40/1540/1

Minimal fix fdo#58766 Macro Recorder opt not saved

Load of the last Misc. config item is skipped due to
its index  == # of strings in array in GetPropertyNames.
Omission in middle drops last item -
loop never gets to the Enable Macro Recorder option.

Change-Id: Ic405387248071ac2f5b47601eb1364bf0d7ea5d6
---
M svtools/source/config/miscopt.cxx
1 file changed, 5 insertions(+), 5 deletions(-)



diff --git a/svtools/source/config/miscopt.cxx 
b/svtools/source/config/miscopt.cxx
index c3666d0..547fae6 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -56,15 +56,15 @@
 #define PROPERTYNAME_USESYSTEMPRINTDIALOG   ASCII_STR(UseSystemPrintDialog)
 #define PROPERTYHANDLE_USESYSTEMPRINTDIALOG 5
 #define PROPERTYNAME_SHOWLINKWARNINGDIALOG  ASCII_STR(ShowLinkWarningDialog)
-#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 7
+#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 6
 #define PROPERTYNAME_DISABLEUICUSTOMIZATION ASCII_STR(DisableUICustomization)
-#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION   8
+#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION   7
 #define PROPERTYNAME_ALWAYSALLOWSAVEASCII_STR(AlwaysAllowSave)
-#define PROPERTYHANDLE_ALWAYSALLOWSAVE  9
+#define PROPERTYHANDLE_ALWAYSALLOWSAVE  8
 #define PROPERTYNAME_EXPERIMENTALMODE   ASCII_STR(ExperimentalMode)
-#define PROPERTYHANDLE_EXPERIMENTALMODE 10
+#define PROPERTYHANDLE_EXPERIMENTALMODE 9
 #define PROPERTYNAME_MACRORECORDERMODE   ASCII_STR(MacroRecorderMode)
-#define PROPERTYHANDLE_MACRORECORDERMODE11
+#define PROPERTYHANDLE_MACRORECORDERMODE10
 
 #define VCL_TOOLBOX_STYLE_FLAT  ((sal_uInt16)0x0004) // from 
vcl/toolbox.hxx
 

-- 
To view, visit https://gerrit.libreoffice.org/1540
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic405387248071ac2f5b47601eb1364bf0d7ea5d6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Paren fix for Ubu 10.04 build (and fdo#58417 ?)

2013-01-02 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1531

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/31/1531/1

Paren fix for Ubu 10.04 build (and fdo#58417 ?)

The form: OuterCtor( InnerCtor(array[i]).method() )
with explicit ctor(s), unused optional arg on ctor+method
-- error 'parameter can not have variably modified type'
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1).
Min fix: force precedence/associativity in type resolution.
fdo#58417 BTs inside 1 of these ctor calls.

Change-Id: I4d8b979df0fc827758b1e9a336031671425486ea
---
M linguistic/source/lngsvcmgr.cxx
1 file changed, 7 insertions(+), 7 deletions(-)



diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 4f68407..a8e9763 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -744,7 +744,7 @@
 const OUString *pNodeName = aNodeNames.getConstArray();
 for (i = 0;  i  nNodeNames;  ++i)
 {
-Locale aLocale( LanguageTag( pNodeName[i]).getLocale() );
+Locale aLocale( (LanguageTag(pNodeName[i])).getLocale() );
 Sequence OUString  aCfgSvcs( getConfiguredServices( aService, 
aLocale ));
 Sequence OUString  aAvailSvcs( getAvailableServices( aService, 
aLocale ));
 
@@ -763,7 +763,7 @@
 const Locale *pAvailLocale = aAvailLocales.getConstArray();
 for (i = 0;  i  nAvailLocales;  ++i)
 {
-OUString aCfgLocaleStr( LanguageTag( pAvailLocale[i] ).getBcp47() 
);
+OUString aCfgLocaleStr( (LanguageTag(pAvailLocale[i])).getBcp47() 
);
 
 Sequence OUString  aAvailSvcs( getAvailableServices( aService, 
pAvailLocale[i] ));
 
@@ -863,7 +863,7 @@
 if (0 == rName.compareTo( aSpellCheckerList, 
aSpellCheckerList.getLength() ))
 {
 // delete old cached data, needs to be acquired new on demand
-   clearSvcInfoArray(pAvailSpellSvcs);
+clearSvcInfoArray(pAvailSpellSvcs);
 
 OUString aNode( aSpellCheckerList );
 if (lcl_SeqHasString( aSpellCheckerListEntries, aKeyText ))
@@ -888,7 +888,7 @@
 else if (0 == rName.compareTo( aGrammarCheckerList, 
aGrammarCheckerList.getLength() ))
 {
 // delete old cached data, needs to be acquired new on demand
-   clearSvcInfoArray(pAvailGrammarSvcs);
+clearSvcInfoArray(pAvailGrammarSvcs);
 
 OUString aNode( aGrammarCheckerList );
 if (lcl_SeqHasString( aGrammarCheckerListEntries, aKeyText ))
@@ -916,7 +916,7 @@
 else if (0 == rName.compareTo( aHyphenatorList, 
aHyphenatorList.getLength() ))
 {
 // delete old cached data, needs to be acquired new on demand
-   clearSvcInfoArray(pAvailHyphSvcs);
+clearSvcInfoArray(pAvailHyphSvcs);
 
 OUString aNode( aHyphenatorList );
 if (lcl_SeqHasString( aHyphenatorListEntries, aKeyText ))
@@ -941,7 +941,7 @@
 else if (0 == rName.compareTo( aThesaurusList, 
aThesaurusList.getLength() ))
 {
 // delete old cached data, needs to be acquired new on demand
-   clearSvcInfoArray(pAvailThesSvcs);
+clearSvcInfoArray(pAvailThesSvcs);
 
 OUString aNode( aThesaurusList );
 if (lcl_SeqHasString( aThesaurusListEntries, aKeyText ))
@@ -1840,7 +1840,7 @@
 aCfgAny = aSvcImplNames;
 DBG_ASSERT( aCfgAny.hasValue(), missing value for 'Any' type );
 
-OUString aCfgLocaleStr( LanguageTag( pLocale[i] ).getBcp47() );
+OUString aCfgLocaleStr( (LanguageTag(pLocale[i])).getBcp47() );
 pValue-Value = aCfgAny;
 pValue-Name  = aNodeName;
 pValue-Name += OUString::valueOf( (sal_Unicode) '/' );

-- 
To view, visit https://gerrit.libreoffice.org/1531
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d8b979df0fc827758b1e9a336031671425486ea
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Minimal fix fdo#58766 Macro Recorder opt not saved

2012-12-31 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1523

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/23/1523/1

Minimal fix fdo#58766 Macro Recorder opt not saved

Load of the last Misc. config item is skipped due to
its index  == # of strings in array in GetPropertyNames.
Omission in middle drops last item -
never gets to the Enable Macro Recorder option.

Change-Id: If99e0aa89e82ffc362f5e4bda712881a546e510a
---
M svtools/source/config/miscopt.cxx
1 file changed, 12 insertions(+), 11 deletions(-)



diff --git a/svtools/source/config/miscopt.cxx 
b/svtools/source/config/miscopt.cxx
index c3666d0..d79ad29 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -43,28 +43,29 @@
 #define ASCII_STR(s)OUString( 
RTL_CONSTASCII_USTRINGPARAM(s) )
 #define ROOTNODE_MISC   ASCII_STR(Office.Common/Misc)
 
+// PROPERTYHANDLE defines must be sequential from zero for Commit/Load
 #define PROPERTYNAME_PLUGINSENABLED ASCII_STR(PluginsEnabled)
-#define PROPERTYHANDLE_PLUGINSENABLED   0
+#define PROPERTYHANDLE_PLUGINSENABLED   0
 #define PROPERTYNAME_SYMBOLSET  ASCII_STR(SymbolSet)
-#define PROPERTYHANDLE_SYMBOLSET1
+#define PROPERTYHANDLE_SYMBOLSET1
 #define PROPERTYNAME_TOOLBOXSTYLE   ASCII_STR(ToolboxStyle)
-#define PROPERTYHANDLE_TOOLBOXSTYLE 2
+#define PROPERTYHANDLE_TOOLBOXSTYLE 2
 #define PROPERTYNAME_USESYSTEMFILEDIALOGASCII_STR(UseSystemFileDialog)
-#define PROPERTYHANDLE_USESYSTEMFILEDIALOG  3
+#define PROPERTYHANDLE_USESYSTEMFILEDIALOG  3
 #define PROPERTYNAME_SYMBOLSTYLEASCII_STR(SymbolStyle)
-#define PROPERTYHANDLE_SYMBOLSTYLE  4
+#define PROPERTYHANDLE_SYMBOLSTYLE  4
 #define PROPERTYNAME_USESYSTEMPRINTDIALOG   ASCII_STR(UseSystemPrintDialog)
-#define PROPERTYHANDLE_USESYSTEMPRINTDIALOG 5
+#define PROPERTYHANDLE_USESYSTEMPRINTDIALOG 5
 #define PROPERTYNAME_SHOWLINKWARNINGDIALOG  ASCII_STR(ShowLinkWarningDialog)
-#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 7
+#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG6
 #define PROPERTYNAME_DISABLEUICUSTOMIZATION ASCII_STR(DisableUICustomization)
-#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION   8
+#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION   7
 #define PROPERTYNAME_ALWAYSALLOWSAVEASCII_STR(AlwaysAllowSave)
-#define PROPERTYHANDLE_ALWAYSALLOWSAVE  9
+#define PROPERTYHANDLE_ALWAYSALLOWSAVE  8
 #define PROPERTYNAME_EXPERIMENTALMODE   ASCII_STR(ExperimentalMode)
-#define PROPERTYHANDLE_EXPERIMENTALMODE 10
+#define PROPERTYHANDLE_EXPERIMENTALMODE 9
 #define PROPERTYNAME_MACRORECORDERMODE   ASCII_STR(MacroRecorderMode)
-#define PROPERTYHANDLE_MACRORECORDERMODE11
+#define PROPERTYHANDLE_MACRORECORDERMODE10
 
 #define VCL_TOOLBOX_STYLE_FLAT  ((sal_uInt16)0x0004) // from 
vcl/toolbox.hxx
 

-- 
To view, visit https://gerrit.libreoffice.org/1523
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If99e0aa89e82ffc362f5e4bda712881a546e510a
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


(incomplete) Cleanup OUString etc. in desktop

2012-12-30 Thread LeMoyne Castle (via Code Review)
LeMoyne Castle has abandoned this change.

Change subject: (incomplete) Cleanup OUString etc. in desktop
..


Patch Set 2: Abandoned

Did local git reset --hard and stranded this commit. 
Core mistake was hacking in local master instead of 
hacking in a local branch and preserving master for finished work that is ready 
to submit.

-- 
To view, visit https://gerrit.libreoffice.org/1505
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ied5c42b23b61cb14a9e790b58cb452618486a5f3
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Simple fix for fdo#58766

2012-12-30 Thread LeMoyne Castle (via Code Review)
LeMoyne Castle has abandoned this change.

Change subject: Simple fix for fdo#58766
..


Patch Set 2: Abandoned

Did local git reset --hard and stranded this commit. 
Core mistake was hacking in local master instead of 
hacking in a local branch and preserving master for finished work that is ready 
to submit.

-- 
To view, visit https://gerrit.libreoffice.org/1506
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I85dbb808db8f04c1c0eac6ed85ef412306a446f3
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Cleanup OUString, macros, includes, etc in desktop

2012-12-29 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1505

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/05/1505/1

Cleanup OUString, macros, includes, etc in desktop

Removed OUString macros, excess namespace stuff, unused includes
Cleaned up OUString usage

Change-Id: Ied5c42b23b61cb14a9e790b58cb452618486a5f3
---
M desktop/source/app/configinit.cxx
1 file changed, 5 insertions(+), 18 deletions(-)



diff --git a/desktop/source/app/configinit.cxx 
b/desktop/source/app/configinit.cxx
index 8c46728..25791df 100644
--- a/desktop/source/app/configinit.cxx
+++ b/desktop/source/app/configinit.cxx
@@ -24,27 +24,13 @@
 #include comphelper/processfactory.hxx
 #include uno/current_context.hxx
 #include cppuhelper/implbase1.hxx
-#include rtl/ustrbuf.hxx
-#include osl/diagnose.h
-#include stdio.h
+#include rtl/ustring.hxx
 #include com/sun/star/task/InteractionHandler.hpp
 
 // 
 
-namespace uno   = ::com::sun::star::uno;
-namespace lang  = ::com::sun::star::lang;
-using rtl::OUString;
-using uno::UNO_QUERY;
+using namespace ::com::sun::star;
 
-// 
-
-// must be aligned with configmgr/source/misc/configinteractionhandler
-static char const CONFIG_ERROR_HANDLER[] = configuration.interaction-handler;
-// 
-
-#define OUSTRING( constascii ) OUString( RTL_CONSTASCII_USTRINGPARAM( 
constascii ) )
-
-#define k_ERRORHANDLER OUSTRING( CONFIGURATION_ERROR_HANDLER )
 
 // 
 // ConfigurationErrorHandler
@@ -113,7 +99,8 @@
 uno::Any SAL_CALL ConfigurationErrorHandler::Context::getValueByName( OUString 
const  aName)
 throw (uno::RuntimeException)
 {
-if ( aName == CONFIG_ERROR_HANDLER )
+// must be aligned with configmgr/source/misc/configinteractionhandler
+if ( aName == configuration.interaction-handler )
 {
 if ( !m_xHandler.is() )
 m_xHandler = 
ConfigurationErrorHandler::getDefaultInteractionHandler();
@@ -156,7 +143,7 @@
 ConfigurationErrorHandler::InteractionHandler 
ConfigurationErrorHandler::getDefaultInteractionHandler()
 {
 uno::Reference uno::XComponentContext  xContext = 
::comphelper::getProcessComponentContext();
-InteractionHandler xHandler( 
com::sun::star::task::InteractionHandler::createWithParent(xContext, 0), 
UNO_QUERY );
+InteractionHandler xHandler( 
com::sun::star::task::InteractionHandler::createWithParent(xContext, 0), 
uno::UNO_QUERY );
 return xHandler;
 }
 
//--

-- 
To view, visit https://gerrit.libreoffice.org/1505
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ied5c42b23b61cb14a9e790b58cb452618486a5f3
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Simple fix for fdo#58766

2012-12-29 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1506

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/06/1506/1

Simple fix for fdo#58766

Load (and thereby Commit) of the last misc. config item
in the define block was broken by the hole in the number sequence
that effectively dropped off the last item,
which just happened to be the Macro Recorder option.

Change-Id: I85dbb808db8f04c1c0eac6ed85ef412306a446f3
---
M svtools/source/config/miscopt.cxx
1 file changed, 114 insertions(+), 127 deletions(-)



diff --git a/svtools/source/config/miscopt.cxx 
b/svtools/source/config/miscopt.cxx
index c3666d0..f2405a0 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -34,39 +34,37 @@
 
 #include list
 
-using namespace ::utl   ;
-using namespace ::rtl   ;
-using namespace ::osl   ;
-using namespace ::com::sun::star::uno   ;
+using namespace ::utl;
+using namespace ::rtl;
+using namespace ::osl;
+using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star;
 
-#define ASCII_STR(s)OUString( 
RTL_CONSTASCII_USTRINGPARAM(s) )
-#define ROOTNODE_MISC   ASCII_STR(Office.Common/Misc)
+#define ROOTNODE_MISC Office.Common/Misc
 
-#define PROPERTYNAME_PLUGINSENABLED ASCII_STR(PluginsEnabled)
-#define PROPERTYHANDLE_PLUGINSENABLED   0
-#define PROPERTYNAME_SYMBOLSET  ASCII_STR(SymbolSet)
+#define PROPERTYNAME_PLUGINSENABLED PluginsEnabled
+#define PROPERTYHANDLE_PLUGINSENABLED  0
+#define PROPERTYNAME_SYMBOLSET  SymbolSet
 #define PROPERTYHANDLE_SYMBOLSET1
-#define PROPERTYNAME_TOOLBOXSTYLE   ASCII_STR(ToolboxStyle)
+#define PROPERTYNAME_TOOLBOXSTYLE   ToolboxStyle
 #define PROPERTYHANDLE_TOOLBOXSTYLE 2
-#define PROPERTYNAME_USESYSTEMFILEDIALOGASCII_STR(UseSystemFileDialog)
+#define PROPERTYNAME_USESYSTEMFILEDIALOGUseSystemFileDialog
 #define PROPERTYHANDLE_USESYSTEMFILEDIALOG  3
-#define PROPERTYNAME_SYMBOLSTYLEASCII_STR(SymbolStyle)
+#define PROPERTYNAME_SYMBOLSTYLESymbolStyle
 #define PROPERTYHANDLE_SYMBOLSTYLE  4
-#define PROPERTYNAME_USESYSTEMPRINTDIALOG   ASCII_STR(UseSystemPrintDialog)
+#define PROPERTYNAME_USESYSTEMPRINTDIALOG   UseSystemPrintDialog
 #define PROPERTYHANDLE_USESYSTEMPRINTDIALOG 5
-#define PROPERTYNAME_SHOWLINKWARNINGDIALOG  ASCII_STR(ShowLinkWarningDialog)
-#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 7
-#define PROPERTYNAME_DISABLEUICUSTOMIZATION ASCII_STR(DisableUICustomization)
-#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION   8
-#define PROPERTYNAME_ALWAYSALLOWSAVEASCII_STR(AlwaysAllowSave)
-#define PROPERTYHANDLE_ALWAYSALLOWSAVE  9
-#define PROPERTYNAME_EXPERIMENTALMODE   ASCII_STR(ExperimentalMode)
-#define PROPERTYHANDLE_EXPERIMENTALMODE 10
-#define PROPERTYNAME_MACRORECORDERMODE   ASCII_STR(MacroRecorderMode)
-#define PROPERTYHANDLE_MACRORECORDERMODE11
+#define PROPERTYNAME_SHOWLINKWARNINGDIALOG  ShowLinkWarningDialog
+#define PROPERTYHANDLE_SHOWLINKWARNINGDIALOG 6
+#define PROPERTYNAME_DISABLEUICUSTOMIZATION  DisableUICustomization
+#define PROPERTYHANDLE_DISABLEUICUSTOMIZATION   7
+#define PROPERTYNAME_ALWAYSALLOWSAVEAlwaysAllowSave
+#define PROPERTYHANDLE_ALWAYSALLOWSAVE  8
+#define PROPERTYNAME_EXPERIMENTALMODE   ExperimentalMode
+#define PROPERTYHANDLE_EXPERIMENTALMODE 9
+#define PROPERTYNAME_MACRORECORDERMODE  MacroRecorderMode
+#define PROPERTYHANDLE_MACRORECORDERMODE10
 
-#define VCL_TOOLBOX_STYLE_FLAT  ((sal_uInt16)0x0004) // from 
vcl/toolbox.hxx
 
 class SvtMiscOptions_Impl : public ConfigItem
 {
@@ -96,15 +94,15 @@
 ~SvtMiscOptions_Impl();
 
 
/*-//**
-@short  called for notify of configmanager
-@descr  These method is called from the ConfigManager before 
application ends or from the
+@shortcalled for notify of configmanager
+@descrThese method is called from the ConfigManager before 
application ends or from the
  PropertyChangeListener if the sub tree broadcasts 
changes. You must update your
 internal values.
 
 @seealsobaseclass ConfigItem
 
-@param  seqPropertyNames is the list of properties which 
should be updated.
-@return -
+@paramseqPropertyNames is the list of properties which 
should be updated.
+@return  -
 
 @onerror-
 
*//*-*/
@@ -118,14 +116,14 @@
 void Load( const Sequence OUString  rPropertyNames );
 
 

[PATCH] Fix for rtfexport subsequenttest

2012-12-21 Thread LeMoyne Castle (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1464

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/64/1464/1

Fix for rtfexport subsequenttest

was re-using previous data buffer in later write to file
fixes crash in subsequenttest
should correct some image garbling in rtfs

Change-Id: I922d04b621a85997611f537fe1f1ca9460676056
---
M sw/source/filter/ww8/rtfattributeoutput.cxx
1 file changed, 1 insertion(+), 1 deletion(-)


--
To view, visit https://gerrit.libreoffice.org/1464
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I922d04b621a85997611f537fe1f1ca9460676056
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: LeMoyne Castle lemoyne.cas...@gmail.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice