[Libreoffice] EasyHack RTL_CONSTASCII_USTRINGPARAM in sc

2010-11-02 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ Joost diff --git a/sc/source/ui/vba/vbaassistant.cxx b/sc/source/ui/vba/vbaassistant.cxx index 43ab458..b52a165 100644 --- a/sc/source/ui/vba/vbaassistant.cxx +++ b/sc/source/ui/vba/vbaassistant.cxx @@ -38,12 +38,12 @@ using namespace ooo::vba; using namespace ooo::vb

[Libreoffice] EasyHack RTL_CONSTASCII_USTRINGPARAM in sc

2010-11-01 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ What must be done with empty strings ("")? I did only the replacement with the macro: - sFileExtension = sFirstFilter.equalsAscii("*.*") ? *::rtl::OUString::**createFromAscii("") *: sFirstFilter.copy( sFirstFilter.indexOfAsciiL("*.", 2) + 2 ); - aPathStr = sFileExte

[Libreoffice] EasyHack RTL_CONSTASCII_USTRINGPARAM in sc

2010-10-31 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ Joost diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx index a7eb582..b7716e7 100644 --- a/sc/source/ui/attrdlg/attrdlg.cxx +++ b/sc/source/ui/attrdlg/attrdlg.cxx @@ -72,7 +72,7 @@ ScAttrDlg::ScAttrDlg( SfxViewFrame* pFrameP, #if LAYO