summaryrefslogtreecommitdiff
path: root/sc/inc/validat.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-11-11 18:19:21 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-11 20:12:31 +0100
commit06ca3d89f4b9761f1bfea66a93f0fc7e0bab71a6 (patch)
tree1c977402e7b76e9662b9e44b4881f517a4b18018 /sc/inc/validat.hxx
parentbe73c64d11fd330f76b08fc75354164aba3ecc88 (diff)
Drop ScGlobal::GetEmptyOUString() and EMPTY_OUSTRING
OUString default ctor already uses a static instance (through rtl_uString_new), no need to have another module-specific static. Commit d8037ae18a297229d1b79f8f76331abfd548350d had removed its sw counterpart some time ago. Change-Id: I140fe13bc1f6b0cbe188e83e602fdebe995e467a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125061 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/inc/validat.hxx')
-rw-r--r--sc/inc/validat.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx
index 44b41dd065df..b0709dc0da14 100644
--- a/sc/inc/validat.hxx
+++ b/sc/inc/validat.hxx
@@ -84,7 +84,7 @@ public:
ScValidationData( ScValidationMode eMode, ScConditionMode eOper,
const OUString& rExpr1, const OUString& rExpr2,
ScDocument& rDocument, const ScAddress& rPos,
- const OUString& rExprNmsp1 = EMPTY_OUSTRING, const OUString& rExprNmsp2 = EMPTY_OUSTRING,
+ const OUString& rExprNmsp1 = OUString(), const OUString& rExprNmsp2 = OUString(),
formula::FormulaGrammar::Grammar eGrammar1 = formula::FormulaGrammar::GRAM_DEFAULT,
formula::FormulaGrammar::Grammar eGrammar2 = formula::FormulaGrammar::GRAM_DEFAULT );
ScValidationData( ScValidationMode eMode, ScConditionMode eOper,